From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16931 invoked by alias); 19 Mar 2008 14:42:37 -0000 Received: (qmail 16922 invoked by uid 22791); 19 Mar 2008 14:42:37 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Mar 2008 14:42:17 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6199098149; Wed, 19 Mar 2008 14:42:15 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2FEB798119; Wed, 19 Mar 2008 14:42:15 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JbzUb-000075-UP; Wed, 19 Mar 2008 10:42:13 -0400 Date: Wed, 19 Mar 2008 14:42:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: Restore building gdb Message-ID: <20080319144213.GB12197@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <200803191435.53551.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803191435.53551.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00279.txt.bz2 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 > > * 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