mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
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.
This commit is contained in:
parent
29e0a0623d
commit
0a05698224
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 *);
|
||||
|
||||
|
@ -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. */
|
||||
@ -6359,9 +6347,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
|
||||
fprintf_unfiltered (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,
|
||||
|
@ -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
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user