disabling debug output
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1623 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -77,7 +77,7 @@ aspect MemAccess {
|
||||
|
||||
advice execution (write_methods_new_stack()) : after ()
|
||||
{
|
||||
std::cerr << "WOOOOOT write_methods_new_stack" << std::endl;
|
||||
//std::cerr << "WOOOOOT write_methods_new_stack" << std::endl;
|
||||
// TODO: Log-level?
|
||||
fail::simulator.onMemoryAccess(
|
||||
*(tjp->arg<1>()), sizeof(*(tjp->arg<3>())), true,
|
||||
@ -86,7 +86,7 @@ aspect MemAccess {
|
||||
|
||||
advice execution (write_methods_new_stack_64()) : after ()
|
||||
{
|
||||
std::cerr << "WOOOOOT write_methods_new_stack_64" << std::endl;
|
||||
//std::cerr << "WOOOOOT write_methods_new_stack_64" << std::endl;
|
||||
// TODO: Log-level?
|
||||
fail::simulator.onMemoryAccess(
|
||||
*(tjp->arg<0>()), sizeof(*(tjp->arg<2>())), true,
|
||||
|
||||
@ -11,7 +11,7 @@ namespace fail {
|
||||
|
||||
bool QEMUMemWriteListener::onAddition()
|
||||
{
|
||||
std::cout << "QEMUMemWriteListener::onAddition" << std::endl;
|
||||
//std::cout << "QEMUMemWriteListener::onAddition" << std::endl;
|
||||
if (failqemu_add_watchpoint(simulator.m_cpuenv, m_WatchAddr, m_WatchWidth, 1) != 0) {
|
||||
std::cout << "adding watchpoint failed!" << std::endl;
|
||||
return false;
|
||||
@ -21,7 +21,7 @@ bool QEMUMemWriteListener::onAddition()
|
||||
|
||||
void QEMUMemWriteListener::onDeletion()
|
||||
{
|
||||
std::cout << "QEMUMemWriteListener::onDeletion" << std::endl;
|
||||
//std::cout << "QEMUMemWriteListener::onDeletion" << std::endl;
|
||||
failqemu_remove_watchpoint(simulator.m_cpuenv, m_WatchAddr, m_WatchWidth, 1);
|
||||
}
|
||||
|
||||
|
||||
@ -19,7 +19,6 @@ void fail_init(struct CPUX86State *env)
|
||||
|
||||
void fail_watchpoint_hit(struct CPUX86State *env, uint64_t addr, int width, int is_write)
|
||||
{
|
||||
std::cout << "fail_breakpoint_hit" << std::endl;
|
||||
// FIXME: instruction pointer
|
||||
fail::simulator.onMemoryAccess(addr, width, is_write == 1, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user