From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26721 invoked by alias); 13 Feb 2004 09:11:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26707 invoked from network); 13 Feb 2004 09:11:46 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sources.redhat.com with SMTP; 13 Feb 2004 09:11:46 -0000 Received: from zaretski ([80.230.156.165]) by aragorn.inter.net.il (MOS 3.4.4-GR) with ESMTP id CLZ44512; Fri, 13 Feb 2004 11:11:39 +0200 (IST) Date: Fri, 13 Feb 2004 09:11:00 -0000 From: "Eli Zaretskii" To: Bob Rossi Message-Id: <9003-Fri13Feb2004111212+0200-eliz@elta.co.il> CC: gdb@sources.redhat.com In-reply-to: <20040213005432.GA4476@white> (message from Bob Rossi on Thu, 12 Feb 2004 19:54:32 -0500) Subject: Re: Executable's debug format Reply-to: Eli Zaretskii References: <20040213005432.GA4476@white> X-SW-Source: 2004-02/txt/msg00133.txt.bz2 > Date: Thu, 12 Feb 2004 19:54:32 -0500 > From: Bob Rossi > > Is there a way to find out what debug format the debugging info in the > executable is in? > > Or is it more complicated? Can a single executable be composed of object > files which each have there debugging info in a different format? Yes, it can. The command "info source" will show you the debug info with which the current source file (the one where the program counter is now) was compiled. For example, to see the debug info format for the source file where your `main' function lives, type these commands: (gdb) break main (gdb) run (gdb) info source