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

Issue 7466014: Add rsp::GetOffsets command + reply (Closed)

Created:
9 years, 5 months ago by garianov1
Modified:
9 years, 5 months ago
Reviewers:
mmortensen
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Add rsp::GetOffsets command + reply bug=none test=debugger\rsp\rsp_packets_test.cc +debugger\rsp\rsp_blob_utils_test.cc Committed: http://code.google.com/p/nativeclient-sdk/source/detail?r=969

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -1 line) Patch
M debugger/rsp/rsp_blob_utils.h View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M debugger/rsp/rsp_blob_utils_test.cc View 2 chunks +39 lines, -1 line 0 comments Download
M debugger/rsp/rsp_info_packets.h View 1 chunk +31 lines, -0 lines 0 comments Download
M debugger/rsp/rsp_info_packets.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M debugger/rsp/rsp_packets.h View 3 chunks +6 lines, -0 lines 0 comments Download
M debugger/rsp/rsp_packets.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M debugger/rsp/rsp_packets_test.cc View 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
garianov1
9 years, 5 months ago (2011-07-20 22:20:53 UTC) #1
mmortensen
http://codereview.chromium.org/7466014/diff/1/debugger/rsp/rsp_blob_utils.h File debugger/rsp/rsp_blob_utils.h (right): http://codereview.chromium.org/7466014/diff/1/debugger/rsp/rsp_blob_utils.h#newcode49 debugger/rsp/rsp_blob_utils.h:49: return *blob; If blob is NULL, we don't want ...
9 years, 5 months ago (2011-07-21 17:19:33 UTC) #2
garianov1
PTAL http://codereview.chromium.org/7466014/diff/1/debugger/rsp/rsp_blob_utils.h File debugger/rsp/rsp_blob_utils.h (right): http://codereview.chromium.org/7466014/diff/1/debugger/rsp/rsp_blob_utils.h#newcode49 debugger/rsp/rsp_blob_utils.h:49: return *blob; On 2011/07/21 17:19:33, mmortensen wrote: > ...
9 years, 5 months ago (2011-07-21 17:31:44 UTC) #3
mmortensen
LGTM but please add the comment in rsp_blob_utils.h for sure. The other file is optional...but ...
9 years, 5 months ago (2011-07-21 17:36:44 UTC) #4
garianov1
9 years, 5 months ago (2011-07-21 17:50:36 UTC) #5
committed as rev 969

http://codereview.chromium.org/7466014/diff/15/debugger/rsp/rsp_blob_utils.h
File debugger/rsp/rsp_blob_utils.h (right):

http://codereview.chromium.org/7466014/diff/15/debugger/rsp/rsp_blob_utils.h#...
debugger/rsp/rsp_blob_utils.h:46: /// leading zeroes are ignored
On 2011/07/21 17:36:44, mmortensen wrote:
> Please add comments for this funciton with @param format like rest of file

Done.

http://codereview.chromium.org/7466014/diff/15/debugger/rsp/rsp_info_packets.cc
File debugger/rsp/rsp_info_packets.cc (right):

http://codereview.chromium.org/7466014/diff/15/debugger/rsp/rsp_info_packets....
debugger/rsp/rsp_info_packets.cc:131: bool GetOffsetsReply::FromBlob(const
std::string& type, debug::Blob* message) {
On 2011/07/21 17:36:44, mmortensen wrote:
> Optional: these functions don't have comments that describe them...but neither
> do the rest in the file.
> Would be nice to fix, but it's potentially beyond the scope of the review.

Will fix in the separate CL.

Powered by Google App Engine
This is Rietveld 408576698