Now I have a project which include three directories **/bin**, **/ inc** and **/src**. All of header files (*.h) are included in **/inc** and all of source (*.c) files are stored in **/src**, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin.
after compling with makefile, all of obj files will be generated in **/ src/obj** like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the **/bin** directory. Now if I want to debug it with GDB, how can I do it??? To debug those obj files in /src/obj? or somewhat else? Many thanks for the kind help! _______________________________________________ bug-gdb mailing list bug-gdb@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gdb