This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH, RFC] Add support for choosing disassembler cpu in GDB for POWER.
On 10/28/2016 03:24 PM, Peter Bergner wrote:
> On 10/28/16 9:10 AM, Pedro Alves wrote:
>> Maybe not. Where are the per-arch settings stored?
> They're stored in the gdbarch...
You mean, as a new string member of gdbarch? That sounds
problematic, since you can have multiple different gdbarch
instances for the same architecture live at the same time.
BTC, I'm talking about where does the FOO
in "set disassembler-options FOO" end up stored.
>> Maybe it doesn't even make sense to consider this
>> setting per-arch. Maybe per-inferior would be better.
> I have no idea how to do that, so I think I'll stick with
> a per-arch setting and maybe down the line, someone can
> extend it to that.
That's super fine with me.