aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-nbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/low-nbsd.c')
-rw-r--r--gdb/gdbserver/low-nbsd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/low-nbsd.c b/gdb/gdbserver/low-nbsd.c
index b6897e7..188aca0 100644
--- a/gdb/gdbserver/low-nbsd.c
+++ b/gdb/gdbserver/low-nbsd.c
@@ -145,6 +145,13 @@ create_inferior (char *program, char **allargs)
return pid;
}
+/* Attaching is not supported. */
+int
+myattach (int pid)
+{
+ return -1;
+}
+
/* Kill the inferior process. Make us have no inferior. */
void