This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Handling of processors models
- To: gdb at sourceware dot cygnus dot com
- Subject: Handling of processors models
- From: Will Cohen <wcohen at redhat dot com>
- Date: Fri, 20 Oct 2000 15:37:16 -0400
- Newsgroups: cygnus.gdb
- Organization: Red Hat, Inc.
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