From 2cff263edd0c753217b6ccadb81cf2200f47d5c1 Mon Sep 17 00:00:00 2001 From: hsc <hsc@8c4709b5-6ec9-48aa-a5cd-a96041d1645a> Date: Mon, 16 Apr 2012 11:42:29 +0000 Subject: [PATCH] checksum-oostubs: typo, TRAP details git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1078 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- core/experiments/checksum-oostubs/experiment.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/experiments/checksum-oostubs/experiment.cc b/core/experiments/checksum-oostubs/experiment.cc index aea6832d..867fedff 100644 --- a/core/experiments/checksum-oostubs/experiment.cc +++ b/core/experiments/checksum-oostubs/experiment.cc @@ -251,11 +251,15 @@ bool ChecksumOOStuBSExperiment::run() log << std::dec << "Result FINISHED" << endl; param.msg.set_resulttype(param.msg.FINISHED); } else if (ev == &ev_halt) { - log << std::dec << "Result HALT #" << endl; + log << std::dec << "Result HALT" << endl; param.msg.set_resulttype(param.msg.HALT); } else if (ev == &ev_trap) { log << std::dec << "Result TRAP #" << ev_trap.getTriggerNumber() << endl; param.msg.set_resulttype(param.msg.TRAP); + + std::stringstream ss; + ss << ev_trap.getTriggerNumber(); + param.msg.set_details(ss.str()); } else { log << std::dec << "Result WTF?" << endl; param.msg.set_resulttype(param.msg.UNKNOWN); -- GitLab