[wip] frame_unwind_p -> frame unwind sniffer
Andrew Cagney
ac131313@redhat.com
Thu Jul 10 21:54:00 GMT 2003
Hello,
The attached is a work-in-progress for sorting out the dwarf2 (and I
guess other) problem of sometimes screwing up dwarf2 cfi selection.
It replaces the very simple:
struct unwinder *XXXX_frame_p (CORE_ADDR pc);
method with the sniffer:
struct unwinder *XXXX_sniffer (struct frame_info *next_frame);
The sniffer (name stollen from existing code) is given the next frame.
That lets it poke around any which way it chooses to determine if CFI is
available for this frame. It happens to call frame_unwind_address_in_block.
comments?
Apart from needing a test run (:-^) my intent is to pull a minimal part
of this up into the 6.0 branch.
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030710/61ce1162/attachment.ksh>
More information about the Gdb-patches
mailing list