This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Fix for gdb.parameter('architecture') returning empty string


On 11/02/2012 06:45 PM, Siva Chandra wrote:
 
> 1. Fix gdb.parameter by the way of using methods on CLI objects.
> 2. Expose current frame arch through the gdb.Frame class.

Do you plan on modeling the architecture with its own object? (IE gdb.Frame.arch() returns a gdb.Arch object, with methods/attributes etc).

If so, can you please write up your plan first? I think architectures are strictly internal components of GDB, and may not be "baked" enough to for modeling, or may need adjustment first.  We had a discussion similar to this with some elements of breakpoints a few months back.

Cheers

Phil
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]