forked from Imagelibrary/binutils-gdb
* inflow.c (gdb_has_a_terminal): Guard access to our_process_group.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-03-24 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* inflow.c (gdb_has_a_terminal): Guard access to our_process_group.
|
||||
|
||||
2008-03-24 Nick Roberts <nickrob@snap.net.nz>
|
||||
Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
|
||||
@@ -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