Subject: Re: Parsing *.EXE.core files
From: [email-masked] (Christopher G. Faylor)

10 Jun 1998 16:50:11 GMT
Message-ID: <[email-masked]>
References: <199806081257.IAA28432.cygnus.gnu-win32@monty> <[email-masked]>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <[email-masked]>,
Fergus Henderson <[email-masked]> wrote:
>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

Wow.  That is exactly what I've been looking for.  I knew about the '*'
construction but never put two and two together.

Thank you!
-- 
[email-masked]             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada