gcc: fix unused variable warnings from GCC 4.6.1

--HG--
extra : rebase_source : f9e22de341493a25ac6106c16ac35c61c128a080
This commit is contained in:
Nathan Binkert
2011-12-13 11:49:27 -08:00
parent 9b52717a92
commit 6ef9691035
13 changed files with 55 additions and 41 deletions

View File

@@ -648,8 +648,7 @@ BaseRemoteGDB::trap(int type)
bufferSize = gdbregs.bytes() * 2 + 256;
buffer = (char*)malloc(bufferSize);
TheISA::PCState pc = context->pcState();
DPRINTF(GDBMisc, "trap: PC=%s\n", pc);
DPRINTF(GDBMisc, "trap: PC=%s\n", context->pcState());
clearSingleStep();