From 807bddf3a9d23f9f009efe89079f7e969bfad041 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 24 Mar 2008 18:10:00 +0000 Subject: * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. --- gdb/ChangeLog | 4 ++++ gdb/inflow.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 16a6c62..971ac43 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-03-24 Daniel Jacobowitz + + * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. + 2008-03-24 Nick Roberts Vladimir Prus diff --git a/gdb/inflow.c b/gdb/inflow.c index b8a0468..6a77531 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -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 } } -- cgit v1.1