* inflow.c (gdb_getpgrp): New.
authorPedro Alves <palves@redhat.com>
Fri, 14 Mar 2008 22:58:58 +0000 (22:58 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 14 Mar 2008 22:58:58 +0000 (22:58 +0000)
commit64a0ac840e206800f58917891a9caeaaa0c5478c
treec4bf66700ff76c64d206ed6f197d61ecf26912e4
parent1fddbabb01cdd8aa6400ca1ff8461259f90ca126
* inflow.c (gdb_getpgrp): New.
(gdb_has_a_terminal): Use get_getpgrp.
(terminal_ours_1): If attach_flag is set, don't refetch
inferior_process_group.
gdb/ChangeLog
gdb/inflow.c