This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/19288] need a way to see if an address is covered by some existing object
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 13 Apr 2016 22:36:41 +0000
- Subject: [Bug python/19288] need a way to see if an address is covered by some existing object
- Auto-submitted: auto-generated
- References: <bug-19288-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19288
--- Comment #9 from Pedro Alves <palves at redhat dot com> ---
On the unwinder sniffer ordering, we could maybe try only the Python unwinders
just before falling back to the heuristic/prologue-parsing-based arch
unwinders. So if we have DWARF debug/unwind info for the current PC, we never
consult the Python unwinders at all. Would there be a use case where we'd want
Python unwinders to override DWARF debug/unwind info?
Even then, I assume you'd still want to be able to determine whether a PC is
within the objfile you care about, so that your Python unwinder sniffer can say
"nope, not mine", and then gdb falls back to the arch prologue unwinder.
I.e., we'd still need "a way to see if an address is covered by some existing
object" even if the order of the frame sniffers is interrogated is changed.
Is that a good assumption?
--
You are receiving this mail because:
You are on the CC list for the bug.