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]

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...



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