delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/10:35:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B338A4D.2030408@cs.umass.edu>
Date: Thu, 24 Dec 2009 10:35:41 -0500
From: Eliot Moss <moss AT cs DOT umass DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Questions about gnu debug
References: <807899 DOT 46035 DOT qm AT web25506 DOT mail DOT ukl DOT yahoo DOT com> <4B3387FF DOT 3040502 AT ateb DOT com>
In-Reply-To: <4B3387FF.3040502@ateb.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

And this may add a little to your understanding:

gdb is a reasonable debugging tool, but is
*command line* oriented. By itself, it provides
no GUI interface. If you compile with -g then
the available symbols let you talk about
(non-local) variables, code locations, etc.

emacs is an *editor* that can provide a somewhat
GUI-like interface to gdb, by interpreting line
numbers coming from gdb and positioning an editor
cursor on the indicated line (good for stepping,
etc.). And so forth. That is, emacs and gdb
can play together reasonably well, but it would
probably still feel somewhat primitive compared
to advanced GUI interfaces.

Eclipse can provide a good GUI interface,
perhaps not quite as well integrated for C/C++
as for Java, but I understand it is pretty
good. As stated before, it might be a little
finicky to set up. Again, I believe it is
calling gdb underneath.

Hope these distinctions help.    Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019