Bug ID: 23853
Summary: Symlinked sourcefiles not found
Assignee: unassigned at sourceware dot org
Reporter: keiths at redhat dot com
Target Milestone: ---
GDB cannot find default symtabs when they are symlinks:
$ ln -s example.c example-link.c
$ gcc -g example-link.c -o example
$ gdb -nx -q example -ex "b 10"
Reading symbols from example...
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see
16 static int
17 foo (void)
19 return 0; /* break here */
23 main (void)
25 return foo ();
(gdb) b 19
No line 19 in the current file.
Make breakpoint pending on future shared library load? (y or [n])
You are receiving this mail because:
You are on the CC list for the bug.