Subject: Re: Parsing *.EXE.core files
From: [email-masked] (Fergus Henderson)

9 Jun 1998 23:50:12 -0700
Message-ID: <[email-masked]>
References: <199806081257.IAA28432.cygnus.gnu-win32@monty>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: [email-masked]

On 08-Jun-1998, Christopher G. Faylor <[email-masked]> wrote:
> >2. Does anyone know how to get GDB to erturn a source line number ginve
> >   an address.

Well, one way is to use the "list *address" command.

(gdb) list *main
0x120001170 is in main (foo.c:20).
.... followed by 10 lines of stuff you can ignore

-- 
Fergus Henderson <[email-masked]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [email-masked]        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".