* blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.
authorJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:26:52 +0000 (22:26 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:26:52 +0000 (22:26 +0000)
* tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h,
tm-sparc.h:  Accept fromleaf parameter.

gdb/tm-29k.h
gdb/tm-i960.h
gdb/tm-irix3.h
gdb/tm-m88k.h
gdb/tm-mips.h
gdb/tm-pyr.h
gdb/tm-sparc.h

index 5330a23d0a24630f8671b6fffdbf42eae4aae102..3f8bfc3d319eff7f9b6434c1f215e924ae819edb 100644 (file)
@@ -427,7 +427,7 @@ long read_register_stack_integer ();
 /* Because INIT_FRAME_PC gets passed fromleaf, that's where we init
    not only ->pc and ->frame, but all the extra stuff, when called from
    get_prev_frame_info, that is.  */
-#define INIT_EXTRA_FRAME_INFO(fci) \
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) \
   init_extra_frame_info(fci);
 void init_extra_frame_info ();
 #define INIT_FRAME_PC(fromleaf, fci) \
index 8c3116bd1b4adc7d80cf8e9f37bb7889225651f7..1e7fa524e0cb5f838bbc50671d1e21da5f017e7e 100644 (file)
@@ -285,7 +285,8 @@ extern CORE_ADDR saved_pc_after_call ();
    Set the arg_pointer to -1, which is not valid; 0 and other values
    indicate real, cached values.  */
 
-#define INIT_EXTRA_FRAME_INFO(fi) ((fi)->fsr = 0, (fi)->arg_pointer = -1)
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \
+       ((fi)->fsr = 0, (fi)->arg_pointer = -1)
 
 /* On the i960, we get the chain pointer by reading the PFP saved
    on the stack and clearing the status bits.  */
index 63460a3ecebecd2b702d0fb86675574a7a1422c3..d353fa5371cb81d69b7394fc1c4b182ff090f8a8 100644 (file)
@@ -335,4 +335,4 @@ typedef struct mips_extra_func_info {
   int num_args;\
   struct frame_saved_regs *saved_regs;
 
-#define INIT_EXTRA_FRAME_INFO(fci) init_extra_frame_info(fci)
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) init_extra_frame_info(fci)
index 539b34915c15aee587d816f78e5f00a6911e1080..423594da8c6e8594752d7cbaabe18e87a19f637a 100644 (file)
@@ -49,7 +49,7 @@ dc_dcontext_t get_prev_context ();
 extern int stack_error;
 
 #define EXTRA_FRAME_INFO dc_dcontext_t frame_context;
-#define INIT_EXTRA_FRAME_INFO(fci) \
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) \
   {                                                                     \
     if (fci->next_frame != NULL)                                        \
       {                                                                 \
index 7eb7f5523954652acd41bc0b4436d8fdaca2d5a1..edc6aabbc2d803980cc3be1b4a1b7c0375b31550 100644 (file)
@@ -346,4 +346,4 @@ typedef struct mips_extra_func_info {
   int num_args;\
   struct frame_saved_regs *saved_regs;
 
-#define INIT_EXTRA_FRAME_INFO(fci) init_extra_frame_info(fci)
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) init_extra_frame_info(fci)
index 53298536573478264d9f807fe3c7b32fc2d43a34..dbca0b4474563b50057a823c286f6e71112fe741 100644 (file)
@@ -293,7 +293,7 @@ extern unsigned int last_frame_offset;
        CORE_ADDR frame_cfp;    \
        CORE_ADDR frame_window_addr;
 
-#define INIT_EXTRA_FRAME_INFO(fci)  \
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci)  \
 do {                                                           \
   (fci)->frame_window_addr = (fci)->frame;                     \
   (fci)->bottom =                                              \
index 866788be7426c8f93d33920bb8a12b0186ffc313..0f96c385f5310638ab60686647d69f39e3335932 100644 (file)
@@ -339,7 +339,7 @@ CORE_ADDR sparc_extract_struct_value_address (
    Otherwise the bottom of this frame is the top of the next frame.  */
 
 #define EXTRA_FRAME_INFO       FRAME_ADDR bottom;
-#define INIT_EXTRA_FRAME_INFO(fci)  \
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fci)  \
   (fci)->bottom =                                      \
    ((fci)->next ?                                      \
     ((fci)->frame == (fci)->next_frame ?               \