I've been experimenting with a patch in mach that adds a quiet flag that
sets the verbosity level to WARNING. After that I can start with M-x gdb,
and then substituting the gdb command with:

$HOME/src/gecko/mach --log-file /dev/null run -q --debug
--debugparams="-i=mi -fullname"

and it works.

On Fri, Apr 8, 2016 at 2:21 PM, Jim Blandy <[email protected]> wrote:

> I don't know of a good way to make mach stop chatting in the middle of
> GDB's serious conversation with Emacs. It sure would be nice to fix this.
>
> Note that Emacs sets the "EMACS" environment variable to "t" in the GDB
> subprocess. Perhaps mach could use this as a way to automatically behave
> correctly.
>
> On Fri, Apr 8, 2016 at 10:55 AM, Kyle Machulis <[email protected]>
> wrote:
>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1254313
>>
>> I've had this filed for a while now, just need to do something about it.
>> :/
>>
>> On Fri, Apr 8, 2016 at 9:13 AM, Andreas Farre <[email protected]> wrote:
>>
>> > Looking for someone emacs savvy to help me with running mach --debug as
>> a
>> > command for M-x gdb. Currently there is an issue with mach logging a
>> bit to
>> > much which screws up the GDB/MI communication with emacs. Has anyone
>> > already some solution for this? Otherwise I got it working by adding a
>> > quiet flag to mach --debug that changes the log level to not log
>> > informative messages, is this the "right" way?
>> >
>> > farre
>> > _______________________________________________
>> > dev-platform mailing list
>> > [email protected]
>> > https://lists.mozilla.org/listinfo/dev-platform
>> >
>> _______________________________________________
>> dev-platform mailing list
>> [email protected]
>> https://lists.mozilla.org/listinfo/dev-platform
>>
>
>
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to