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] New method gdb.Frame.arch_name which return's the name of frame's architecture


>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:

Siva> Attached is a patch which adds a new method 'arch_name' to the class
Siva> gdb.Frame. This new method returns the name of the frame's
Siva> architecture as a string value.

Siva> Phil Muldoon (copied in this mail) asked sometime back whether I
Siva> intend to expose frame's architecture as an object by itself. All I
Siva> want for now is a way to get the name  of the frame's architecture.

If we think we'll want to expose the architecture in the long term --
and I think we probably do -- then it seems cleaner to me to introduce
the class now and just give it a single method.

Tom


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