LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LQ Articles Discussion (https://www.linuxquestions.org/questions/lq-articles-discussion-68/)
-   -   DISCUSSION: Debugging with GDB (Part 1) (https://www.linuxquestions.org/questions/lq-articles-discussion-68/discussion-debugging-with-gdb-part-1-a-468353/)

Matir 07-27-2006 05:19 PM

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

Quote:

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 10: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?

BHABANIPRASADPATI 07-20-2009 07:17 AM

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

masterniks 10-21-2011 09:46 AM

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

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

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

return 0
.Its giving same output to me


All times are GMT -5. The time now is 07:02 PM.