This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Enable power7 disassembling
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, Thiago Jung Bauermann <bauerman at br dot ibm dot com>, Alan Modra <amodra at bigpond dot net dot au>
- Date: Tue, 3 Mar 2009 23:04:18 +0100
- Subject: Re: [patch] Enable power7 disassembling
- References: <20090302210404.GB23798@host0.dyn.jankratochvil.net> <1236115864.6800.80.camel@otta>
On Tue, 03 Mar 2009 22:31:04 +0100, Peter Bergner wrote:
> On Mon, 2009-03-02 at 22:04 +0100, Jan Kratochvil wrote:
> > Therefore assuming there should be a new GDB option:
> > set powerpc disassembler-options power7
> > which would still default to `any' as currently but one could override it.
>
> This still might be a good idea. I assume you could choose any
> valid ppc processor name accepted by the disassembler here?
> Eg, power4, power5, booke, etc.
Yes, it is sure not limited by gdb_print_insn_powerpc() although I see the
help command could rather call print_ppc_disassembler_options().
Regards,
Jan