From abf9b42d35842c7c4248a25da5593723e90bd5db Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 23 Feb 2004 00:06:40 +0000 Subject: [PATCH] 2004-02-22 Andrew Cagney * 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. --- gdb/ChangeLog | 9 +++++++++ gdb/config/pa/tm-hppa.h | 4 ---- gdb/hppa-tdep.c | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca1bd6659e9..c994830eb92 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2004-02-22 Andrew Cagney + + * 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 * x86-64-linux-tdep.c: Tweak comment. diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index c097ccc192d..9924ffa9678 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 fbc0c5376bc..b561bbef56c 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. */ -- 2.30.2