Re: GDB with Eclipse *almost* working...
Bryan Evenson
All,
toggle quoted message
Show quoted text
-----Original Message-----The application I was trying to debug was not an Autotooled project. I have another application that is an Autotooled project; I tried debugging the second one and I could see the source code just fine. Eclipse had properly set the CFLAGS properly so I could do a debug build. For the straight Makefile project, I have to set a variable so it does a debug build. Once I set the environment variable for the Debug configuration so that it would actually use "-g -O0" in the CFLAGS the source files showed up and I can now set breakpoints. So if you aren't seeing the source file, make sure that your application is really doing a debug build. Regards, Bryan
|
|