[PATCH, RFC] Add support for choosing disassembler cpu in GDB for POWER.
Sat Oct 8 14:39:00 GMT 2016
Peter Bergner wrote:
> >> + gdb_disassembler_cpu = strdup (PPC_DEFAULT_CPU",any");
> > Why do we have to know about this here in GDB? Can't the GDB default just
> > be the empty (or NULL) string, and then opcodes does the defaulting
> > (as it does today)?
> I thought it would be useful if the user does a "show powerpc disassembler"
> without ever doing a "set powerpc disassembler <cpu>" to show them what
> default cpu they're actually using. If you want this hunk removed, I
> can spit out 'default' in the case gdb_disassembler_cpu is NULL.
Yes, I think this would be better.
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
More information about the Binutils