summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-11-10 21:05:31 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-11-10 21:05:31 -0500
commit99bf6ed0849085588c3d51679218c5b53ab4b9c0 (patch)
tree3bcfd8de4417ebb04e4645c622bee3da25d74644 /base
parentd727c2b6cf68df62a5603da40d86b5f3da81df75 (diff)
downloadgem5-99bf6ed0849085588c3d51679218c5b53ab4b9c0.tar.xz
Syscall DPRINTF and warning cleanup.
base/trace.hh: Need std:: on DPRINTFR reference to string class. base/traceflags.py: Remove SyscallWarnings trace flag... we should always print warnings so nothing undesirable goes unnoticed. Replaced with (currently unused) Syscall flag. sim/syscall_emul.cc: Change SyscallWarning DPRINTFs into warn() calls. Uncomment SyscallVerbose DPRINTFs. sim/syscall_emul.hh: Change SyscallWarning DPRINTFs into warn() calls. Call fatal() instead of ad-hoc termination. --HG-- extra : convert_revision : dc6c2ce3691a129f697b6a6ae5d889e2dbaab228
Diffstat (limited to 'base')
-rw-r--r--base/trace.hh2
-rw-r--r--base/traceflags.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/base/trace.hh b/base/trace.hh
index 02f1b0de9..5e14f1bff 100644
--- a/base/trace.hh
+++ b/base/trace.hh
@@ -203,7 +203,7 @@ do { \
#define DPRINTFR(x, args...) \
do { \
if (Trace::IsOn(Trace::x)) \
- __dprintf((Tick)-1, string(), args, cp::ArgListNull()); \
+ __dprintf((Tick)-1, std::string(), args, cp::ArgListNull()); \
} while (0)
#define DPRINTFN(args...) \
diff --git a/base/traceflags.py b/base/traceflags.py
index d44d44681..e814a00fb 100644
--- a/base/traceflags.py
+++ b/base/traceflags.py
@@ -98,7 +98,7 @@ baseFlags = [
'Serialize',
'Event',
'PCEvent',
- 'SyscallWarnings',
+ 'Syscall',
'SyscallVerbose',
'DiskImage',
'DiskImageRead',