forked from Imagelibrary/binutils-gdb
Pass SIGLIBRT directly to child processes.
FreeBSD's librt uses SIGLIBRT as an internal signal to implement SIGEV_THREAD sigevent notifications. Similar to SIGLWP or SIGCANCEL this signal should be passed through to child processes by default. include/ChangeLog: * signals.def: Add GDB_SIGNAL_LIBRT. gdb/ChangeLog: * common/signals.c (gdb_signal_from_host): Handle SIGLIBRT. (do_gdb_signal_to_host): Likewise. * infrun.c (_initialize_infrun): Pass GDB_SIGNAL_LIBRT through to programs. * proc-events.c (signal_table): Add entry for SIGLIBRT.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2016-07-15 John Baldwin <jhb@FreeBSD.org>
|
||||
|
||||
* signals.def: Add GDB_SIGNAL_LIBRT.
|
||||
|
||||
2016-01-06 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* remote-sim.h (sim_open): Mark argv const.
|
||||
|
||||
@@ -194,7 +194,9 @@ SET (GDB_EXC_EMULATION, 148, "EXC_EMULATION", "Emulation instruction")
|
||||
SET (GDB_EXC_SOFTWARE, 149, "EXC_SOFTWARE", "Software generated exception")
|
||||
SET (GDB_EXC_BREAKPOINT, 150, "EXC_BREAKPOINT", "Breakpoint")
|
||||
|
||||
SET (GDB_SIGNAL_LIBRT, 151, "SIGLIBRT", "librt internal signal")
|
||||
|
||||
/* If you are adding a new signal, add it just above this comment. */
|
||||
|
||||
/* Last and unused enum value, for sizing arrays, etc. */
|
||||
SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_LAST")
|
||||
SET (GDB_SIGNAL_LAST, 152, NULL, "GDB_SIGNAL_LAST")
|
||||
|
||||
Reference in New Issue
Block a user