From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Case Newsgroups: gmane.emacs.help Subject: Need some debugging advice ?? Date: Sun, 08 Jul 2007 18:49:26 -0400 Message-ID: <1183934967.2857.36.camel@CASE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183935143 5765 80.91.229.12 (8 Jul 2007 22:52:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2007 22:52:23 +0000 (UTC) To: EMACS List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 00:52:21 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I7fc5-0006sU-Dn for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jul 2007 00:52:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7fc4-0006xL-So for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jul 2007 18:52:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7fbp-0006x7-UY for help-gnu-emacs@gnu.org; Sun, 08 Jul 2007 18:52:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7fbo-0006wu-Ia for help-gnu-emacs@gnu.org; Sun, 08 Jul 2007 18:52:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7fbo-0006wr-8e for help-gnu-emacs@gnu.org; Sun, 08 Jul 2007 18:52:04 -0400 Original-Received: from smtp104.rog.mail.re2.yahoo.com ([206.190.36.82]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I7fbn-0002Nx-Qk for help-gnu-emacs@gnu.org; Sun, 08 Jul 2007 18:52:03 -0400 Original-Received: (qmail 59579 invoked from network); 8 Jul 2007 22:52:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=JRvGupvHXBejsgJ5A6cLvs9c3Q51QvtO/UiOdGZRkDjScI3JpRVZJsVELbqnIzIsP0S6TUOkN+T5Yts1Zpk/KTqWdVERG7wpN8/KR3fJ4xFejB5FxK4wfV9ebhYKeP7SxlAotmOYem7qosRv/R85gukxlcEHTBzEm//ku68UMao= ; Original-Received: from unknown (HELO ?192.168.1.4?) (billlinux@rogers.com@74.104.51.86 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 8 Jul 2007 22:52:02 -0000 X-YMail-OSG: MFmTNxcVM1nrQUcnDKUBphYlT0qsLwP5jFog0tjVizfzIsdMjTGCyQQBZ3Op6eMsQQ-- X-Mailer: Evolution 2.10.2 (2.10.2-3.fc7) X-detected-kernel: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45544 Archived-At: Hi; I am looking for advice on learning to use gdb, GUD and friends, particularly for 'C'. I have just read Info re: GUD and gdb, as well as the RedHat gdb manual, and 'man' gdb. My confusion is now complete. I will work out how all this information fits together eventually. I don't mind doing the work or the necessary reading. The advice I need is: Where should I start? My programming experience is "newish" without being a complete newbie. I have written several short programs in 'C' for example; some of them textbook exercises, some of them my own. What kind of window and frame arrangement seems to work best, particularly for someone new? Is there features I should make sure I include? Is there anything I might not have thought of. I was thinking of starting in a raw terminal using basic gdb commands until I had figured out how they work, then graduate to gdb/GUD. Is this a good idea? Whatever else is worth throwing in ? By the way, I am not a student; I am long past that; so its not a case of me asking you to do my homework for me. -- Regards Bill