This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: disassembly in gdb?
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Kumar Gala <kumar dot gala at motorola dot com>, <gdb at sources dot redhat dot com>
- Date: Thu, 22 May 2003 15:51:40 -0700
- Subject: Re: disassembly in gdb?
- References: <224A48FA-8CA4-11D7-B5D0-000393DBC2E8@motorola.com>
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