2002-11-26 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 27 Nov 2002 01:08:50 +0000 (01:08 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 27 Nov 2002 01:08:50 +0000 (01:08 +0000)
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_at_entry_point.
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_on_stack.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
* config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.

gdb/ChangeLog
gdb/config/h8500/tm-h8500.h
gdb/config/mn10200/tm-mn10200.h
gdb/config/pa/tm-hppa.h
gdb/config/sparc/tm-sp64.h
gdb/config/sparc/tm-sparc.h
gdb/config/z8k/tm-z8k.h

index 8350fef6438bbeda6264eea65b93f65b2a444ea0..7989b6569570860251122dfefab5fbc311461b8a 100644 (file)
@@ -1,3 +1,22 @@
+2002-11-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
+       (USE_GENERIC_DUMMY_FRAMES): Define as zero.
+       (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
+       * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
+       pc_in_call_dummy_at_entry_point.
+       * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
+       (USE_GENERIC_DUMMY_FRAMES): Define as zero.
+       (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
+       * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
+       * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
+       pc_in_call_dummy_on_stack.
+       * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
+       pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
+       * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
+       (USE_GENERIC_DUMMY_FRAMES): Define as zero.
+       (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
+       
 2002-11-26  Andrew Cagney  <ac131313@redhat.com>
 
        * inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
index 8c4ae455efc707070aa06761c59c89475d049a31..3629343c408d34bc6ab6fdbce764ca1f252bf2f5 100644 (file)
 
 #include "regcache.h"
 
+/* NOTE: cagney/2002-11-24: This is a guess.  */
+#define USE_GENERIC_DUMMY_FRAMES 0
+#define CALL_DUMMY_LOCATION ON_STACK
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+
 /* Contributed by Steve Chamberlain sac@cygnus.com */
 
 #define GDB_TARGET_IS_H8500
index 0fe58d818e37e22538fdbadf8561519f8d16b3d3..299472cd1af75f6d53b1911b74df6bd781cc9d1e 100644 (file)
@@ -189,6 +189,7 @@ extern void mn10200_pop_frame (struct frame_info *);
 #define CALL_DUMMY_START_OFFSET      (0)
 #define CALL_DUMMY_BREAKPOINT_OFFSET (0)
 #define CALL_DUMMY_LOCATION          AT_ENTRY_POINT
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
 #define FIX_CALL_DUMMY(DUMMY, START, FUNADDR, NARGS, ARGS, TYPE, GCCP)
 #define CALL_DUMMY_ADDRESS()         entry_point_address ()
 
index 319576d25e1a27076c1df085ee5a83ee9bb31a05..e1faf137ab2eec0d521bc774d545663eea08b648 100644 (file)
 
 #define GDB_MULTI_ARCH 0
 
+/* NOTE: cagney/2002-11-24: This is a guess.  */
+#define USE_GENERIC_DUMMY_FRAMES 0
+#define CALL_DUMMY_LOCATION ON_STACK
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+
 /* Forward declarations of some types we use in prototypes */
 
 struct frame_info;
index 4c07f1fc1baeb700b000994a8e71b268f5a5c450..60b6c707215435f844bc7c80afb70bff73831089 100644 (file)
 #define CALL_DUMMY_BREAKPOINT_OFFSET_P 1
 #undef  CALL_DUMMY_LOCATION 
 #define CALL_DUMMY_LOCATION AT_ENTRY_POINT
+#undef  PC_IN_CALL_DUMMY
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
 #undef  CALL_DUMMY_STACK_ADJUST
 #define CALL_DUMMY_STACK_ADJUST 128
 #undef  SIZEOF_CALL_DUMMY_WORDS
@@ -168,6 +170,8 @@ sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
 /* Call dummy will be located on the stack.  */
 #undef  CALL_DUMMY_LOCATION
 #define CALL_DUMMY_LOCATION ON_STACK
+#undef  PC_IN_CALL_DUMMY
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
 
 /* Insert the function address into the call dummy.  */
 #undef  FIX_CALL_DUMMY
index e130daf77a69725f8ddfd3c4c9628fc5bdc6892c..2a89ad8626d0508d5ab7874be57e273889b584e2 100644 (file)
@@ -657,6 +657,7 @@ extern void sparc_print_extra_frame_info (struct frame_info *);
 /* Call dummy method (eg. on stack, at entry point, etc.) */
 
 #define CALL_DUMMY_LOCATION ON_STACK
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
 
 /* Method for detecting dummy frames.  */
 
index edc5664e7a1ddace8afad60da3565abf99836ea1..6197d6dd36c739b32c0a7a665f749722a0303c51 100644 (file)
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+/* NOTE: cagney/2002-11-24: This is a guess.  */
+#define USE_GENERIC_DUMMY_FRAMES 0
+#define CALL_DUMMY_LOCATION ON_STACK
+#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
+
 #undef TARGET_INT_BIT
 #undef TARGET_LONG_BIT
 #undef TARGET_SHORT_BIT