[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to attach some gdb variant within emacs?

From: Nick Roberts
Subject: Re: How to attach some gdb variant within emacs?
Date: Wed, 18 Jun 2008 10:06:00 +1200

 > I need to use one variant of gdb for debugging. I thought it could be
 > attached into my emacs(latest cvs version) with the setting of the
 > variable
 > gud-gdb-command-name(with --fullname or --annotate=3). However, it
 > does not work. The command for gdb has no response at all. I tried it
 > on the older emacs(21.3) and there is no problem in this hack. Could
 > someone tell how to solve this?

The "--annotate=3" should work with M-x gdb in CVS Emacs.  You don't say what
platform you are using and 6.1 is quite an old version of GDB.  Try a newer
version if you can.  Otherwise do M-x gdb-enable-debug, start GDB in Emacs and
then when it freezes post the value of gdb-dubug-log here (or just to me if
it's too long).  Please do this with M-x report-emacs-bug so I can see your
configuration too.

The "--fullname" option with M-x gdb has been broken for sometime in
CVS Emacs and will go shortly.  Use M-x gud-gdb instead.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]