From: cgf AT cygnus DOT com (Christopher G. Faylor) Subject: Re: Parsing *.EXE.core files 10 Jun 1998 16:50:11 GMT Message-ID: <6lmdg3$kjm$1@cronkite.cygnus.com> References: <199806081257 DOT IAA28432 DOT cygnus DOT gnu-win32 AT monty> <19980610061343 DOT 42053 DOT cygnus DOT gnu-win32 AT murlibobo DOT cs DOT mu DOT OZ DOT AU> X-Newsreader: trn 4.0-test63 (15 March 1998) In article <19980610061343 DOT 42053 DOT cygnus DOT gnu-win32 AT murlibobo DOT cs DOT mu DOT OZ DOT AU>, Fergus Henderson wrote: >On 08-Jun-1998, Christopher G. Faylor 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! -- cgf AT cygnus DOT com "Everything has a boolean value, if you stand http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada