mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* inflow.c (gdb_has_a_terminal): Guard access to our_process_group.
This commit is contained in:
@@ -150,7 +150,9 @@ gdb_has_a_terminal (void)
|
||||
if (our_ttystate != NULL)
|
||||
{
|
||||
gdb_has_a_terminal_flag = yes;
|
||||
#ifdef PROCESS_GROUP_TYPE
|
||||
our_process_group = gdb_getpgrp ();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user