[Dev-C++] Re: MingW gdb debbuing problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Omar B. <oba...@gm...> - 2005-09-08 14:30:38
|
Hi, just wanted to tell you I resolved my issue =3DoS. It was indeed a newb= ie=20 thing... I had not selected the "Generate Debbuging info" in the=20 Project/Project Options/Compiler/Linker screen... anyway thank you. On 9/8/05, Omar Baqueiro <oba...@gm...> wrote: >=20 > Hello, I think this is a newbie question and it may not be anything but I= =20 > cant find information on the web about this (the most I found was that it= =20 > may be a bug on gdb). >=20 > So, I have a simple main.c program on a console application project.=20 > It compiles and builds OK,=20 >=20 > After that I add a breakpoint at some line in the program and run the=20 > program, but to my surprise the program runs and do not break on the=20 > specified breakpoint... >=20 > I looked for the debug information and this is what I got (btw I can not= =20 > COPY from the debug window, why? [using Dev 5 beta 4.9.9.2<http://4.9.9.2= > > ]): >=20 > pre-prompt > (gdb) > prompt > no source file named main.cpp > pre-prompt >=20 > error-begin > No source file named main.cpp > post-prompt > error > pre-prompt > (gdb) > ... >=20 > So I guess the debbuger is not finding my source file for some reason. FY= I=20 > I am using GDB 5.2.1. > And my source files are in a directory called "H:\My=20 > Documents\Programs\MyFirstSDL"=20 >=20 > Any clue?? > Thank you! >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > --=20 > Omar Baqueiro Espinosa > Computer Systems Engineer > Home: www.csc.liv.ac.uk/~omar/ <http://www.csc.liv.ac.uk/%7Eomar/> > Calendar: calendar.yahoo.com/obaqueiro=20 > <http://calendar.yahoo.com/obaqueiro> > PGP Key available at: www.csc.liv.ac.uk/~omar/pgp.html<http://www.csc.liv= .ac.uk/%7Eomar/pgp.html> > _____ >=20 --=20 Omar Baqueiro Espinosa Computer Systems Engineer Home: www.csc.liv.ac.uk/~omar/ <http://www.csc.liv.ac.uk/~omar/> Calendar: calendar.yahoo.com/obaqueiro <http://calendar.yahoo.com/obaqueiro= > PGP Key available at: www.csc.liv.ac.uk/~omar/pgp.html<http://www.csc.liv.ac.uk/~omar/pgp.html> _____ |