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

Unified Diff: src/processor/microdump.cc

Issue 2006393004: [MIPS] Rename variable mips to mips32 (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 7 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/google_breakpad/processor/microdump.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/microdump.cc
diff --git a/src/processor/microdump.cc b/src/processor/microdump.cc
index 06211e60bca2aa59b9d29847faed0ef99322e019..45bc878450622427782692881ebc2b75469ae510 100644
--- a/src/processor/microdump.cc
+++ b/src/processor/microdump.cc
@@ -133,9 +133,9 @@ void MicrodumpContext::SetContextX86(MDRawContextX86* x86) {
valid_ = true;
}
-void MicrodumpContext::SetContextMIPS(MDRawContextMIPS* mips) {
+void MicrodumpContext::SetContextMIPS(MDRawContextMIPS* mips32) {
DumpContext::SetContextFlags(MD_CONTEXT_MIPS);
- DumpContext::SetContextMIPS(mips);
+ DumpContext::SetContextMIPS(mips32);
valid_ = true;
}
@@ -330,9 +330,9 @@ Microdump::Microdump(const string& contents)
<< std::endl;
continue;
}
- MDRawContextMIPS* mips = new MDRawContextMIPS();
- memcpy(mips, &cpu_state_raw[0], cpu_state_raw.size());
- context_->SetContextMIPS(mips);
+ MDRawContextMIPS* mips32 = new MDRawContextMIPS();
+ memcpy(mips32, &cpu_state_raw[0], cpu_state_raw.size());
+ context_->SetContextMIPS(mips32);
} else if (strcmp(arch.c_str(), kMips64Architecture) == 0) {
if (cpu_state_raw.size() != sizeof(MDRawContextMIPS)) {
std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size()
« no previous file with comments | « src/google_breakpad/processor/microdump.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698