Revision: 11821
Author: [email protected]
Date: Thu Jun 14 08:04:27 2012
Log: Check for valid PC when stepping in the ARM sim debugger.
BUG=v8:2134
TEST=
Review URL: https://chromiumcodereview.appspot.com/10546169
http://code.google.com/p/v8/source/detail?r=11821
Modified:
/branches/bleeding_edge/src/arm/simulator-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/simulator-arm.cc Thu Feb 16 06:16:12
2012
+++ /branches/bleeding_edge/src/arm/simulator-arm.cc Thu Jun 14 08:04:27
2012
@@ -1,4 +1,4 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
+// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -276,7 +276,7 @@
// make them invisible to all commands.
UndoBreakpoints();
- while (!done) {
+ while (!done && !sim_->has_bad_pc()) {
if (last_pc != sim_->get_pc()) {
disasm::NameConverter converter;
disasm::Disassembler dasm(converter);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev