This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: wrong inferior_process_group when attached to process in 'async mode'/'native debugging'
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Mar 2008 15:11:40 -0400
- Subject: Re: wrong inferior_process_group when attached to process in 'async mode'/'native debugging'
- References: <200803140805.08201.pedro@codesourcery.com>
On Fri, Mar 14, 2008 at 08:05:08AM +0000, Pedro Alves wrote:
> 2008-03-14 Pedro Alves <pedro@codesourcery.com>
>
> * 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.
OK.
--
Daniel Jacobowitz
CodeSourcery