LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

How To Debug Linux C Programs Effectively Using The Debugger

Posted 02-20-2019 at 02:23 PM by rtmistler
Updated 02-25-2019 at 10:23 AM by rtmistler

Introduction

The purpose of this blog is to provide a guide to Linux C (and C++) programmers as to how to use the Gnu DebuGger, GDB, effectively.

My reasons for writing this are because I participate a great deal in the Linux Questions site and view, plus respond to a number of questions in the Programming forum, and I notice that programmers of various experience seem to be lacking in either experience+knowledge, or initiative, to use the debugger.

This blog...
Attached Images
File Type: png emacs-1.png (67.5 KB, 25 views)
File Type: png emacs-2.png (42.1 KB, 18 views)
Moderator
Views 2414 Comments 1 rtmistler is offline
Old

Emacs rectangle search/replace

Posted 08-21-2016 at 07:43 PM by flshope

I use Emacs to write code occasionally, mostly Fortran. A common thing I need to do is search and replace everywhere in a region confined to a rectangle within the text. An example is altering an existing code from Fortran 77 format to Fortran 90, specifically changing all of the Cs in column one (indicating comments) to !s. In Emacs terminology, this is a rectangle of width 1 character and as high as the number of lines in the code.

I have had difficulty figuring out how to do this...
Member
Posted in Uncategorized
Views 1743 Comments 0 flshope is offline
Old

Day < 5...

Posted 03-25-2009 at 11:14 PM by thebusker

Right-o,

Been tackling this Linux beast for some days now, and I have settled on Debian.

I don't have sound and I don't have internet, but I have Linux. It's a start.

This whole thing began as some sort of immersion therapy attempt to learn C. Got myself a K&R, a Debian Distro and have just downloaded Emacs with my *cough* Vista box.

The plan is to work my way through K&R, get my audio and net up with some help from LQ, et.al.,...
LQ Newbie
Posted in Uncategorized
Views 2680 Comments 0 thebusker is offline

  



All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
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