aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-27 22:26:52 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-27 22:26:52 +0000
commita23075bc5a477c09ef9691df016671f0d6c3deb1 (patch)
tree9046bb27e46167ea79bb653031bde72378cd4cbc
parent4137c5fc0d1b24d00ceec0981ea5d9da77477f0e (diff)
downloadgdb-a23075bc5a477c09ef9691df016671f0d6c3deb1.zip
gdb-a23075bc5a477c09ef9691df016671f0d6c3deb1.tar.gz
gdb-a23075bc5a477c09ef9691df016671f0d6c3deb1.tar.bz2
* blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.
* tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, tm-sparc.h: Accept fromleaf parameter.
-rw-r--r--gdb/tm-29k.h2
-rw-r--r--gdb/tm-i960.h3
-rw-r--r--gdb/tm-irix3.h2
-rw-r--r--gdb/tm-m88k.h2
-rw-r--r--gdb/tm-mips.h2
-rw-r--r--gdb/tm-pyr.h2
-rw-r--r--gdb/tm-sparc.h2
7 files changed, 8 insertions, 7 deletions
diff --git a/gdb/tm-29k.h b/gdb/tm-29k.h
index 5330a23..3f8bfc3 100644
--- a/gdb/tm-29k.h
+++ b/gdb/tm-29k.h
@@ -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) \
diff --git a/gdb/tm-i960.h b/gdb/tm-i960.h
index 8c3116b..1e7fa52 100644
--- a/gdb/tm-i960.h
+++ b/gdb/tm-i960.h
@@ -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. */
diff --git a/gdb/tm-irix3.h b/gdb/tm-irix3.h
index 63460a3..d353fa5 100644
--- a/gdb/tm-irix3.h
+++ b/gdb/tm-irix3.h
@@ -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)
diff --git a/gdb/tm-m88k.h b/gdb/tm-m88k.h
index 539b3491..423594d 100644
--- a/gdb/tm-m88k.h
+++ b/gdb/tm-m88k.h
@@ -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) \
{ \
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h
index 7eb7f55..edc6aab 100644
--- a/gdb/tm-mips.h
+++ b/gdb/tm-mips.h
@@ -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)
diff --git a/gdb/tm-pyr.h b/gdb/tm-pyr.h
index 5329853..dbca0b4 100644
--- a/gdb/tm-pyr.h
+++ b/gdb/tm-pyr.h
@@ -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 = \
diff --git a/gdb/tm-sparc.h b/gdb/tm-sparc.h
index 866788b..0f96c38 100644
--- a/gdb/tm-sparc.h
+++ b/gdb/tm-sparc.h
@@ -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 ? \