aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-11-05 19:27:49 +0000
committerStu Grossman <grossman@cygnus>1993-11-05 19:27:49 +0000
commit5090e82cca377dd12046a4bb7dc1922f363348b4 (patch)
tree3d1769cdbff31e15a76ea0d65c1315aaf166c348 /gdb/inflow.c
parent87ce76559ca2695bf38e760c0ec0ce412efd95aa (diff)
downloadfsf-binutils-gdb-5090e82cca377dd12046a4bb7dc1922f363348b4.zip
fsf-binutils-gdb-5090e82cca377dd12046a4bb7dc1922f363348b4.tar.gz
fsf-binutils-gdb-5090e82cca377dd12046a4bb7dc1922f363348b4.tar.bz2
* 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.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c4
1 files changed, 4 insertions, 0 deletions
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