help the GDB problem

help the GDB problem

Post by lewi » Wed, 23 Feb 2000 04:00:00



my GDB can't see  my source code,

so can't do the step tracing,

even use "dir" to add the directory cat't do that ether.

please help me!!

john,,

 
 
 

help the GDB problem

Post by Mark Clayto » Sat, 26 Feb 2000 04:00:00


When you compiled your app, did you specify the -g option?
What about when you linked?

Mark


>my GDB can't see  my source code,

>so can't do the step tracing,

>even use "dir" to add the directory cat't do that ether.

>please help me!!

>john,,