Re: disassembly in gdb?

Kumar Gala
2003-05-22T23:15:54Z

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