diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-05 16:42:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-05 16:42:35 +0000 |
commit | 338ec6ab2e33819bead4902725ffb824ba58a643 (patch) | |
tree | 16bb3e159ebec6f3d8ee88c6e7229d8bef16ab43 /gdb | |
parent | a2f28ce75a52b1f1876bb4bd0929d40f301edad5 (diff) | |
download | gdb-338ec6ab2e33819bead4902725ffb824ba58a643.tar.gz |
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/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 4 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 2 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 15 | ||||
-rw-r--r-- | gdb/stack.c | 4 |
5 files changed, 14 insertions, 22 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d177db0ecb2..2dc6272a66b 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 51a6a7dbaeb..59aeb5dcc2a 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 94e8d8c9eee..eb022273770 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 40d8cb421d1..19fdc13412e 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 74941f9401d..9dc7d8598de 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 { |