From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24537 invoked by alias); 16 Jan 2008 11:32:47 -0000 Received: (qmail 24511 invoked by uid 22791); 16 Jan 2008 11:32:44 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 Jan 2008 11:32:27 +0000 Received: by wa-out-1112.google.com with SMTP id l35so379687waf.12 for ; Wed, 16 Jan 2008 03:32:25 -0800 (PST) Received: by 10.114.173.15 with SMTP id v15mr790013wae.63.1200483145570; Wed, 16 Jan 2008 03:32:25 -0800 (PST) Received: by 10.114.57.14 with HTTP; Wed, 16 Jan 2008 03:32:25 -0800 (PST) Message-ID: <585a84dc0801160332v786c7d30w751a3e3e51e79162@mail.gmail.com> Date: Wed, 16 Jan 2008 11:32:00 -0000 From: "Fabio Dell'Aria" To: "Markus Deuling" Subject: Re: Use external debug symbols Cc: "GDB Mailinglist" In-Reply-To: <478DE68C.2050806@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <585a84dc0801160303g4e656659w1c5e2a7320208371@mail.gmail.com> <478DE68C.2050806@de.ibm.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00120.txt.bz2 2008/1/16, Markus Deuling : > Fabio Dell'Aria schrieb: > > Hi to all, > > > > exists a method to setup GDB to use an external file as debug symbols ? > > > > Example: > > on WinXP I need GDB debug the Program.exe file using, as debug > > symbols, the Program.dbg file. > > > > Is this possible? > > > > NOTE: the debug data format is "stabs". > > > > Hi Fabio, > > I think the following two ways should work: > > 1. as command line > gdb Program.exe -s Program.dbg > > or > > 2. from within a running GDB. Invoke > > (gdb) symbol /path/to/Program.dbg > > -- > Markus Deuling Thank you very much Markus. I'll try it and come back to you with my results! ;) Bye. -- Best regards... Fabio Dell'Aria.