summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-05-29 21:48:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-05-29 21:48:58 -0700
commit8dcbe8adb537dafcadbb97ff87605936fe42b2b7 (patch)
tree0510d86d2658dec2ddb02ca208167d8f9c24ecd4 /src/base
parent96138a79cddb6ea38800f4b097746cb8e1052a9e (diff)
downloadgem5-8dcbe8adb537dafcadbb97ff87605936fe42b2b7.tar.xz
Misc: Remove the URL from warnings, fatals, panics, etc.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/misc.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/base/misc.cc b/src/base/misc.cc
index 66896103f..97c56c8a0 100644
--- a/src/base/misc.cc
+++ b/src/base/misc.cc
@@ -28,8 +28,6 @@
* Authors: Nathan Binkert
*/
-#include <zlib.h>
-
#include <cstdlib>
#include <iostream>
#include <string>
@@ -70,20 +68,15 @@ __exit_message(const char *prefix, int code,
default:
format += "\n";
}
-
- uint32_t crc = crc32(0, (const Bytef*)fmt, strlen(fmt));
format += " @ cycle %d\n[%s:%s, line %d]\n";
format += "Memory Usage: %ld KBytes\n";
- format += "For more information see: http://www.m5sim.org/%s/%x\n";
args.push_back(curTick());
args.push_back(func);
args.push_back(file);
args.push_back(line);
args.push_back(memUsage());
- args.push_back(prefix);
- args.push_back(crc);
ccprintf(cerr, format.c_str(), args);
@@ -110,8 +103,6 @@ __base_message(std::ostream &stream, const char *prefix, bool verbose,
default:
format += "\n";
}
-
- uint32_t crc = crc32(0, (const Bytef*)fmt, strlen(fmt));
if (verbose) {
format += " @ cycle %d\n[%s:%s, line %d]\n";
@@ -121,11 +112,5 @@ __base_message(std::ostream &stream, const char *prefix, bool verbose,
args.push_back(line);
}
- if (strcmp(prefix, "warn") == 0) {
- format += "For more information see: http://www.m5sim.org/%s/%x\n";
- args.push_back(prefix);
- args.push_back(crc);
- }
-
ccprintf(stream, format.c_str(), args);
}