help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to attach some gdb variant within emacs?


From: Chming
Subject: Re: How to attach some gdb variant within emacs?
Date: Tue, 17 Jun 2008 21:39:22 -0700

Hi Nick,

The gud-gdb works. That's really awesome. Thank you very much.

About the debug log, it has nothing but the license info even if I
input pwd or quit. I guess the root reason is that the gdb is too old.

Thanks and regards,

Max

On Tue, Jun 17, 2008 at 3:06 PM, Nick Roberts <nickrob@snap.net.nz> wrote:
>  > 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.
>
> --
> Nick                                           http://www.inet.net.nz/~nickrob
>




reply via email to

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