diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-08 20:16:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-08 20:16:34 +0000 |
commit | e4a2df64e7997f29444053d0747f09e843e4a4e9 (patch) | |
tree | bc79f746ad3579885b9961accd96ed3858d39053 /gdb/dummy-frame.c | |
parent | d371282841960ac9d816e189dae1bba1e44be15d (diff) | |
download | gdb-e4a2df64e7997f29444053d0747f09e843e4a4e9.zip gdb-e4a2df64e7997f29444053d0747f09e843e4a4e9.tar.gz gdb-e4a2df64e7997f29444053d0747f09e843e4a4e9.tar.bz2 |
2004-05-08 Andrew Cagney <cagney@redhat.com>
* ns32k-tdep.c (ns32k_gdbarch_init): Do not set
deprecated_call_dummy_breakpoint_offset or
deprecated_call_dummy_start_offset.
* dummy-frame.c, arm-tdep.c: Update comments.
* gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
(DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
Index: doc/ChangeLog
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r-- | gdb/dummy-frame.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index d55b3bd..2faac71 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -151,11 +151,7 @@ deprecated_pc_in_call_dummy (CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR fp) FIXME: cagney/2002-11-23: This is silly. Surely "infrun.c" can figure out what the real PC (as in the resume address) is BEFORE - calling this function (Oh, and I'm not even sure that this function - is called with an decremented PC, the call to pc_in_call_dummy() in - that file is conditional on - !DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET_P yet generic dummy - targets set DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET. True?). */ + calling this function. */ static int pc_in_dummy_frame (CORE_ADDR pc) |