From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23728 invoked by alias); 23 Mar 2004 01:00:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 23714 invoked from network); 23 Mar 2004 01:00:34 -0000 Received: from unknown (HELO email3.peakpeak.com) (207.189.223.52) by sources.redhat.com with SMTP; 23 Mar 2004 01:00:34 -0000 Received: (qmail 27290 invoked from network); 23 Mar 2004 01:08:36 -0000 Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229]) (envelope-sender ) by email3.peakpeak.com (qmail-ldap-1.03) with SMTP for ; 23 Mar 2004 01:08:36 -0000 Received: by fleche.redhat.com (Postfix, from userid 1000) id 486624F82AF; Mon, 22 Mar 2004 17:48:00 -0700 (MST) To: Alexandre Oliva Cc: Andreas Schwab , sashan , gcc@gcc.gnu.org Subject: Re: [Newb] Stepping into cc1plus from gcc References: <405BC481.3020705@ihug.co.nz> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Disco oil bussing will create a throbbing naugahide pipeline running straight to the tropics from the rug producing regions and devalue the dollar! Date: Tue, 23 Mar 2004 12:27:00 -0000 In-Reply-To: Message-ID: <874qsg5qyn.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg01328.txt.bz2 >>>>> "Alexandre" == Alexandre Oliva writes: Alexandre> If you know the arguments to pass to cc1plus, yes, it does. Alexandre> The point of debugx is to be able to run a `gcc -c -flags Alexandre> ...' and get a debugger attached to cc1 or cc1plus, with Alexandre> the right command line. Cute. I've long meant to add an option to gcc like "--debug jc1" that would cause it to launch the appropriate sub-process with "gdb --args". Still haven't gotten around to it... but maybe there's no need with your programs around. Tom