How to show the file being executed?
Alfred M. Szmidt
ams@gnu.org
Thu Feb 25 15:28:00 GMT 2010
On Wednesday 24 February 2010 16:41:38, Alfred M. Szmidt wrote:
> (top-gdb) info inferiors
> Num Description Executable
> * 1 process 25218 /home/pedro/gdb/baseline/build/gdb/gdb
>
> The original poster wanted the information from `file' as I understood
> it.
`file FOO' is actually just short hand for:
`exec-file FOO' + `symbol-file FOO'.
`info inferiors' shows you the FOO from `exec-file FOO'.
We are on different wave lengths, when I wrote `file' I meant the
command line program, not the GDB command. Which `info file' has
similar information too at the start.
More information about the Gdb
mailing list