This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/21358] Can't list or set breakpoints in current source file if it is a symlink
- From: "jwakely.gcc at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 07 Apr 2017 06:01:32 +0000
- Subject: [Bug breakpoints/21358] Can't list or set breakpoints in current source file if it is a symlink
- Auto-submitted: auto-generated
- References: <bug-21358-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21358
--- Comment #1 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
Pedro suggested this is related to "set basenames-may-differ" and so might be
by design. I would argue that the user experience is quite poor in that case
though.
Most commands seem pretty clear about what the current file name is:
(gdb) step
f () at link.cc:5
5 puts("printy printy printy");
(gdb) bt
#0 f () at link.cc:5
#1 0x0000000000400600 in main () at link.cc:10
(gdb) br
Breakpoint 2 at 0x4005ea: file link.cc, line 5.
But then suddenly it's no longer that file:
(gdb) l 5
No line 5 in the current file.
--
You are receiving this mail because:
You are on the CC list for the bug.