From f9f9eacbd36df2c852bf351f61a4408140005459 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 31 Oct 2004 19:25:49 +0000 Subject: [PATCH] 2004-10-31 Andrew Cagney * mips-tdep.c (mips_dump_tdep): Don't print any of the macros. --- gdb/ChangeLog | 2 + gdb/mips-tdep.c | 117 ------------------------------------------------ 2 files changed, 2 insertions(+), 117 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 650bd92eb45..b91fd1a516a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-10-31 Andrew Cagney + * mips-tdep.c (mips_dump_tdep): Don't print any of the macros. + * config/mips/obsd64.mt (DEPRECATED_TM_FILE): Delete. * config/mips/tm-mips.h: Delete file. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 686b8b1c4f3..b7613490768 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -5223,123 +5223,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file) fprintf_unfiltered (file, "mips_dump_tdep: mips_stack_argsize() = %d\n", mips_stack_argsize (current_gdbarch)); - fprintf_unfiltered (file, - "mips_dump_tdep: ADDR_BITS_REMOVE # %s\n", - XSTRING (ADDR_BITS_REMOVE (ADDR))); - fprintf_unfiltered (file, - "mips_dump_tdep: ATTACH_DETACH # %s\n", - XSTRING (ATTACH_DETACH)); - fprintf_unfiltered (file, - "mips_dump_tdep: DWARF_REG_TO_REGNUM # %s\n", - XSTRING (DWARF_REG_TO_REGNUM (REGNUM))); - fprintf_unfiltered (file, - "mips_dump_tdep: ECOFF_REG_TO_REGNUM # %s\n", - XSTRING (ECOFF_REG_TO_REGNUM (REGNUM))); - fprintf_unfiltered (file, - "mips_dump_tdep: DEPRECATED_IGNORE_HELPER_CALL # %s\n", - XSTRING (DEPRECATED_IGNORE_HELPER_CALL (PC))); - fprintf_unfiltered (file, - "mips_dump_tdep: IN_SOLIB_CALL_TRAMPOLINE # %s\n", - XSTRING (IN_SOLIB_CALL_TRAMPOLINE (PC, NAME))); -#ifdef MACHINE_CPROC_FP_OFFSET - fprintf_unfiltered (file, - "mips_dump_tdep: MACHINE_CPROC_FP_OFFSET = %d\n", - MACHINE_CPROC_FP_OFFSET); -#endif -#ifdef MACHINE_CPROC_PC_OFFSET - fprintf_unfiltered (file, - "mips_dump_tdep: MACHINE_CPROC_PC_OFFSET = %d\n", - MACHINE_CPROC_PC_OFFSET); -#endif -#ifdef MACHINE_CPROC_SP_OFFSET - fprintf_unfiltered (file, - "mips_dump_tdep: MACHINE_CPROC_SP_OFFSET = %d\n", - MACHINE_CPROC_SP_OFFSET); -#endif - fprintf_unfiltered (file, "mips_dump_tdep: MIPS_DEFAULT_ABI = FIXME!\n"); - fprintf_unfiltered (file, - "mips_dump_tdep: MIPS_LAST_ARG_REGNUM = %d (%d regs)\n", - MIPS_LAST_ARG_REGNUM, - MIPS_LAST_ARG_REGNUM - MIPS_A0_REGNUM + 1); - fprintf_unfiltered (file, - "mips_dump_tdep: MIPS_NUMREGS = %d\n", MIPS_NUMREGS); - fprintf_unfiltered (file, - "mips_dump_tdep: mips_abi_regsize() = %d\n", - mips_abi_regsize (current_gdbarch)); - fprintf_unfiltered (file, - "mips_dump_tdep: PROC_FRAME_ADJUST = function?\n"); - fprintf_unfiltered (file, - "mips_dump_tdep: PROC_FRAME_OFFSET = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_FRAME_REG = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_FREG_MASK = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_FREG_OFFSET = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_HIGH_ADDR = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_LOW_ADDR = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_PC_REG = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_REG_MASK = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_REG_OFFSET = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PROC_SYMBOL = function?\n"); -#ifdef SAVED_BYTES - fprintf_unfiltered (file, - "mips_dump_tdep: SAVED_BYTES = %d\n", SAVED_BYTES); -#endif -#ifdef SAVED_FP - fprintf_unfiltered (file, "mips_dump_tdep: SAVED_FP = %d\n", SAVED_FP); -#endif -#ifdef SAVED_PC - fprintf_unfiltered (file, "mips_dump_tdep: SAVED_PC = %d\n", SAVED_PC); -#endif - fprintf_unfiltered (file, - "mips_dump_tdep: SETUP_ARBITRARY_FRAME # %s\n", - XSTRING (SETUP_ARBITRARY_FRAME (NUMARGS, ARGS))); - fprintf_unfiltered (file, - "mips_dump_tdep: SOFTWARE_SINGLE_STEP # %s\n", - XSTRING (SOFTWARE_SINGLE_STEP (SIG, BP_P))); - fprintf_unfiltered (file, - "mips_dump_tdep: SOFTWARE_SINGLE_STEP_P () = %d\n", - SOFTWARE_SINGLE_STEP_P ()); - fprintf_unfiltered (file, - "mips_dump_tdep: STAB_REG_TO_REGNUM # %s\n", - XSTRING (STAB_REG_TO_REGNUM (REGNUM))); -#ifdef STACK_END_ADDR - fprintf_unfiltered (file, - "mips_dump_tdep: STACK_END_ADDR = %d\n", - STACK_END_ADDR); -#endif - fprintf_unfiltered (file, - "mips_dump_tdep: STEP_SKIPS_DELAY # %s\n", - XSTRING (STEP_SKIPS_DELAY (PC))); - fprintf_unfiltered (file, - "mips_dump_tdep: STOPPED_BY_WATCHPOINT # %s\n", - XSTRING (STOPPED_BY_WATCHPOINT (WS))); - fprintf_unfiltered (file, - "mips_dump_tdep: TABULAR_REGISTER_OUTPUT = used?\n"); - fprintf_unfiltered (file, - "mips_dump_tdep: TARGET_CAN_USE_HARDWARE_WATCHPOINT # %s\n", - XSTRING (TARGET_CAN_USE_HARDWARE_WATCHPOINT - (TYPE, CNT, OTHERTYPE))); -#ifdef TRACE_CLEAR - fprintf_unfiltered (file, - "mips_dump_tdep: TRACE_CLEAR # %s\n", - XSTRING (TRACE_CLEAR (THREAD, STATE))); -#endif -#ifdef TRACE_FLAVOR - fprintf_unfiltered (file, - "mips_dump_tdep: TRACE_FLAVOR = %d\n", TRACE_FLAVOR); -#endif -#ifdef TRACE_FLAVOR_SIZE - fprintf_unfiltered (file, - "mips_dump_tdep: TRACE_FLAVOR_SIZE = %d\n", - TRACE_FLAVOR_SIZE); -#endif -#ifdef TRACE_SET - fprintf_unfiltered (file, - "mips_dump_tdep: TRACE_SET # %s\n", - XSTRING (TRACE_SET (X, STATE))); -#endif - fprintf_unfiltered (file, - "mips_dump_tdep: VM_MIN_ADDRESS = %ld\n", - (long) VM_MIN_ADDRESS); } extern initialize_file_ftype _initialize_mips_tdep; /* -Wmissing-prototypes */ -- 2.30.2