2004-02-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 23 Feb 2004 00:06:40 +0000 (00:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 23 Feb 2004 00:06:40 +0000 (00:06 +0000)
* 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
gdb/config/pa/tm-hppa.h
gdb/hppa-tdep.c

index ca1bd66..c994830 100644 (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.
index c097ccc..9924ffa 100644 (file)
 
 #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;
 
index fbc0c53..b561bbe 100644 (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.  */