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'
A Friday 14 March 2008 19:11:40, Daniel Jacobowitz wrote:
> 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.
Thanks. Checked in.
--
Pedro Alves