mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 12:51:44 +01:00
27 lines
617 B
Diff
27 lines
617 B
Diff
--- ./gdb/linux-nat.c.orig
|
|
+++ ./gdb/linux-nat.c
|
|
@@ -169,6 +169,10 @@
|
|
#define O_LARGEFILE 0
|
|
#endif
|
|
|
|
+#ifndef W_STOPCODE
|
|
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
|
|
+#endif
|
|
+
|
|
/* The single-threaded native GNU/Linux target_ops. We save a pointer for
|
|
the use of the multi-threaded target. */
|
|
static struct target_ops *linux_ops;
|
|
@@ -4875,10 +4879,10 @@
|
|
fortunately they don't change! */
|
|
|
|
if (restart == 0)
|
|
- restart = __SIGRTMIN;
|
|
+ restart = SIGRTMIN;
|
|
|
|
if (cancel == 0)
|
|
- cancel = __SIGRTMIN + 1;
|
|
+ cancel = SIGRTMIN + 1;
|
|
|
|
sigaddset (set, restart);
|
|
sigaddset (set, cancel);
|