From 45b7b34510fbfca2ee2d43fe17130bbe3de0284c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 17 Jan 2002 20:46:16 +0000 Subject: 2002-01-17 Daniel Jacobowitz * low-hppabsd.c (myattach): New function, returning -1. * low-lynx.c (myattach): Likewise. * low-nbsd.c (myattach): Likewise. * low-sim.c (myattach): Likewise. * low-sparc.c (myattach): Likewise. * low-sun3.c (myattach): Likewise. * low-linux.c (myattach): New function. * server.c (attach_inferior): New function. (main): Handle "--attach". --- gdb/gdbserver/low-nbsd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdb/gdbserver/low-nbsd.c') 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 -- cgit v1.1