[RFC] New method gdb.Frame.arch_name which return's the name of frame's architecture

Tom Tromey tromey@redhat.com
Mon Jan 14 21:44:00 GMT 2013


>>>>> "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



More information about the Gdb-patches mailing list