aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-27 01:08:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-27 01:08:50 +0000
commite92b0cc9b14f693df6d7e34882d76f62f5c467c8 (patch)
tree8a486bf732925fb14d4b291960585b3a41d402d6 /gdb/config/sparc
parentd80d5cb9b1e0622d6bb510cd2a9af659eade2d95 (diff)
downloadbinutils-e92b0cc9b14f693df6d7e34882d76f62f5c467c8.zip
binutils-e92b0cc9b14f693df6d7e34882d76f62f5c467c8.tar.gz
binutils-e92b0cc9b14f693df6d7e34882d76f62f5c467c8.tar.bz2
2002-11-26 Andrew Cagney <ac131313@redhat.com>
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_at_entry_point. * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack. * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/tm-sp64.h4
-rw-r--r--gdb/config/sparc/tm-sparc.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sp64.h b/gdb/config/sparc/tm-sp64.h
index 4c07f1f..60b6c70 100644
--- a/gdb/config/sparc/tm-sp64.h
+++ b/gdb/config/sparc/tm-sp64.h
@@ -100,6 +100,8 @@
#define CALL_DUMMY_BREAKPOINT_OFFSET_P 1
#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)
#undef CALL_DUMMY_STACK_ADJUST
#define CALL_DUMMY_STACK_ADJUST 128
#undef SIZEOF_CALL_DUMMY_WORDS
@@ -168,6 +170,8 @@ sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
/* Call dummy will be located on the stack. */
#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)
/* Insert the function address into the call dummy. */
#undef FIX_CALL_DUMMY
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index e130daf..2a89ad8 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -657,6 +657,7 @@ extern void sparc_print_extra_frame_info (struct frame_info *);
/* 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)
/* Method for detecting dummy frames. */