From 5090e82cca377dd12046a4bb7dc1922f363348b4 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 5 Nov 1993 19:27:49 +0000 Subject: * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET macro to set process groups. * infptrace.c (child_resume): Temporarily use Lynx PIDGET to specify resumption of all threads. * infrun.c (wait_for_inferior): Fix handling of thread-specific breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup PC by the right amount when continuing the thread). * thread.c (thread_apply_command): Add the `thread apply' command to apply a given GDB command to a list of threads. --- gdb/inflow.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/inflow.c') diff --git a/gdb/inflow.c b/gdb/inflow.c index cd0105e..f3757d5 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -176,8 +176,12 @@ terminal_init_inferior () free (inferior_ttystate); inferior_ttystate = SERIAL_GET_TTY_STATE (stdin_serial); #ifdef PROCESS_GROUP_TYPE +#ifdef PIDGET /* XXX Lynx */ + inferior_process_group = PIDGET (inferior_pid); +#else inferior_process_group = inferior_pid; #endif +#endif /* Make sure that next time we call terminal_inferior (which will be before the program runs, as it needs to be), we install the new -- cgit v1.1