GDB Debugger Resources

Does anyone know how to learn the GDB debugger? I'm currently using g++ and learning c using gcc and would like to learn how to use this tool. Unfortunately I can't find many resources on learning GDB on windows, the same goes for makefile tutorials.

Although Visual Studio C++ is good I like the fact that I don't have to use a big fat project folder for every generic exercise I do to learn.

Does anyone know where I can learn the GDB debugger preferably from a windows standpoint with some depth. Suggestions for makefile resources to would be greatly appreciated as well.

Edit: I'd also like to express that I have found some resources but generally the good ones involve Unix style makefiles which confuse me as I don't have any experience in Unix and the makefiles generally use Unix terminal commands. Editing is currently a problem since as I stated above I can't find many good windows oriented resources for makefiles either.

Ex. of a resource I found: http://www.dirac.org/linux/gdb/
Last edited on
> Does anyone know where I can learn the GDB debugger preferably from a windows standpoint with some depth.

This gdb tutorial is platform neutral: http://www.unknownroad.com/rtfm/gdbtut/gdbtoc.html


> Suggestions for makefile resources to would be greatly appreciated as well.

Though it is called a manual, this is an excellent tutorial:
http://www.gnu.org/software/make/manual/make.html
Caveat: GNU's gmake (not posix make).

Microsoft's nmake: http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx
Topic archived. No new replies allowed.