[Bug python/19288] need a way to see if an address is covered by some existing object

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Wed Nov 25 18:13:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19288

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Pedro Alves from comment #2)
> Did you consider exposing the list of Objfile sections to Python?
> Something like Objfile.sections() to get the section list, and then each
> Section object could expose the addr/endaddr range.

Yeah, that would work nicely.

I also thought about just having my python code parse /proc/$/maps :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list