This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/19388] New: Access $_siginfo in breakpoint (catch signal) conditional
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 21 Dec 2015 15:52:16 +0000
- Subject: [Bug breakpoints/19388] New: Access $_siginfo in breakpoint (catch signal) conditional
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19388
Bug ID: 19388
Summary: Access $_siginfo in breakpoint (catch signal)
conditional
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
Access $_siginfo from a "catch signal" breakpoint condition doesn't work. The
condition always fails with "Selected thread is running":
(gdb) catch signal
Catchpoint 3 (standard signals)
(gdb)
condition $bpnum $_siginfo.si_signo == 5
(gdb) continue
Continuing.
Error in testing breakpoint condition:
Selected thread is running.
Catchpoint 3 (signal SIGUSR1), 0x0000003615e35877 in __GI_raise (sig=10) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.