diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index f04b18a255..ad950464a0 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -557,6 +557,8 @@ BaseRemoteGDB::trap(ContextID id, int signum) send(""); } catch (CmdError &e) { send(e.error); + } catch (std::exception &e) { + panic("Unrecognzied GDB exception: %s", e.what()); } catch (...) { panic("Unrecognzied GDB exception."); }