Closed Bug 1510031 Opened 11 months ago Closed 11 months ago

--debugger=rust-gdb should automatically append --args to debugger command line

Categories

(Testing :: Mozbase, enhancement)

59 Branch
enhancement
Not set

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

Currently if you run something like `./mach crashtest --debugger=gdb` the gdb invocation will automatically have the --args in the right place, thanks to [1]. It should do the same thing for the "rust-gdb" debugger which is a wrapper around gdb that makes it more rust-friendly and that is widely used by the rust community.

[1] https://searchfox.org/mozilla-central/rev/d35199ef15ffa57d190886e20d5df6471faf0870/testing/mozbase/mozdebug/mozdebug/mozdebug.py#35
See also bug 958475 for lldb. At some point me might have an easier setup to include other debuggers more easily.
See Also: → 958475
Assignee: nobody → kats
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43833d2f4dbd
Add rust-gdb to the list of debuggers. r=ahal
https://hg.mozilla.org/mozilla-central/rev/43833d2f4dbd
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.