Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb On NetBSD the data part of the PT...
details: https://anonhg.NetBSD.org/src/rev/970e5e2aa659
branches: trunk
changeset: 778743:970e5e2aa659
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 11 21:39:01 2012 +0000
description:
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.
diffstat:
external/gpl3/gdb/dist/gdb/inf-ptrace.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 2eb916bcafdf -r 970e5e2aa659 external/gpl3/gdb/dist/gdb/inf-ptrace.c
--- a/external/gpl3/gdb/dist/gdb/inf-ptrace.c Wed Apr 11 20:21:35 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/inf-ptrace.c Wed Apr 11 21:39:01 2012 +0000
@@ -366,7 +366,11 @@
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);
Home |
Main Index |
Thread Index |
Old Index