Closed
Bug 1625614
Opened 4 years ago
Closed 4 years ago
gdb 9.1 doesn't like ambiguous `def` in .gdbinit
Categories
(Developer Infrastructure :: Developer Environment Integration, defect)
Developer Infrastructure
Developer Environment Integration
Tracking
(firefox76 fixed)
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: jld, Assigned: rstewart)
Details
Attachments
(1 file)
Starting GDB 9.1 (Debian package version 9.1-1) from the top level of a mozilla-central clone shows this error:
.gdbinit:25: Error in sourced command file:
Ambiguous command "def prun": define, define-prefix.
And the commands that would have been defined by that file aren't defined. It looks like gdb added the define-prefix
command in 9.1, making any proper prefix of define
ambiguous. We should change all of the def
s in our gdbinit to the unabbreviated define
.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Attachment #9136936 -
Attachment description: Bug 1625614 - gdb 9.1 doesn't like ambiguous `def` in .gdbinit → Bug 1625614 - Use un-prefixed "define" command in .gdbinit so as to not upset gdb 9.1
Updated•4 years ago
|
Assignee: nobody → rstewart
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•4 years ago
|
||
See the attached patch -- is this what you meant?
Flags: needinfo?(jld)
Reporter | ||
Comment 3•4 years ago
|
||
Yes; thanks. I applied that patch locally and GDB 9.1 successfully interprets the .gdbinit
file.
Flags: needinfo?(jld)
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/314b298f5af9 Use un-prefixed "define" command in .gdbinit so as to not upset gdb 9.1 r=froydnj
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•