Closed Bug 1286467 Opened 8 years ago Closed 8 years ago

add gdb pretty printer for nsTHashtable/nsBaseHashtable/friends

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: asuth, Assigned: asuth)

References

Details

Attachments

(2 files)

I have this working, patch coming in a moment, just want a bug number issued.  Note that I'm not sure this is the right component for this, but it's where bug 985566 lived that added the non-spidermonkey pretty printers.
:froydnj seems unavailable for reviews right now, but as the author of the pretty printers, :tbsaunde, you seem like a pretty good pick too!
Attachment #8770423 - Flags: review?(tbsaunde+mozbugs)
Comment on attachment 8770423 [details] [diff] [review]
nsTHashtable pretty printer, v1

I'm not feeling that great today, and I'm not sure I'm up to reviewing this much python anyway, so forwarding to Tromey.
Attachment #8770423 - Flags: review?(tbsaunde+mozbugs) → review?(ttromey)
Comment on attachment 8770423 [details] [diff] [review]
nsTHashtable pretty printer, v1

Review of attachment 8770423 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you for doing this.

This looks good.  I had one minor nit.

::: python/gdbpp/gdbpp/thashtable.py
@@ +1,1 @@
> +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-

I don't think c-basic-offset is needed here.
It doesn't affect python-mode.

I filed bug 1286877 to fix all the other instances of this in the tree.
Attachment #8770423 - Flags: review?(ttromey) → review+
Pushed by bugmail@asutherland.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f1350824e2ce
add gdb pretty printer for nsTHashtable/nsBaseHashtable/friends. r=tromey
https://hg.mozilla.org/mozilla-central/rev/f1350824e2ce
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Blocks: 1303174
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: