aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-05 16:42:35 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-05 16:42:35 +0000
commit0a05698224611aed5a88fcbdfabd1fb6b74fcc86 (patch)
treeef4cedf30b341c2808a3772cb6bae49ee3c7b507 /gdb
parent29e0a0623d53e0c91dfd93a364ba01475a72f97f (diff)
downloadgdb-0a05698224611aed5a88fcbdfabd1fb6b74fcc86.zip
gdb-0a05698224611aed5a88fcbdfabd1fb6b74fcc86.tar.gz
gdb-0a05698224611aed5a88fcbdfabd1fb6b74fcc86.tar.bz2
2003-11-05 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_dump_tdep): Do not print PRINT_EXTRA_FRAME_INFO. * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO): Rename PRINT_EXTRA_FRAME_INFO. * mips-tdep.c (mips_print_extra_frame_info): Delete function. * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro. (mips_print_extra_frame_info): Delete declaration. * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog11
-rw-r--r--gdb/config/mips/tm-mips.h4
-rw-r--r--gdb/config/sparc/tm-sparc.h2
-rw-r--r--gdb/mips-tdep.c15
-rw-r--r--gdb/stack.c4
5 files changed, 14 insertions, 22 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d177db0..2dc6272 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,14 @@
+2003-11-05 Andrew Cagney <cagney@redhat.com>
+
+ * mips-tdep.c (mips_dump_tdep): Do not print
+ PRINT_EXTRA_FRAME_INFO.
+ * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO):
+ Rename PRINT_EXTRA_FRAME_INFO.
+ * mips-tdep.c (mips_print_extra_frame_info): Delete function.
+ * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro.
+ (mips_print_extra_frame_info): Delete declaration.
+ * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
+
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* coffread.c (coff_symtab_read): Remove passing of info parameter
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 51a6a7d..59aeb5d 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -130,10 +130,6 @@ typedef struct mips_extra_func_info
}
*mips_extra_func_info_t;
-extern void mips_print_extra_frame_info (struct frame_info *frame);
-#define PRINT_EXTRA_FRAME_INFO(fi) \
- mips_print_extra_frame_info (fi)
-
/* It takes two values to specify a frame on the MIPS.
In fact, the *PC* is the primary value that sets up a frame. The
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 94e8d8c..eb02227 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -204,7 +204,7 @@ extern const unsigned char *sparc_breakpoint_from_pc (CORE_ADDR *pc, int *len);
#define CANNOT_STORE_REGISTER(regno) ((regno) == G0_REGNUM)
-#define PRINT_EXTRA_FRAME_INFO(FI) \
+#define DEPRECATED_PRINT_EXTRA_FRAME_INFO(FI) \
sparc_print_extra_frame_info (FI)
extern void sparc_print_extra_frame_info (struct frame_info *);
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 40d8cb4..19fdc13 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -624,18 +624,6 @@ struct linked_proc_info
}
*linked_proc_desc_table = NULL;
-void
-mips_print_extra_frame_info (struct frame_info *fi)
-{
- if (fi
- && get_frame_extra_info (fi)
- && get_frame_extra_info (fi)->proc_desc
- && get_frame_extra_info (fi)->proc_desc->pdr.framereg < NUM_REGS)
- printf_filtered (" frame pointer is at %s+%s\n",
- REGISTER_NAME (get_frame_extra_info (fi)->proc_desc->pdr.framereg),
- paddr_d (get_frame_extra_info (fi)->proc_desc->pdr.frameoffset));
-}
-
/* Number of bytes of storage in the actual machine representation for
register N. NOTE: This indirectly defines the register size
transfered by the GDB protocol. */
@@ -6360,9 +6348,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
"mips_dump_tdep: PRID_REGNUM = %d\n",
PRID_REGNUM);
fprintf_unfiltered (file,
- "mips_dump_tdep: PRINT_EXTRA_FRAME_INFO # %s\n",
- XSTRING (PRINT_EXTRA_FRAME_INFO (FRAME)));
- fprintf_unfiltered (file,
"mips_dump_tdep: PROC_DESC_IS_DUMMY = function?\n");
fprintf_unfiltered (file,
"mips_dump_tdep: PROC_FRAME_ADJUST = function?\n");
diff --git a/gdb/stack.c b/gdb/stack.c
index 74941f9..9dc7d85 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -968,8 +968,8 @@ frame_info (char *addr_exp, int from_tty)
printf_filtered (" source language %s.\n",
language_str (s->language));
-#ifdef PRINT_EXTRA_FRAME_INFO
- PRINT_EXTRA_FRAME_INFO (fi);
+#ifdef DEPRECATED_PRINT_EXTRA_FRAME_INFO
+ DEPRECATED_PRINT_EXTRA_FRAME_INFO (fi);
#endif
{