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

Unified Diff: src/trusted/gdb_rsp/target.cc

Issue 6525058: Reverting: Several changes to fix debug_stub:... (issue6489005)... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/gdb_rsp/target.h ('k') | src/trusted/service_runtime/nacl_all_modules.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/gdb_rsp/target.cc
===================================================================
--- src/trusted/gdb_rsp/target.cc (revision 4321)
+++ src/trusted/gdb_rsp/target.cc (working copy)
@@ -42,8 +42,7 @@
cur_signal_(-1),
sig_thread_(0),
run_thread_(-1),
- reg_thread_(-1),
- mem_base_(0) {
+ reg_thread_(-1) {
if (NULL == abi_) abi_ = Abi::Get();
}
@@ -122,7 +121,7 @@
BreakMap_t::iterator cur = breakMap_.begin();
uint64_t addr = cur->first;
uint8_t *data = cur->second;
-
+
// Then remove it from the map
breakMap_.erase(cur);
@@ -438,9 +437,7 @@
err = BAD_FORMAT;
break;
}
- if (addr < mem_base_) {
- addr += mem_base_;
- }
+
if (!pktIn->GetNumberSep(&wlen, 0)) {
err = BAD_FORMAT;
break;
@@ -465,10 +462,6 @@
err = BAD_FORMAT;
break;
}
- if (addr < mem_base_) {
- addr += mem_base_;
- }
-
if (!pktIn->GetNumberSep(&wlen, 0)) {
err = BAD_FORMAT;
break;
« no previous file with comments | « src/trusted/gdb_rsp/target.h ('k') | src/trusted/service_runtime/nacl_all_modules.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698