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: MI: full file name


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


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