emacs-devel
[Top][All Lists]
Advanced

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

Re: Gdb in emacs 24


From: Stefan Monnier
Subject: Re: Gdb in emacs 24
Date: Wed, 19 Oct 2011 17:22:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>>> Pretty much any MI command will do that, e.g., "-list-features".
>> Then could someone patch gdb-mi.el to use this as a test and send
>> a clear error message to the user about the need for "-i=mi"?
>> I think it's too late to use "interpreter exec" for 24.1, but such
>> a test would at least address some of the bug reports I've seen where
>> users had used "--annotate=3".
> As I said, if the use of annotate is the only problem, it can be disabled 
> with a
> simple gdb command just after gdb-mi.el starts gdb:

>         set annotate 0

> This trivial change should address all the bugs you referred to.

I don't think so: those users had "--annotate=3" *instead* of "-i=mi",
so setting annotation to 0 would probably not help much, since M-x gdb
would still hang, waiting for the MI-style answers which gdb wouldn't give.

> Then the check you say is just to cover the case of the user starting gdb with
> "-i=tui", which will probably never happen.

No it's also to cover the case where "-i=mi" is missing.


        Stefan



reply via email to

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