This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - Python Scripting] Add 'end' attribute to gdb.Symtab_and_line
- From: Siva Chandra <sivachandra at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 23 Jun 2012 00:13:19 +0530
- Subject: Re: [RFC - Python Scripting] Add 'end' attribute to gdb.Symtab_and_line
- References: <CAGyQ6gw7JP3Mz+nabiTGcnC4oP7d9iQ3W8miHOs3NnDyFqiF0g@mail.gmail.com> <87r4t7gtma.fsf@fleche.redhat.com>
Siva> There is already an attribute 'pc' which
Siva> is described as "Indicates the current program counter address" in the
Siva> documentation. ?I do not think this description is accurate: 'pc' is
Siva> actually the begin address of the program counter address range for
Siva> the current source line.
Tom> Would you mind fixing the documentation here?
Tom> (As a separate patch, not required for this one.)
Sure. Will send a separate patch.
Thanks,
Siva Chandra