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 one more place to pass the thread id
details: https://anonhg.NetBSD.org/src/rev/b388bd818b61
branches: trunk
changeset: 358394:b388bd818b61
user: christos <christos%NetBSD.org@localhost>
date: Wed Dec 27 19:20:04 2017 +0000
description:
one more place to pass the thread id
diffstat:
external/gpl3/gdb/dist/gdb/x86-bsd-nat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r fad016df96d3 -r b388bd818b61 external/gpl3/gdb/dist/gdb/x86-bsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/x86-bsd-nat.c Wed Dec 27 18:30:02 2017 +0000
+++ b/external/gpl3/gdb/dist/gdb/x86-bsd-nat.c Wed Dec 27 19:20:04 2017 +0000
@@ -69,7 +69,7 @@
struct dbreg dbregs;
if (ptrace (PT_GETDBREGS, get_ptrace_pid (inferior_ptid),
- (PTRACE_TYPE_ARG3) &dbregs, 0) == -1)
+ (PTRACE_TYPE_ARG3) &dbregs, ptid_get_lwp (inferior_ptid)) == -1)
perror_with_name (_("Couldn't read debug registers"));
return DBREG_DRX ((&dbregs), regnum);
Home |
Main Index |
Thread Index |
Old Index