Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Issue 12465020: Add GDB printers for several more vocabulary types in Chrome (Closed)

Created:
7 years, 9 months ago by Jeffrey Yasskin
Modified:
7 years, 9 months ago
Reviewers:
tony
CC:
chromium-reviews
Visibility:
Public.

Description

Add GDB printers for several more vocabulary types in Chrome I also refactored some of the structure and fixed a bug in RenderProcessHostImplPrinter when some debug information is missing. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189875

Patch Set 1 #

Patch Set 2 : unsigned short*.string() doesn't work; add back webkit dependency #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -27 lines) Patch
M tools/gdb/gdb_chrome.py View 1 5 chunks +175 lines, -27 lines 6 comments Download

Messages

Total messages: 6 (0 generated)
Jeffrey Yasskin
Below is some sample output for most of the new printers. Feel free to ask ...
7 years, 9 months ago (2013-03-21 23:55:25 UTC) #1
tony
LGTM. The output looks nice, if someone wants a different format, they can change it ...
7 years, 9 months ago (2013-03-22 00:05:04 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py File tools/gdb/gdb_chrome.py (right): https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py#newcode120 tools/gdb/gdb_chrome.py:120: if flag and flag.dereference()['is_valid_']: Oh, one thing I wanted ...
7 years, 9 months ago (2013-03-22 00:17:29 UTC) #3
tony
still LGTM https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py File tools/gdb/gdb_chrome.py (right): https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py#newcode120 tools/gdb/gdb_chrome.py:120: if flag and flag.dereference()['is_valid_']: On 2013/03/22 00:17:29, ...
7 years, 9 months ago (2013-03-22 16:48:43 UTC) #4
Jeffrey Yasskin
Committed patchset #2 manually as r189875 (presubmit successful).
7 years, 9 months ago (2013-03-22 19:28:52 UTC) #5
Jeffrey Yasskin
7 years, 9 months ago (2013-03-22 19:29:05 UTC) #6
Message was sent while issue was closed.
On 2013/03/22 16:48:43, tony wrote:
> still LGTM
> 
> https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py
> File tools/gdb/gdb_chrome.py (right):
> 
>
https://codereview.chromium.org/12465020/diff/2001/tools/gdb/gdb_chrome.py#ne...
> tools/gdb/gdb_chrome.py:120: if flag and flag.dereference()['is_valid_']:
> On 2013/03/22 00:17:29, Jeffrey Yasskin wrote:
> > Oh, one thing I wanted to ask: I could write this as either
> > flag.dereference()['is_valid_] or just flag['is_valid']. (Of all the things
> > gdb-python could have made implicit, they chose the difference between '.'
and
> > '->'?!?) I think I slightly prefer the implicit form, but I can definitely
see
> > an argument for being explicit. What do you think?
> 
> I would probably use the implicit flag['is_valid'], but either is OK with me.

Done, thanks!

Powered by Google App Engine
This is Rietveld 408576698