[PATCH] Use PT_CFM instead of PT_CR_IFS in IA-64 sources

Kevin Buettner kevinb@cygnus.com
Mon Jun 12 20:27:00 GMT 2000


I've just applied the patch from Bill Nottingham below.  Thanks too
to Hans Boehm who also warned me that PT_CR_IFS was deprecated. 
(Someone else may also have sent me the same patch that Bill sent me. 
If so, I apologize for leaving your name out.)

2000-06-12  Bill Nottingham <notting@redhat.com>

	Patch applied by Kevin Buettner <kevinb@redhat.com>:

	* ia64-linux-nat.c, gdbserver/low-linux.c (u_offsets):  PT_CR_IFS
	is deprecated.  Use PT_CFM instead.

Index: ia64-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-linux-nat.c,v
retrieving revision 1.5
diff -u -p -r1.5 ia64-linux-nat.c
--- ia64-linux-nat.c	2000/05/26 23:22:40	1.5
+++ ia64-linux-nat.c	2000/06/13 03:07:23
@@ -236,7 +236,7 @@ static int u_offsets[] =
     PT_PR,
     PT_CR_IIP,	/* ip */
     PT_CR_IPSR, /* psr */
-    PT_CR_IFS,	/* cfm */
+    PT_CFM,	/* cfm */
     /* kernel registers not visible via ptrace interface (?) */
     -1, -1, -1, -1, -1, -1, -1, -1,
     /* hole */
Index: gdbserver/low-linux.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/low-linux.c,v
retrieving revision 1.2
diff -u -p -r1.2 low-linux.c
--- low-linux.c	2000/03/21 05:23:05	1.2
+++ low-linux.c	2000/06/13 03:07:26
@@ -476,7 +476,7 @@ static int u_offsets[] =
     PT_PR,
     PT_CR_IIP,	/* ip */
     PT_CR_IPSR, /* psr */
-    PT_CR_IFS,	/* cfm */
+    PT_CFM,	/* cfm */
     /* kernel registers not visible via ptrace interface (?) */
     -1, -1, -1, -1, -1, -1, -1, -1,
     /* hole */



More information about the Gdb-patches mailing list