diff options
author | Veljko Mihailovic <veljko.mihailovic@imgtec.com> | 2016-05-25 10:13:18 -0400 |
---|---|---|
committer | Mark Mentovai <mark@chromium.org> | 2016-05-25 10:13:18 -0400 |
commit | 71a5ee37a5c34b5de383c93a57424040d24a82ba (patch) | |
tree | 38f1aa831e892cba903d3120d52100830f6fa11d /src/processor | |
parent | Fixing an unused-variable warning in microdump_writer.cc (diff) | |
download | breakpad-71a5ee37a5c34b5de383c93a57424040d24a82ba.tar.xz |
[MIPS] Rename variable mips to mips32
Renaming variable mips to mips32 since mips is already defined
by the toolchain.
BUG=Compile error in Chromium
R=mark@chromium.org
Review URL: https://codereview.chromium.org/2006393004 .
Patch from Veljko Mihailovic <veljko.mihailovic@imgtec.com>.
Diffstat (limited to 'src/processor')
-rw-r--r-- | src/processor/microdump.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/processor/microdump.cc b/src/processor/microdump.cc index 06211e60..45bc8784 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() |