[gvd-users] Can not read Sourcefiles
gvd-users@lists.act-europe.fr
gvd-users@lists.act-europe.fr
Mon, 30 Sep 2002 13:14:56 +0200
Hi,
I still have problems reading source files because of the unix style pa=
th.
Like /d/adc/def/<file>
I've found that GVD reads all my .h files because their GVD reads only =
the
relative patch wich is supportet by the 'info sources' command from gdb=
.
I suppose that when GVD reads .c files it takes the location provided b=
y
the gdb command 'info source'.
Is there a way to have gdb only read the relative paths,
so that I can avoide the problem with the unix style pathnames?
Thanks
Nik
this is what gdb reads from the symbols.
(gdb) info source
Current source file is Source/control.c
Compilation directory is /d/Emb_Web/Projects/First_OSE/
Located in /d/Emb_Web/Projects/First_OSE/Source/control.c
Contains 313 lines.
Source language is c.
Compiled with stabs debugging format.
(gdb) info sources
Source files for which symbols have been read in:
Source/Driver/led.c, Source/Driver/evaluator7T.h, Source/runner.c,
Source/Driver/led.h, Source/keyhand.c, Source/control.c, Source/system=
2.h,
Source/bg.c, source/OSE/include/ose.h
Source files for which symbols will be read in on demand:
Source/Driver/led.c, Source/test.c, Source/Driver/led.h, Source/runner.=
c,
Source/motor.c, Source/keyhand.c, Source/display.c, Source/system2.h,
source/OSE/include/ose.h, Source/bg.c
kind regards
Nikolai Fink
+41 61 715 6698
E+H Flowtec AG
K=E4genstr. 7
CH-4153 Reinach
=