added patch to make bochs work with gdb 6.5
authorGodmar Back <godmar@gmail.com>
Tue, 6 Feb 2007 06:44:01 +0000 (06:44 +0000)
committerGodmar Back <godmar@gmail.com>
Tue, 6 Feb 2007 06:44:01 +0000 (06:44 +0000)
src/misc/bochs-2.2.6-build.sh
src/misc/bochs-2.2.6-gdbstub-ENN.patch [new file with mode: 0644]

index 6c07a98c0805059df92919ced2976026c528498e..a8a44e301eedbf6a1088829c0318a82d5a126834 100755 (executable)
@@ -21,6 +21,7 @@ cat $PINTOSDIR/src/misc/bochs-2.2.6-triple-fault.patch | patch -p1
 cat $PINTOSDIR/src/misc/bochs-2.2.6-solaris-tty.patch | patch -p1
 cat $PINTOSDIR/src/misc/bochs-2.2.6-page-fault-segv.patch | patch -p1
 cat $PINTOSDIR/src/misc/bochs-2.2.6-paranoia.patch | patch -p1
+cat $PINTOSDIR/src/misc/bochs-2.2.6-gdbstub-ENN.patch | patch -p1
 if test "`uname -s`" = "SunOS"; then
     cat $PINTOSDIR/src/misc/bochs-2.2.6-solaris-link.patch | patch -p1
 fi
diff --git a/src/misc/bochs-2.2.6-gdbstub-ENN.patch b/src/misc/bochs-2.2.6-gdbstub-ENN.patch
new file mode 100644 (file)
index 0000000..88a8145
--- /dev/null
@@ -0,0 +1,29 @@
+--- bochs-2.2.6/gdbstub.cc     2006-01-17 12:15:29.000000000 -0500
++++ bochs-2.2.6-patched/gdbstub.cc     2007-02-06 23:04:51.095523904 -0500
+@@ -515,7 +515,7 @@
+                         }
+                       else
+                         {
+-                           put_reply("ENN");
++                           put_reply("Eff");
+                         }
+                    }
+                  break;                    
+@@ -761,7 +761,7 @@
+               }
+             else
+               {
+-                 put_reply("ENN");
++                 put_reply("Eff");
+               }
+             break;
+             
+@@ -782,7 +782,7 @@
+               }
+             else
+               {
+-                 put_reply("ENN");
++                 put_reply("Eff");
+               }          
+             break;