This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [commit] Use full paths for "info sources"


Alas this fix doesn't seem to fix it for me..


[david@delmo FOO]$ ls
a.out  foo
[david@delmo FOO]$ ~/bin/gdb a.out
GNU gdb 20040920
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
                                                                                                                                                                   
(gdb) info sources
Source files for which symbols have been read
in:                                                                                                                  
Source files for which symbols will be read in on
demand:                                                                                                                                                                   main.c, /home/david/FOO/foo/main.c
(gdb)



in contrast,


GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
                                                                                                                                                                   
(gdb) info sources
Source files for which symbols have been read in:
                                                                                                                                                                   Source files for which symbols will be read in on demand:

foo/main.c
(gdb)
                                                                                                                                                              
                     

Cheers
d.                                                                                                                                              




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