This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Restore building gdb
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 19 Mar 2008 10:42:13 -0400
- Subject: Re: Restore building gdb
- References: <200803191435.53551.pedro@codesourcery.com>
On Wed, Mar 19, 2008 at 02:35:53PM +0000, Pedro Alves wrote:
> One of my previous patches added an unguarded access to
> inferior_process_group, which is only defined if
> PROCESS_GROUP_TYPE is defined.
>
> #ifdef PROCESS_GROUP_TYPE
> /* Process group for us and the inferior. Saved and restored just like
> {our,inferior}_ttystate. */
> PROCESS_GROUP_TYPE our_process_group;
> PROCESS_GROUP_TYPE inferior_process_group;
> #endif
>
> This patch should fix it.
>
> --
> Pedro Alves
> 2008-03-19 Pedro Alves <pedro@codesourcery.com>
>
> * inflow.c (terminal_ours_1): Guard access to
> inferior_process_group with #ifdef PROCESS_GROUP_TYPE.
OK, thanks for the quick fix.
--
Daniel Jacobowitz
CodeSourcery