• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision857a668c7dca9ecf96e080e637d12ccb0552d0c3 (tree)
Zeit2000-06-12 12:33:56
AutorAndrew Cagney <cagney@redh...>
CommiterAndrew Cagney

Log Message

Print all known but not yet multi-arched values.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
1+Mon Jun 12 12:17:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
2+
3+ * mips-tdep.c: Include "symcat.h".
4+ (mips_dump_tdep): Print all known but not yet multi-arched values.
5+
16 Fri Jun 9 15:06:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
27
38 * gdbarch.sh (struct gdbarch): Add member dump_tdep.
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -38,7 +38,7 @@
3838 #include "opcode/mips.h"
3939 #include "elf/mips.h"
4040 #include "elf-bfd.h"
41-
41+#include "symcat.h"
4242
4343 /* All the possible MIPS ABIs. */
4444
@@ -4104,9 +4104,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
41044104 "mips_dump_tdep: MIPS_LAST_FP_ARG_REGNUM = %d\n",
41054105 MIPS_LAST_FP_ARG_REGNUM);
41064106 fprintf_unfiltered (file,
4107- "mips_dump_tdep: MIPS_LAST_ARG_REGNUM = %d\n",
4108- MIPS_LAST_ARG_REGNUM);
4109- fprintf_unfiltered (file,
41104107 "mips_dump_tdep: MIPS_FPU_TYPE = %d (%s)\n",
41114108 MIPS_FPU_TYPE,
41124109 (MIPS_FPU_TYPE == MIPS_FPU_NONE ? "none"
@@ -4117,9 +4114,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
41174114 "mips_dump_tdep: MIPS_DEFAULT_SAVED_REGSIZE = %d\n",
41184115 MIPS_DEFAULT_SAVED_REGSIZE);
41194116 fprintf_unfiltered (file,
4120- "mips_dump_tdep: MIPS_SAVED_REGSIZE = %d\n",
4121- MIPS_SAVED_REGSIZE);
4122- fprintf_unfiltered (file,
41234117 "mips_dump_tdep: FP_REGISTER_DOUBLE = %d\n",
41244118 FP_REGISTER_DOUBLE);
41254119 fprintf_unfiltered (file,
@@ -4134,6 +4128,333 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
41344128 fprintf_unfiltered (file,
41354129 "mips_dump_tdep: MIPS_REGSIZE = %d\n",
41364130 MIPS_REGSIZE);
4131+ fprintf_unfiltered (file,
4132+ "mips_dump_tdep: A0_REGNUM = %d\n",
4133+ A0_REGNUM);
4134+ fprintf_unfiltered (file,
4135+ "mips_dump_tdep: ADDR_BITS_REMOVE # %s\n",
4136+ XSTRING (ADDR_BITS_REMOVE(ADDR)));
4137+ fprintf_unfiltered (file,
4138+ "mips_dump_tdep: ATTACH_DETACH # %s\n",
4139+ XSTRING (ATTACH_DETACH));
4140+ fprintf_unfiltered (file,
4141+ "mips_dump_tdep: BADVADDR_REGNUM = %d\n",
4142+ BADVADDR_REGNUM);
4143+ fprintf_unfiltered (file,
4144+ "mips_dump_tdep: BIG_BREAKPOINT = delete?\n");
4145+ fprintf_unfiltered (file,
4146+ "mips_dump_tdep: CAUSE_REGNUM = %d\n",
4147+ CAUSE_REGNUM);
4148+ fprintf_unfiltered (file,
4149+ "mips_dump_tdep: CPLUS_MARKER = %c\n",
4150+ CPLUS_MARKER);
4151+ fprintf_unfiltered (file,
4152+ "mips_dump_tdep: DEFAULT_MIPS_TYPE = %s\n",
4153+ DEFAULT_MIPS_TYPE);
4154+ fprintf_unfiltered (file,
4155+ "mips_dump_tdep: DO_REGISTERS_INFO # %s\n",
4156+ XSTRING (DO_REGISTERS_INFO));
4157+ fprintf_unfiltered (file,
4158+ "mips_dump_tdep: DWARF_REG_TO_REGNUM # %s\n",
4159+ XSTRING (DWARF_REG_TO_REGNUM (REGNUM)));
4160+ fprintf_unfiltered (file,
4161+ "mips_dump_tdep: ECOFF_REG_TO_REGNUM # %s\n",
4162+ XSTRING (ECOFF_REG_TO_REGNUM (REGNUM)));
4163+ fprintf_unfiltered (file,
4164+ "mips_dump_tdep: ELF_MAKE_MSYMBOL_SPECIAL # %s\n",
4165+ XSTRING (ELF_MAKE_MSYMBOL_SPECIAL (SYM, MSYM)));
4166+ fprintf_unfiltered (file,
4167+ "mips_dump_tdep: FCRCS_REGNUM = %d\n",
4168+ FCRCS_REGNUM);
4169+ fprintf_unfiltered (file,
4170+ "mips_dump_tdep: FCRIR_REGNUM = %d\n",
4171+ FCRIR_REGNUM);
4172+ fprintf_unfiltered (file,
4173+ "mips_dump_tdep: FIRST_EMBED_REGNUM = %d\n",
4174+ FIRST_EMBED_REGNUM);
4175+ fprintf_unfiltered (file,
4176+ "mips_dump_tdep: FPA0_REGNUM = %d\n",
4177+ FPA0_REGNUM);
4178+ fprintf_unfiltered (file,
4179+ "mips_dump_tdep: GDB_TARGET_IS_MIPS64 = %d\n",
4180+ GDB_TARGET_IS_MIPS64);
4181+ fprintf_unfiltered (file,
4182+ "mips_dump_tdep: GDB_TARGET_MASK_DISAS_PC # %s\n",
4183+ XSTRING (GDB_TARGET_MASK_DISAS_PC (PC)));
4184+ fprintf_unfiltered (file,
4185+ "mips_dump_tdep: GDB_TARGET_UNMASK_DISAS_PC # %s\n",
4186+ XSTRING (GDB_TARGET_UNMASK_DISAS_PC (PC)));
4187+ fprintf_unfiltered (file,
4188+ "mips_dump_tdep: GEN_REG_SAVE_MASK = %d\n",
4189+ GEN_REG_SAVE_MASK);
4190+ fprintf_unfiltered (file,
4191+ "mips_dump_tdep: HAVE_NONSTEPPABLE_WATCHPOINT # %s\n",
4192+ XSTRING (HAVE_NONSTEPPABLE_WATCHPOINT));
4193+ fprintf_unfiltered (file,
4194+ "mips_dump_tdep: HI_REGNUM = %d\n",
4195+ HI_REGNUM);
4196+ fprintf_unfiltered (file,
4197+ "mips_dump_tdep: IDT_BIG_BREAKPOINT = delete?\n");
4198+ fprintf_unfiltered (file,
4199+ "mips_dump_tdep: IDT_LITTLE_BREAKPOINT = delete?\n");
4200+ fprintf_unfiltered (file,
4201+ "mips_dump_tdep: IGNORE_HELPER_CALL # %s\n",
4202+ XSTRING (IGNORE_HELPER_CALL (PC)));
4203+ fprintf_unfiltered (file,
4204+ "mips_dump_tdep: INIT_FRAME_PC # %s\n",
4205+ XSTRING (INIT_FRAME_PC (FROMLEAF, PREV)));
4206+ fprintf_unfiltered (file,
4207+ "mips_dump_tdep: INIT_FRAME_PC_FIRST # %s\n",
4208+ XSTRING (INIT_FRAME_PC_FIRST (FROMLEAF, PREV)));
4209+ fprintf_unfiltered (file,
4210+ "mips_dump_tdep: IN_SIGTRAMP # %s\n",
4211+ XSTRING (IN_SIGTRAMP (PC, NAME)));
4212+ fprintf_unfiltered (file,
4213+ "mips_dump_tdep: IN_SOLIB_CALL_TRAMPOLINE # %s\n",
4214+ XSTRING (IN_SOLIB_CALL_TRAMPOLINE (PC, NAME)));
4215+ fprintf_unfiltered (file,
4216+ "mips_dump_tdep: IN_SOLIB_RETURN_TRAMPOLINE # %s\n",
4217+ XSTRING (IN_SOLIB_RETURN_TRAMPOLINE (PC, NAME)));
4218+ fprintf_unfiltered (file,
4219+ "mips_dump_tdep: IS_MIPS16_ADDR = FIXME!\n");
4220+ fprintf_unfiltered (file,
4221+ "mips_dump_tdep: LAST_EMBED_REGNUM = %d\n",
4222+ LAST_EMBED_REGNUM);
4223+ fprintf_unfiltered (file,
4224+ "mips_dump_tdep: LITTLE_BREAKPOINT = delete?\n");
4225+ fprintf_unfiltered (file,
4226+ "mips_dump_tdep: LO_REGNUM = %d\n",
4227+ LO_REGNUM);
4228+#ifdef MACHINE_CPROC_FP_OFFSET
4229+ fprintf_unfiltered (file,
4230+ "mips_dump_tdep: MACHINE_CPROC_FP_OFFSET = %d\n",
4231+ MACHINE_CPROC_FP_OFFSET);
4232+#endif
4233+#ifdef MACHINE_CPROC_PC_OFFSET
4234+ fprintf_unfiltered (file,
4235+ "mips_dump_tdep: MACHINE_CPROC_PC_OFFSET = %d\n",
4236+ MACHINE_CPROC_PC_OFFSET);
4237+#endif
4238+#ifdef MACHINE_CPROC_SP_OFFSET
4239+ fprintf_unfiltered (file,
4240+ "mips_dump_tdep: MACHINE_CPROC_SP_OFFSET = %d\n",
4241+ MACHINE_CPROC_SP_OFFSET);
4242+#endif
4243+ fprintf_unfiltered (file,
4244+ "mips_dump_tdep: MAKE_MIPS16_ADDR = FIXME!\n");
4245+ fprintf_unfiltered (file,
4246+ "mips_dump_tdep: MIPS16_BIG_BREAKPOINT = delete?\n");
4247+ fprintf_unfiltered (file,
4248+ "mips_dump_tdep: MIPS16_INSTLEN = %d\n",
4249+ MIPS16_INSTLEN);
4250+ fprintf_unfiltered (file,
4251+ "mips_dump_tdep: MIPS16_LITTLE_BREAKPOINT = delete?\n");
4252+ fprintf_unfiltered (file,
4253+ "mips_dump_tdep: MIPS_DEFAULT_ABI = FIXME!\n");
4254+ fprintf_unfiltered (file,
4255+ "mips_dump_tdep: MIPS_EFI_SYMBOL_NAME = multi-arch!!\n");
4256+ fprintf_unfiltered (file,
4257+ "mips_dump_tdep: MIPS_INSTLEN = %d\n",
4258+ MIPS_INSTLEN);
4259+ fprintf_unfiltered (file,
4260+ "mips_dump_tdep: MIPS_LAST_ARG_REGNUM = %d\n",
4261+ MIPS_LAST_ARG_REGNUM);
4262+ fprintf_unfiltered (file,
4263+ "mips_dump_tdep: MIPS_NUMREGS = %d\n",
4264+ MIPS_NUMREGS);
4265+ fprintf_unfiltered (file,
4266+ "mips_dump_tdep: MIPS_REGISTER_NAMES = delete?\n");
4267+ fprintf_unfiltered (file,
4268+ "mips_dump_tdep: MIPS_SAVED_REGSIZE = %d\n",
4269+ MIPS_SAVED_REGSIZE);
4270+ fprintf_unfiltered (file,
4271+ "mips_dump_tdep: MSYMBOL_IS_SPECIAL = function?\n");
4272+ fprintf_unfiltered (file,
4273+ "mips_dump_tdep: MSYMBOL_SIZE # %s\n",
4274+ XSTRING (MSYMBOL_SIZE (MSYM)));
4275+ fprintf_unfiltered (file,
4276+ "mips_dump_tdep: OP_LDFPR = used?\n");
4277+ fprintf_unfiltered (file,
4278+ "mips_dump_tdep: OP_LDGPR = used?\n");
4279+ fprintf_unfiltered (file,
4280+ "mips_dump_tdep: PMON_BIG_BREAKPOINT = delete?\n");
4281+ fprintf_unfiltered (file,
4282+ "mips_dump_tdep: PMON_LITTLE_BREAKPOINT = delete?\n");
4283+ fprintf_unfiltered (file,
4284+ "mips_dump_tdep: PRID_REGNUM = %d\n",
4285+ PRID_REGNUM);
4286+ fprintf_unfiltered (file,
4287+ "mips_dump_tdep: PRINT_EXTRA_FRAME_INFO # %s\n",
4288+ XSTRING (PRINT_EXTRA_FRAME_INFO (FRAME)));
4289+ fprintf_unfiltered (file,
4290+ "mips_dump_tdep: PROC_DESC_IS_DUMMY = function?\n");
4291+ fprintf_unfiltered (file,
4292+ "mips_dump_tdep: PROC_FRAME_ADJUST = function?\n");
4293+ fprintf_unfiltered (file,
4294+ "mips_dump_tdep: PROC_FRAME_OFFSET = function?\n");
4295+ fprintf_unfiltered (file,
4296+ "mips_dump_tdep: PROC_FRAME_REG = function?\n");
4297+ fprintf_unfiltered (file,
4298+ "mips_dump_tdep: PROC_FREG_MASK = function?\n");
4299+ fprintf_unfiltered (file,
4300+ "mips_dump_tdep: PROC_FREG_OFFSET = function?\n");
4301+ fprintf_unfiltered (file,
4302+ "mips_dump_tdep: PROC_HIGH_ADDR = function?\n");
4303+ fprintf_unfiltered (file,
4304+ "mips_dump_tdep: PROC_LOW_ADDR = function?\n");
4305+ fprintf_unfiltered (file,
4306+ "mips_dump_tdep: PROC_PC_REG = function?\n");
4307+ fprintf_unfiltered (file,
4308+ "mips_dump_tdep: PROC_REG_MASK = function?\n");
4309+ fprintf_unfiltered (file,
4310+ "mips_dump_tdep: PROC_REG_OFFSET = function?\n");
4311+ fprintf_unfiltered (file,
4312+ "mips_dump_tdep: PROC_SYMBOL = function?\n");
4313+ fprintf_unfiltered (file,
4314+ "mips_dump_tdep: PS_REGNUM = %d\n",
4315+ PS_REGNUM);
4316+ fprintf_unfiltered (file,
4317+ "mips_dump_tdep: PUSH_FP_REGNUM = %d\n",
4318+ PUSH_FP_REGNUM);
4319+ fprintf_unfiltered (file,
4320+ "mips_dump_tdep: RA_REGNUM = %d\n",
4321+ RA_REGNUM);
4322+ fprintf_unfiltered (file,
4323+ "mips_dump_tdep: REGISTER_CONVERT_FROM_TYPE # %s\n",
4324+ XSTRING (REGISTER_CONVERT_FROM_TYPE (REGNUM, VALTYPE, RAW_BUFFER)));
4325+ fprintf_unfiltered (file,
4326+ "mips_dump_tdep: REGISTER_CONVERT_TO_TYPE # %s\n",
4327+ XSTRING (REGISTER_CONVERT_TO_TYPE (REGNUM, VALTYPE, RAW_BUFFER)));
4328+ fprintf_unfiltered (file,
4329+ "mips_dump_tdep: REGISTER_NAMES = delete?\n");
4330+ fprintf_unfiltered (file,
4331+ "mips_dump_tdep: ROUND_DOWN = function?\n");
4332+ fprintf_unfiltered (file,
4333+ "mips_dump_tdep: ROUND_UP = function?\n");
4334+#ifdef SAVED_BYTES
4335+ fprintf_unfiltered (file,
4336+ "mips_dump_tdep: SAVED_BYTES = %d\n",
4337+ SAVED_BYTES);
4338+#endif
4339+#ifdef SAVED_FP
4340+ fprintf_unfiltered (file,
4341+ "mips_dump_tdep: SAVED_FP = %d\n",
4342+ SAVED_FP);
4343+#endif
4344+#ifdef SAVED_PC
4345+ fprintf_unfiltered (file,
4346+ "mips_dump_tdep: SAVED_PC = %d\n",
4347+ SAVED_PC);
4348+#endif
4349+ fprintf_unfiltered (file,
4350+ "mips_dump_tdep: SETUP_ARBITRARY_FRAME # %s\n",
4351+ XSTRING (SETUP_ARBITRARY_FRAME (NUMARGS, ARGS)));
4352+ fprintf_unfiltered (file,
4353+ "mips_dump_tdep: SET_PROC_DESC_IS_DUMMY = function?\n");
4354+ fprintf_unfiltered (file,
4355+ "mips_dump_tdep: SIGFRAME_BASE = %d\n",
4356+ SIGFRAME_BASE);
4357+ fprintf_unfiltered (file,
4358+ "mips_dump_tdep: SIGFRAME_FPREGSAVE_OFF = %d\n",
4359+ SIGFRAME_FPREGSAVE_OFF);
4360+ fprintf_unfiltered (file,
4361+ "mips_dump_tdep: SIGFRAME_PC_OFF = %d\n",
4362+ SIGFRAME_PC_OFF);
4363+ fprintf_unfiltered (file,
4364+ "mips_dump_tdep: SIGFRAME_REGSAVE_OFF = %d\n",
4365+ SIGFRAME_REGSAVE_OFF);
4366+ fprintf_unfiltered (file,
4367+ "mips_dump_tdep: SIGFRAME_REG_SIZE = %d\n",
4368+ SIGFRAME_REG_SIZE);
4369+ fprintf_unfiltered (file,
4370+ "mips_dump_tdep: SKIP_TRAMPOLINE_CODE # %s\n",
4371+ XSTRING (SKIP_TRAMPOLINE_CODE (PC)));
4372+ fprintf_unfiltered (file,
4373+ "mips_dump_tdep: SOFTWARE_SINGLE_STEP # %s\n",
4374+ XSTRING (SOFTWARE_SINGLE_STEP (SIG, BP_P)));
4375+ fprintf_unfiltered (file,
4376+ "mips_dump_tdep: SOFTWARE_SINGLE_STEP_P = %d\n",
4377+ SOFTWARE_SINGLE_STEP_P);
4378+ fprintf_unfiltered (file,
4379+ "mips_dump_tdep: SOFTWARE_SINGLE_STEP_P = %d\n",
4380+ SOFTWARE_SINGLE_STEP_P);
4381+ fprintf_unfiltered (file,
4382+ "mips_dump_tdep: STAB_REG_TO_REGNUM # %s\n",
4383+ XSTRING (STAB_REG_TO_REGNUM (REGNUM)));
4384+#ifdef STACK_END_ADDR
4385+ fprintf_unfiltered (file,
4386+ "mips_dump_tdep: STACK_END_ADDR = %d\n",
4387+ STACK_END_ADDR);
4388+#endif
4389+ fprintf_unfiltered (file,
4390+ "mips_dump_tdep: STEP_SKIPS_DELAY # %s\n",
4391+ XSTRING (STEP_SKIPS_DELAY (PC)));
4392+ fprintf_unfiltered (file,
4393+ "mips_dump_tdep: STEP_SKIPS_DELAY_P = %d\n",
4394+ STEP_SKIPS_DELAY_P);
4395+ fprintf_unfiltered (file,
4396+ "mips_dump_tdep: STOPPED_BY_WATCHPOINT # %s\n",
4397+ XSTRING (STOPPED_BY_WATCHPOINT (WS)));
4398+ fprintf_unfiltered (file,
4399+ "mips_dump_tdep: T9_REGNUM = %d\n",
4400+ T9_REGNUM);
4401+ fprintf_unfiltered (file,
4402+ "mips_dump_tdep: TABULAR_REGISTER_OUTPUT = used?\n");
4403+ fprintf_unfiltered (file,
4404+ "mips_dump_tdep: TARGET_CAN_USE_HARDWARE_WATCHPOINT # %s\n",
4405+ XSTRING (TARGET_CAN_USE_HARDWARE_WATCHPOINT (TYPE,CNT,OTHERTYPE)));
4406+ fprintf_unfiltered (file,
4407+ "mips_dump_tdep: TARGET_HAS_HARDWARE_WATCHPOINTS # %s\n",
4408+ XSTRING (TARGET_HAS_HARDWARE_WATCHPOINTS));
4409+ fprintf_unfiltered (file,
4410+ "mips_dump_tdep: TARGET_MIPS = used?\n");
4411+ fprintf_unfiltered (file,
4412+ "mips_dump_tdep: TM_PRINT_INSN_MACH # %s\n",
4413+ XSTRING (TM_PRINT_INSN_MACH));
4414+#ifdef TRACE_CLEAR
4415+ fprintf_unfiltered (file,
4416+ "mips_dump_tdep: TRACE_CLEAR # %s\n",
4417+ XSTRING (TRACE_CLEAR (THREAD, STATE)));
4418+#endif
4419+#ifdef TRACE_FLAVOR
4420+ fprintf_unfiltered (file,
4421+ "mips_dump_tdep: TRACE_FLAVOR = %d\n",
4422+ TRACE_FLAVOR);
4423+#endif
4424+#ifdef TRACE_FLAVOR_SIZE
4425+ fprintf_unfiltered (file,
4426+ "mips_dump_tdep: TRACE_FLAVOR_SIZE = %d\n",
4427+ TRACE_FLAVOR_SIZE);
4428+#endif
4429+#ifdef TRACE_SET
4430+ fprintf_unfiltered (file,
4431+ "mips_dump_tdep: TRACE_SET # %s\n",
4432+ XSTRING (TRACE_SET (X,STATE)));
4433+#endif
4434+ fprintf_unfiltered (file,
4435+ "mips_dump_tdep: UNMAKE_MIPS16_ADDR = function?\n");
4436+#ifdef UNUSED_REGNUM
4437+ fprintf_unfiltered (file,
4438+ "mips_dump_tdep: UNUSED_REGNUM = %d\n",
4439+ UNUSED_REGNUM);
4440+#endif
4441+ fprintf_unfiltered (file,
4442+ "mips_dump_tdep: V0_REGNUM = %d\n",
4443+ V0_REGNUM);
4444+ fprintf_unfiltered (file,
4445+ "mips_dump_tdep: VM_MIN_ADDRESS = %ld\n",
4446+ (long) VM_MIN_ADDRESS);
4447+#ifdef VX_NUM_REGS
4448+ fprintf_unfiltered (file,
4449+ "mips_dump_tdep: VX_NUM_REGS = %d (used?)\n",
4450+ VX_NUM_REGS);
4451+#endif
4452+ fprintf_unfiltered (file,
4453+ "mips_dump_tdep: ZERO_REGNUM = %d\n",
4454+ ZERO_REGNUM);
4455+ fprintf_unfiltered (file,
4456+ "mips_dump_tdep: _PROC_MAGIC_ = %d\n",
4457+ _PROC_MAGIC_);
41374458 }
41384459
41394460 void