This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: full file name
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: Midnight Xiong <midnight dot xiong at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 23 Dec 2005 10:09:16 +0300
- Subject: Re: MI: full file name
- References: <dlsm4t$jhv$1@sea.gmane.org> <dm1cp4$jqv$1@sea.gmane.org> <7f89a3ea0512221820u4512e691x59d20442123d3086@mail.gmail.com>
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