This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/15629] no access to line table from python
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 29 Jul 2013 11:52:19 +0000
- Subject: [Bug python/15629] no access to line table from python
- Auto-submitted: auto-generated
- References: <bug-15629-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15629
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |pmuldoon at redhat dot com
Assignee|unassigned at sourceware dot org |pmuldoon at redhat dot com
--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> ---
For this API I was thinking of a simple dictionary returned from a symtab
object.
linetable = foo.linetable()
The dictionary key would be the source line number, and the value would be a
tuple containing all the $pc locations associated with that line number (a line
can have multiple $pc locations for things like the "for" c statement, or
compound commands).
What do you think?
--
You are receiving this mail because:
You are on the CC list for the bug.