This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] New method gdb.Frame.arch_name which return's the name of frame's architecture
- From: Tom Tromey <tromey at redhat dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Mon, 14 Jan 2013 14:44:48 -0700
- Subject: Re: [RFC] New method gdb.Frame.arch_name which return's the name of frame's architecture
- References: <CAGyQ6gw4zq4NQhKQ+-Gzuma+=sLTvnuzi5J5tVnKTdHJMZX=NA@mail.gmail.com>
>>>>> "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