This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to show the file being executed?


   Starting with gdb 7.1, "info inferiors" shows you the executable of
   each inferior.

   (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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]