summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-04-13 16:40:43 +0000
committerkettenis <kettenis@openbsd.org>2012-04-13 16:40:43 +0000
commitde893012afd46ee1fd926c25f9a035d3a9ce05f9 (patch)
treefb916c3f9717f7e675ef4b767c2ca4a19ef9d260
parentAdd support for live debugging of multi-threaded code. (diff)
downloadwireguard-openbsd-de893012afd46ee1fd926c25f9a035d3a9ce05f9.tar.xz
wireguard-openbsd-de893012afd46ee1fd926c25f9a035d3a9ce05f9.zip
Enable multi-threaded debugging on i386.
-rw-r--r--gnu/usr.bin/binutils/gdb/i386obsd-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386obsd-nat.c b/gnu/usr.bin/binutils/gdb/i386obsd-nat.c
index 5637c423df7..71e3641f619 100644
--- a/gnu/usr.bin/binutils/gdb/i386obsd-nat.c
+++ b/gnu/usr.bin/binutils/gdb/i386obsd-nat.c
@@ -130,6 +130,7 @@ _initialize_i386obsd_nat (void)
t = i386bsd_target ();
t->to_pid_to_str = obsd_pid_to_str;
t->to_find_new_threads = obsd_find_new_threads;
+ t->to_wait = obsd_wait;
add_target (t);
/* Support debugging kernel virtual memory images. */