Closed Bug 1593393 Opened 5 years ago Closed 5 years ago

SpiderMonkey GDB pretty-printer: JSObject printer is broken

Categories

(Core :: JavaScript Engine, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: jimb, Assigned: jimb)

Details

Attachments

(1 file)

The home of the NON_NATIVE flag has changed, so printing an object dies with messages like this:

Python Exception <class 'gdb.error'> No type "Class" within class or namespace "js".: 

The pretty-printer expects to find the value of the NON_NATIVE flag in
js::Class, which doesn't exist any more. That flag is now a static const
member of JSClass.

Pushed by jblandy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd4d1c8dc980
Fix SpiderMonkey gdb JSObject pretty-printer. r=sfink
Assignee: nobody → jimb
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: