Closed Bug 1254313 Opened 5 years ago Closed 5 years ago

Add mach option for gdb/mi output

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: qdot, Assigned: farre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.
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.
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
https://hg.mozilla.org/mozilla-central/rev/1e038d4d718f
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.