From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22286 invoked by alias); 23 Oct 2002 07:04:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22214 invoked from network); 23 Oct 2002 07:04:19 -0000 Received: from unknown (HELO ntdes.cirsa.com) (195.77.234.5) by sources.redhat.com with SMTP; 23 Oct 2002 07:04:19 -0000 Subject: DEBUG info To: gcc-help@gcc.gnu.org Message-ID: From: jorgefm@cirsa.com Date: Wed, 23 Oct 2002 00:04:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00279.txt.bz2 Hi folks ! I have a little question about debug info. I'm developing a little application and i want to enable a button to run a gdb/ddd session only if the application selected is compiled with debug info. How can i check if an exec applications has debug info inside ? I know that gdb/ddd knows it because when you run a debug session with an exec application without debug info no source file is displayed. Thanks for your time! Jorge Fernandez