MI: full file name

Vladimir Prus ghost@cs.msu.su
Fri Dec 23 07:09:00 GMT 2005


On Friday 23 December 2005 05:20, Midnight Xiong wrote:
> Could you please point more details about this buggy?(backtrace and then
> -file-list-exec-source-file)
> I only can use GDB 6.3 but 6.4, and have to resolve it in GDB 6.3.
> Thanks.

It's simple: if you do

   backtrace
  -file-list-exec-source-file

then the second command will print the file corresponding to the last frame 
printed by 'backtrace'. The workaround I use is to reverse the order of the 
commands.

- Volodya



More information about the Gdb mailing list