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

Issue 191004: Fix the debugger in the ARM simulator (Closed)

Created:
11 years, 3 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
iposva, Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Fix the debugger in the ARM simulator. The debugger in the ARM simulator is now working again. Added a help command and a command to print all registers. Made the printobject command print something in release builds. Committed: http://code.google.com/p/v8/source/detail?r=2818

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -12 lines) Patch
M src/arm/simulator-arm.cc View 9 chunks +39 lines, -12 lines 6 comments Download

Messages

Total messages: 5 (0 generated)
Søren Thygesen Gjesse
11 years, 3 months ago (2009-09-02 14:03:38 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/191004/diff/1/2 File src/arm/simulator-arm.cc (right): http://codereview.chromium.org/191004/diff/1/2#newcode383 Line 383: PrintF("print <register>\n"); It would be nice to ...
11 years, 3 months ago (2009-09-02 14:22:41 UTC) #2
Søren Thygesen Gjesse
http://codereview.chromium.org/191004/diff/1/2 File src/arm/simulator-arm.cc (right): http://codereview.chromium.org/191004/diff/1/2#newcode383 Line 383: PrintF("print <register>\n"); On 2009/09/02 14:22:44, Erik Corry wrote: ...
11 years, 3 months ago (2009-09-02 14:47:19 UTC) #3
iposva
After the fact comments that should be addressed. -Ivan http://codereview.chromium.org/191004/diff/1/2 File src/arm/simulator-arm.cc (right): http://codereview.chromium.org/191004/diff/1/2#newcode276 Line ...
11 years, 3 months ago (2009-09-04 05:30:24 UTC) #4
Søren Thygesen Gjesse
11 years, 3 months ago (2009-09-07 13:15:53 UTC) #5
On 2009/09/04 05:30:24, iposva wrote:
> After the fact comments that should be addressed.
> 
> -Ivan
> 
> http://codereview.chromium.org/191004/diff/1/2
> File src/arm/simulator-arm.cc (right):
> 
> http://codereview.chromium.org/191004/diff/1/2#newcode276
> Line 276: for (int i = 0; i <= 15; i++) {
> Please use named constants here.
> 
> http://codereview.chromium.org/191004/diff/1/2#newcode278
> Line 278: if (i <= 10) {
> and here.
> 
> http://codereview.chromium.org/191004/diff/1/2#newcode281
> Line 281: PrintF("%s: 08x%x %d\n", reg_names[15 + 16 - i], value, value);
> and here.
> 
> Better yet, abstract the register to name mapping from the disassembler into
> constants_arm.h and constants_arm.cc and use it here and in the disassembler.
> 
> http://codereview.chromium.org/191004/diff/1/2#newcode301
> Line 301: USE(obj);
> This USE can be dropped now, that obj is used in DEBUG and non-DEBUG builds.

These comments have been addressed in http://codereview.chromium.org/195024.

Powered by Google App Engine
This is Rietveld 408576698