2002-01-17 Daniel Jacobowitz <drow@mvista.com>

* 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".
This commit is contained in:
Daniel Jacobowitz
2002-01-17 20:46:16 +00:00
parent 55baa95bb2
commit 45b7b34510
9 changed files with 140 additions and 9 deletions

View File

@@ -81,6 +81,13 @@ kill_inferior (void)
/*************inferior_died ();****VK**************/
}
/* Attaching is not supported. */
int
myattach (int pid)
{
return -1;
}
/* Return nonzero if the given thread is still alive. */
int
mythread_alive (int pid)