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

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

Issue 10365028: Debug stub: associate NaClAppThread with IThread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 8 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
Index: src/trusted/gdb_rsp/session_mock.cc
diff --git a/src/trusted/gdb_rsp/session_mock.cc b/src/trusted/gdb_rsp/session_mock.cc
index f67924653fb33b1be2379e3d83b25756e0031a77..00158bd84b4b87eddd82c1dfcccf8a341419e7dc 100644
--- a/src/trusted/gdb_rsp/session_mock.cc
+++ b/src/trusted/gdb_rsp/session_mock.cc
@@ -143,7 +143,7 @@ void AddMockUpdate(SessionMock* ses, uint8_t sig) {
// Setup Register Query
std::string str = "";
- port::IThread *thread = port::IThread::Acquire(0x1234, true);
+ port::IThread *thread = port::IThread::Create(0x1234, NULL);
for (uint32_t a = 0; a < abi->GetRegisterCount(); a++) {
char tmp[8];
const Abi::RegDef* def = abi->GetRegisterDef(a);

Powered by Google App Engine
This is Rietveld 408576698