* 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.
This commit is contained in:
Stu Grossman
1993-11-05 19:27:49 +00:00
parent 87ce76559c
commit 5090e82cca
4 changed files with 205 additions and 59 deletions

View File

@@ -176,7 +176,11 @@ 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