Skip to content

Commit

Permalink
Added mips32rel2 patch that breaks gdbserver @ startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mzpqnxow committed Jun 18, 2017
1 parent c89f7dc commit b0bc310
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/gdb/gdb-7.12-mips32rel2-sigprocmask-bug.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -Naur gdb-7.12/gdb/common/signals-state-save-restore.c gdb-7.12-mips32rel2-fixed/gdb/common/signals-state-save-restore.c
--- gdb-7.12/gdb/common/signals-state-save-restore.c 2016-10-07 13:04:17.000000000 -0400
+++ gdb-7.12-mips32rel2-fixed/gdb/common/signals-state-save-restore.c 2017-06-17 17:45:54.836165085 -0400
@@ -42,8 +42,6 @@
int res;

res = sigprocmask (0, NULL, &original_signal_mask);
- if (res == -1)
- perror_with_name (("sigprocmask"));

for (i = 1; i < NSIG; i++)
{

0 comments on commit b0bc310

Please sign in to comment.