-   LQ Articles Discussion (
-   -   DISCUSSION: Debugging with GDB (Part 1) (

Matir 07-27-2006 06:19 PM

DISCUSSION: Debugging with GDB (Part 1)
This thread is to discuss the article titled:
Debugging with GDB (Part 1)


The GNU Debugger (GDB for short) is a powerful tool in the debugging of programs written in C, C++, and many other languages. This article will cover an introduction to debugging C applications using GDB.

Nylex 07-28-2006 11:43 AM

Thanks. I've never used gdb before (and it looked scary), so that was a nice introduction :). It might just be me, but the "#include" lines don't look complete. Shouldn't they read something like "#include <foobar.h>"? At first I thought that was intentional, but if it was, it wasn't picked up by gcc or gdb. Did I miss something?


its not working in Solaris . :cry:
man gcc
man gdb
are giving absolutely no output -> no manul entry found.

masterniks 10-21-2011 10:46 AM

AH...a helpul intro to gdb...!!

P.G.Krish 11-09-2016 11:33 PM

It giving output
I didn't get segmentation fault, even iam not put any

return 0
.Its giving same output to me

All times are GMT -5. The time now is 08:15 AM.