summaryrefslogtreecommitdiffstats
path: root/gdb/gnu-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-07-03 17:38:08 +0000
committerPedro Alves <palves@redhat.com>2008-07-03 17:38:08 +0000
commitdc177b7a5114d1d8385ee3706188aa4e4f675676 (patch)
tree2a6c70e2e00c8e50a75a2dcc03696a8e760a1463 /gdb/gnu-nat.c
parentcaac88966e74e80449233ec8bc82d9616896a4fa (diff)
downloadppe42-binutils-dc177b7a5114d1d8385ee3706188aa4e4f675676.tar.gz
ppe42-binutils-dc177b7a5114d1d8385ee3706188aa4e4f675676.zip
* config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
* config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete. * target.h (struct target_ops): Add to_attach_no_wait member. (target_attach_no_wait): New. * target.c (update_current_target): Inherit to_attach_no_wait. * infcmd.c: Replace ATTACH_NO_WAIT compile time check by target_attach_no_wait runtime check. * gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops. * win32-nat.c (init_win32_ops): Set to_attach_no_wait in win32_ops.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 5f9a405dd3..558e3578c0 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -2592,6 +2592,7 @@ init_gnu_ops (void)
gnu_ops.to_doc = "GNU Hurd process"; /* to_doc */
gnu_ops.to_open = gnu_open; /* to_open */
gnu_ops.to_attach = gnu_attach; /* to_attach */
+ gnu_ops.to_attach_no_wait = 1; /* to_attach_no_wait */
gnu_ops.to_detach = gnu_detach; /* to_detach */
gnu_ops.to_resume = gnu_resume; /* to_resume */
gnu_ops.to_wait = gnu_wait; /* to_wait */
OpenPOWER on IntegriCloud