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

Issue 12903006: Drops into Simulator Debugger only in a session that is already interactive. (Closed)

Created:
7 years, 9 months ago by zra
Modified:
7 years, 9 months ago
Reviewers:
regis, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Drops into Simulator Debugger only in a session that is already interactive. This change backs out an earlier change to the disassemblers that made them return false if an instruction couldn't be decoded. This was used in the simulator debuggers for arm and mips to avoid executing an instruction that couldn't be decoded. Instead, now when an unknown instruction is encountered in the simulator, if the simulator is running interactively, we drop into the debugger, and otherwise die. We detect that a simulator is running interactively by setting a flag if we enter the debugger for a user set break point. Committed: https://code.google.com/p/dart/source/detail?r=20394

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -137 lines) Patch
M runtime/vm/disassembler.h View 1 2 3 1 chunk +13 lines, -14 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 2 3 8 chunks +9 lines, -22 lines 0 comments Download
M runtime/vm/disassembler_ia32.cc View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M runtime/vm/disassembler_mips.cc View 1 2 3 8 chunks +10 lines, -21 lines 0 comments Download
M runtime/vm/disassembler_x64.cc View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M runtime/vm/simulator_arm.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/simulator_arm.cc View 1 2 3 29 chunks +44 lines, -43 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/simulator_mips.cc View 1 2 3 9 chunks +35 lines, -25 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
zra
7 years, 9 months ago (2013-03-21 16:57:00 UTC) #1
regis
LGTM https://codereview.chromium.org/12903006/diff/1/runtime/vm/simulator_arm.h File runtime/vm/simulator_arm.h (right): https://codereview.chromium.org/12903006/diff/1/runtime/vm/simulator_arm.h#newcode142 runtime/vm/simulator_arm.h:142: // Accesors to set and check whether the ...
7 years, 9 months ago (2013-03-21 17:21:13 UTC) #2
zra
https://codereview.chromium.org/12903006/diff/1/runtime/vm/simulator_arm.h File runtime/vm/simulator_arm.h (right): https://codereview.chromium.org/12903006/diff/1/runtime/vm/simulator_arm.h#newcode142 runtime/vm/simulator_arm.h:142: // Accesors to set and check whether the simulator ...
7 years, 9 months ago (2013-03-21 17:48:51 UTC) #3
Ivan Posva
https://codereview.chromium.org/12903006/diff/11001/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/12903006/diff/11001/runtime/vm/simulator_arm.cc#newcode1422 runtime/vm/simulator_arm.cc:1422: dbg.Attach(instr, message); What will happen if a test with ...
7 years, 9 months ago (2013-03-21 18:23:36 UTC) #4
zra
On 2013/03/21 18:23:36, Ivan Posva wrote: > https://codereview.chromium.org/12903006/diff/11001/runtime/vm/simulator_arm.cc > File runtime/vm/simulator_arm.cc (right): > > https://codereview.chromium.org/12903006/diff/11001/runtime/vm/simulator_arm.cc#newcode1422 ...
7 years, 9 months ago (2013-03-21 18:32:08 UTC) #5
zra
On 2013/03/21 18:32:08, zra wrote: > On 2013/03/21 18:23:36, Ivan Posva wrote: > > > ...
7 years, 9 months ago (2013-03-21 22:07:44 UTC) #6
zra
https://codereview.chromium.org/12521020/
7 years, 9 months ago (2013-03-21 22:08:24 UTC) #7
zra
On 2013/03/21 22:08:24, zra wrote: > https://codereview.chromium.org/12521020/ The change to the test script has landed, ...
7 years, 9 months ago (2013-03-22 17:08:00 UTC) #8
regis
LGTM
7 years, 9 months ago (2013-03-22 17:33:55 UTC) #9
zra
7 years, 9 months ago (2013-03-22 18:11:12 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r20394 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698