This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
New list command oddity
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb at sourceware dot org>
- Date: Thu, 8 Aug 2013 11:43:55 +0200
- Subject: New list command oddity
I have no idea how old this problem is but
I am unable to list init.c source:
(gdb) li init.c:1
file: "../../puresrc/bfd/init.c", line number: 1
file: "init.c", line number: 1
I am able to list the bfd version using
(gdb) li ../../puresrc/bfd/init.c:1
But I have no idea how to list the gdb build directory source...
Did I miss something, is there a simple intuitive way to
force selection of the file without path?
Pierre Muller
GDB pascal language maintainer
gdb-7.6 shows the same problem,
gdb-7.2 doesn't have the problem...
but it seems that it is because the bfd init.c source (which already exists
in 7.2)
does not appear in the list of sources...