Add mach option for gdb/mi output

RESOLVED FIXED in Firefox 48

Status

enhancement
RESOLVED FIXED
3 years ago
Last year

People

(Reporter: qdot, Assigned: farre)

Tracking

(Blocks 1 bug)

Trunk
mozilla48
Dependency tree / graph

Firefox Tracking Flags

(firefox48 fixed)

Details

Attachments

(1 attachment)

It'd be nice to have the ability to use gdb/mi when launching things via mach, that way I could debug mochitests via gud-mode in emacs, for instance.
Assignee

Comment 1

3 years ago
Check if the INSIDE_EMACS environment variable is set and change the
log level to WARNING to not confuse the emacs/mi with logging messages.

Review commit: https://reviewboard.mozilla.org/r/45477/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/45477/
Attachment #8739999 - Flags: review?(gps)
Attachment #8739999 - Flags: review?(gps) → review+
Comment on attachment 8739999 [details]
MozReview Request: Bug 1254313 - Log less when running mach run --debug within emacs. r?gps

https://reviewboard.mozilla.org/r/45477/#review42027

Sure. Thanks for tracking this down.
Assignee

Comment 3

3 years ago
Great!

Given that it now is possible to use gdb/mi using --debugparams this should be done so setting checkin-needed.
Keywords: checkin-needed
Assignee never got changed on this, fixing that. :)
Assignee: kyle → afarre

Comment 6

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/1e038d4d718f
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48

Updated

Last year
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.