Dear All
A user is trying to get kdevelop+gdb working with gpc.
I have installed gpc-20060325 + gcc-3.4.4 on Fedora Core 6 which has gdb-6.5 installed.
However, the usual gpc -g -o hello hello.p produces under gdb:
(gdb) list 1 <implicit code>: No such file or directory. in <implicit code>
I tried -ggdb and -gstabs+ as well...
Can anyone recommend a combination of gpc/gdb which works well?
Many thanks
Ian
Hello Ian,
IT> I tried -ggdb and -gstabs+ as well... IT> Can anyone recommend a combination of gpc/gdb which works well?
You can patch and rebuild gdb using patches made by Waldek Hebisch (http://www.math.uni.wroc.pl/~hebisch/gpc/).
Best regards, Igor Marnat mailto:marny@rambler.ru
Ian Thurlbeck a écrit:
Dear All
A user is trying to get kdevelop+gdb working with gpc.
I have installed gpc-20060325 + gcc-3.4.4 on Fedora Core 6 which has gdb-6.5 installed.
However, the usual gpc -g -o hello hello.p produces under gdb:
(gdb) list 1 <implicit code>: No such file or directory. in <implicit code>
I tried -ggdb and -gstabs+ as well...
This means that you are in the startup code before the entrance into the main program. after compiling with -gstabs+ try
gdb hello
b hello.p:3 < actual line number of begin run list
Maurice