summaryrefslogtreecommitdiff
path: root/emulators/vmips/files/patch-vmips.cc
blob: 10c31ef29fc3cb88bcdbcef8887c2e779943f2e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- vmips.cc.orig	2013-05-25 22:21:31 UTC
+++ vmips.cc
@@ -591,9 +591,11 @@ vmips::run()
 	return 0;
 }
 
+#if 0
 static void vmips_unexpected() {
   fatal_error ("unexpected exception");
 }
+#endif
 
 static void vmips_terminate() {
   fatal_error ("uncaught exception");
@@ -602,7 +604,9 @@ static void vmips_terminate() {
 int
 main(int argc, char **argv)
 try {
+#if 0
 	std::set_unexpected(vmips_unexpected);
+#endif
 	std::set_terminate(vmips_terminate);
 
 	machine = new vmips(argc, argv);