Bug 18058 - provide jit api with some control over sniffer priority
Summary: provide jit api with some control over sniffer priority
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: backtrace (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 23:05 UTC by Tom Tromey
Modified: 2015-02-27 23:05 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2015-02-27 23:05:32 UTC
Currently I think the JIT frame unwinder is given a fairly
high priority:

      frame_unwind_prepend_unwinder (gdbarch, &jit_frame_unwind);

In my case, I think the resulting sniffer will necessarily have
to use a heuristic to decide if it is looking at a JIT frame.
So, it would be nice to be able to specify that this unwinder
should come after any sniffer that works off the debug info,
as those are probably more reliable.