Bug 15568 - Expose ucontext for signals
Summary: Expose ucontext for signals
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.5
: P2 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-03 22:39 UTC by Andy Lutomirski
Modified: 2013-06-03 22:39 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Lutomirski 2013-06-03 22:39:45 UTC
The ucontext struct in a signal frame has all kinds of useful (target-specific) information.  A lot of it shows up in "info regs", but some is missing.  For example, on x86, cr2 and err can be quite useful.  Please expose it somehow (perhaps with a magic variable $_sigcontext).