This is the mail archive of the gdb-prs@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]

[Bug python/12918] New: Can not get symtab_and_line object given anarbitrary program counter


http://sourceware.org/bugzilla/show_bug.cgi?id=12918

           Summary: Can not get symtab_and_line object given an arbitrary
                    program counter
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: er_31337@yahoo.com


There is no (obvious) documented way to get a symtab_and_line object given an
arbitrary address.  
A function gdb.sal_for_pc() similar to gdb.block_for_pc() would be nice.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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