LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion
User Name
Password
LQ Articles Discussion This forum is for the discussion of content posted to the Articles and Editorials section.

Notices


Reply
  Search this Thread
Old 07-27-2006, 05:19 PM   #1
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 07-28-2006, 10:43 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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?

Last edited by Nylex; 07-28-2006 at 10:45 AM.
 
Old 07-20-2009, 07:17 AM   #3
BHABANIPRASADPATI
Member
 
Registered: Aug 2006
Location: ORISSA,INDIA
Distribution: Linux MINT
Posts: 34

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

Last edited by BHABANIPRASADPATI; 07-21-2009 at 01:22 AM. Reason: I tried the above in Solaris, not working
 
Old 10-21-2011, 09:46 AM   #4
masterniks
LQ Newbie
 
Registered: Oct 2011
Location: ALLAHABAD
Posts: 1

Rep: Reputation: Disabled
AH...a helpul intro to gdb...!!
 
Old 11-09-2016, 10:33 PM   #5
P.G.Krish
Member
 
Registered: Jun 2016
Distribution: Ubuntu
Posts: 64

Rep: Reputation: Disabled
Exclamation It giving output

Hi,
I didn't get segmentation fault, even iam not put any
Code:
return 0
.Its giving same output to me
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fortran debugging question with g77 and gdb miasmak Programming 1 08-16-2006 07:03 AM
Help debugging with gdb and core files moon.es Programming 1 05-28-2005 04:58 AM
gdb crashes when debugging pthread-ed program tbruer1138 Programming 0 04-21-2005 05:38 PM
gdb problem during debugging xine crash ... rs_javadi Linux - Software 0 08-24-2004 06:25 AM
Multi-thread debugging with gdb on RedHat 9.0 Rodney Riggs Linux - Software 0 09-23-2003 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration