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]
Other format: [Raw text]

Re: disassembly in gdb?


Can you be more specific as to where in i386 or mips that disassemble_info is set for those targets?

- kumar

On Thursday, May 22, 2003, at 05:51 PM, Kevin Buettner wrote:

On May 22, 5:24pm, Kumar Gala wrote:

How does gdb know which disassembler options to use for a given
architecture target?  For example on PPC there are various flags to
enable such things as SPE, AltiVec, ISEL, etc.

Is there anyway in an existing gdb to have the disassembler understand
a different subset of opcodes for the architecture?

This is supposed to be handled by the disassembler_options field in the disassemble_info struct. Unfortunately, I don't see anything in the public GDB sources which set these options for any of the PPC cores. (mips and i386 have some code which do this though.)

Kevin


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