Mail Archives: cygwin/1998/06/09/23:50:12
On 08-Jun-1998, Christopher G. Faylor <cgf AT cygnus DOT com> 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 <fjh AT cs DOT mu DOT oz DOT au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -