This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Handling of processors models


The disassembler for the MIPS processor print_insn_big_mips() in
opcode/mips-dis.c uses information passed in the info structure to
determine which particular model of MIPS processor it should disassemble
code for.  I have noticed that gdb does not fill this structure with the
information from the object file describing the processor number and
instruction set.  The actual variable being passed into the disassembler
is tm_print_insn_info.  Should gdb be filling out this structure? 
Specifically, tm_print_insn_info.arch and tm_print_insn_info.mach?

-Will

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]