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.
This commit is contained in:
Andrew Cagney 2004-02-23 00:06:40 +00:00
parent 34313d2c01
commit abf9b42d35
3 changed files with 12 additions and 4 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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. */