mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-28 23:41:03 +00:00
Log exceptions
This commit is contained in:
@@ -303,9 +303,9 @@ namespace
|
||||
{
|
||||
this->emu_->start_from_ip();
|
||||
}
|
||||
catch (...)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
return gdb_action::resume;
|
||||
puts(e.what());
|
||||
}
|
||||
|
||||
return gdb_action::resume;
|
||||
@@ -317,9 +317,9 @@ namespace
|
||||
{
|
||||
this->emu_->start_from_ip({}, 1);
|
||||
}
|
||||
catch (...)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
return gdb_action::resume;
|
||||
puts(e.what());
|
||||
}
|
||||
|
||||
return gdb_action::resume;
|
||||
|
||||
Reference in New Issue
Block a user