This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/commit] Re-fix PC_IN_CALL_DUMMY()
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 27 Nov 2002 15:26:32 -0500
- Subject: [patch/commit] Re-fix PC_IN_CALL_DUMMY()
Ulgh,
Two of my patches crossed mid commit. As a result, old non-multi-arch
targets ended up with an out-of-date definition of PC_IN_CALL_DUMMY.
The attached fixes this. I'll commit as soon as I'm 100% sure things
are building again.
All the modern multi-arch targets were not affected.
sorry,
Andrew
2002-11-27 Andrew Cagney <cagney@redhat.com>
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use
deprecated pc_in_call_dummy function.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto.
* config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto.
* config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
Index: config/h8500/tm-h8500.h
===================================================================
RCS file: /cvs/src/src/gdb/config/h8500/tm-h8500.h,v
retrieving revision 1.16
diff -u -r1.16 tm-h8500.h
--- config/h8500/tm-h8500.h 27 Nov 2002 01:08:49 -0000 1.16
+++ config/h8500/tm-h8500.h 27 Nov 2002 20:15:03 -0000
@@ -25,7 +25,7 @@
/* NOTE: cagney/2002-11-24: This is a guess. */
#define USE_GENERIC_DUMMY_FRAMES 0
#define CALL_DUMMY_LOCATION ON_STACK
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Contributed by Steve Chamberlain sac@cygnus.com */
Index: config/mn10200/tm-mn10200.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mn10200/tm-mn10200.h,v
retrieving revision 1.15
diff -u -r1.15 tm-mn10200.h
--- config/mn10200/tm-mn10200.h 27 Nov 2002 01:08:49 -0000 1.15
+++ config/mn10200/tm-mn10200.h 27 Nov 2002 20:15:03 -0000
@@ -189,7 +189,7 @@
#define CALL_DUMMY_START_OFFSET (0)
#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
#define CALL_DUMMY_LOCATION AT_ENTRY_POINT
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
#define FIX_CALL_DUMMY(DUMMY, START, FUNADDR, NARGS, ARGS, TYPE, GCCP)
#define CALL_DUMMY_ADDRESS() entry_point_address ()
Index: config/pa/tm-hppa.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa.h,v
retrieving revision 1.22
diff -u -r1.22 tm-hppa.h
--- config/pa/tm-hppa.h 27 Nov 2002 01:08:49 -0000 1.22
+++ config/pa/tm-hppa.h 27 Nov 2002 20:15:04 -0000
@@ -29,7 +29,7 @@
/* NOTE: cagney/2002-11-24: This is a guess. */
#define USE_GENERIC_DUMMY_FRAMES 0
#define CALL_DUMMY_LOCATION ON_STACK
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Forward declarations of some types we use in prototypes */
Index: config/sparc/tm-sp64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sp64.h,v
retrieving revision 1.9
diff -u -r1.9 tm-sp64.h
--- config/sparc/tm-sp64.h 27 Nov 2002 01:08:50 -0000 1.9
+++ config/sparc/tm-sp64.h 27 Nov 2002 20:15:04 -0000
@@ -101,7 +101,7 @@
#undef CALL_DUMMY_LOCATION
#define CALL_DUMMY_LOCATION AT_ENTRY_POINT
#undef PC_IN_CALL_DUMMY
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
#undef CALL_DUMMY_STACK_ADJUST
#define CALL_DUMMY_STACK_ADJUST 128
#undef SIZEOF_CALL_DUMMY_WORDS
@@ -171,7 +171,7 @@
#undef CALL_DUMMY_LOCATION
#define CALL_DUMMY_LOCATION ON_STACK
#undef PC_IN_CALL_DUMMY
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Insert the function address into the call dummy. */
#undef FIX_CALL_DUMMY
Index: config/sparc/tm-sparc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v
retrieving revision 1.21
diff -u -r1.21 tm-sparc.h
--- config/sparc/tm-sparc.h 27 Nov 2002 01:08:50 -0000 1.21
+++ config/sparc/tm-sparc.h 27 Nov 2002 20:15:05 -0000
@@ -657,7 +657,7 @@
/* Call dummy method (eg. on stack, at entry point, etc.) */
#define CALL_DUMMY_LOCATION ON_STACK
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Method for detecting dummy frames. */
Index: config/z8k/tm-z8k.h
===================================================================
RCS file: /cvs/src/src/gdb/config/z8k/tm-z8k.h,v
retrieving revision 1.12
diff -u -r1.12 tm-z8k.h
--- config/z8k/tm-z8k.h 27 Nov 2002 01:08:50 -0000 1.12
+++ config/z8k/tm-z8k.h 27 Nov 2002 20:15:05 -0000
@@ -23,7 +23,7 @@
/* NOTE: cagney/2002-11-24: This is a guess. */
#define USE_GENERIC_DUMMY_FRAMES 0
#define CALL_DUMMY_LOCATION ON_STACK
-#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
#undef TARGET_INT_BIT
#undef TARGET_LONG_BIT