bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB debugging for a big c language project.


From: MaiTiano
Subject: GDB debugging for a big c language project.
Date: Wed, 11 Nov 2009 05:05:36 -0800 (PST)
User-agent: G2/1.0

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!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]