unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Need some debugging advice ??
@ 2007-07-08 22:49 William Case
  2007-07-09  8:01 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: William Case @ 2007-07-08 22:49 UTC (permalink / raw)
  To: EMACS List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Need some debugging advice ??
  2007-07-08 22:49 Need some debugging advice ?? William Case
@ 2007-07-09  8:01 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2007-07-09  8:01 UTC (permalink / raw)
  To: help-gnu-emacs

> From: William Case <billlinux@rogers.com>
> Date: Sun, 08 Jul 2007 18:49:26 -0400
> 
> 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.

Then you've covered most of the preliminaries and are now ready to get
your hands dirty with some experience.

> My confusion is now complete.  

I hope the confusion is just an irony, and not a result of reading
confusing documentation.  If it's the latter, please be sure to report
any confusion as documentation bugs to the appropriate forums.

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

Yes, it's an excellent idea.  That's what I did at the time, and I'd
do it again if I had to start anew.

Good luck!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-09  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-08 22:49 Need some debugging advice ?? William Case
2007-07-09  8:01 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).