aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-23 00:06:40 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-23 00:06:40 +0000
commitabf9b42d35842c7c4248a25da5593723e90bd5db (patch)
tree1a8f6b37f1f3814fcff5213ccfb3e77e5734a016
parent34313d2c01eb39a2fd78aac60b42fa9d05b1d90c (diff)
downloadgdb-abf9b42d35842c7c4248a25da5593723e90bd5db.zip
gdb-abf9b42d35842c7c4248a25da5593723e90bd5db.tar.gz
gdb-abf9b42d35842c7c4248a25da5593723e90bd5db.tar.bz2
2004-02-22 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro. (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro. (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated use_generic_dummy_frames, set deprecated pc_in_call_dummy, set call_dummy_location to ON_STACK.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/config/pa/tm-hppa.h4
-rw-r--r--gdb/hppa-tdep.c3
3 files changed, 12 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ca1bd66..c994830 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2004-02-22 Andrew Cagney <cagney@redhat.com>
+
+ * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
+ (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
+ (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
+ * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
+ use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
+ call_dummy_location to ON_STACK.
+
2004-02-22 Mark Kettenis <kettenis@gnu.org>
* x86-64-linux-tdep.c: Tweak comment.
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index c097ccc..9924ffa 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -31,10 +31,6 @@
#define GDB_MULTI_ARCH 1
-/* NOTE: cagney/2002-11-24: This is a guess. */
-#define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 0
-#define CALL_DUMMY_LOCATION ON_STACK
-#define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Hack, get around problem with including "arch-utils.h". */
struct frame_info;
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index fbc0c53..b561bbe 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -5606,6 +5606,9 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_deprecated_push_dummy_frame (gdbarch, hppa_push_dummy_frame);
/* set_gdbarch_deprecated_fix_call_dummy (gdbarch, hppa_fix_call_dummy); */
set_gdbarch_deprecated_push_arguments (gdbarch, hppa_push_arguments);
+ set_gdbarch_deprecated_use_generic_dummy_frames (gdbarch, 0);
+ set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_on_stack);
+ set_gdbarch_call_dummy_location (gdbarch, ON_STACK);
}
/* Struct return methods. */