Bochs-modifying aspect: never abort/ask the user on what to do
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1428 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -17,13 +17,21 @@ aspect BochsNonVerbose {
|
||||
|| execution("% logfunctions::info(...)")
|
||||
|| execution("% logfunctions::pass(...)")
|
||||
|| execution("% logfunctions::error(...)")
|
||||
|| execution("% logfunctions::panic(...)")
|
||||
: around () { }
|
||||
};
|
||||
*/
|
||||
|
||||
aspect BochsNonVerbose {
|
||||
pointcut get_default_action() = "int logfunctions::get_default_action(int)";
|
||||
|
||||
// make sure we're the innermost aspect
|
||||
advice call(get_default_action()) : order ("BochsNoAbort", "BochsNonVerbose");
|
||||
|
||||
// needed to suppress Bochs output *before* a state restore finished
|
||||
advice call("int logfunctions::get_default_action(int)")
|
||||
// This works around the BUG mentioned in bochs/logio.cc /
|
||||
// logfunctions::logfunctions().
|
||||
advice call(get_default_action())
|
||||
: around ()
|
||||
{
|
||||
int action;
|
||||
|
||||
Reference in New Issue
Block a user