Module Name: src
Committed By: christos
Date: Wed Apr 11 21:39:01 UTC 2012
Modified Files:
src/external/gpl3/gdb/dist/gdb: inf-ptrace.c
Log Message:
On NetBSD the data part of the PT_STEP request is the lid to send the signal,
not the signal to send! Make it so.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/inf-ptrace.c
diff -u src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.4 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.5
--- src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.4 Wed Mar 21 17:25:38 2012
+++ src/external/gpl3/gdb/dist/gdb/inf-ptrace.c Wed Apr 11 17:39:01 2012
@@ -366,7 +366,11 @@ inf_ptrace_resume (struct target_ops *op
all possible successor instructions), so we don't have to
worry about that here. */
request = PT_STEP;
+#ifdef __NetBSD__
+ sig = ptid_get_lwp(ptid);
+#else
sig = 0;
+#endif
} else
sig = target_signal_to_host (signal);