summaryrefslogtreecommitdiff
path: root/emulators/bochs
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-02-03 16:01:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-02-03 16:01:13 +0000
commitc2882b977a88d151e5812057b4e4c78f0e9bc1ca (patch)
tree31b14cf5e96a4a78585597be347fb07671feaceb /emulators/bochs
parentadd a post-install target to show pkg/MESSAGE (diff)
Support bochs's internal debugger.
Submitted by: jhb
Notes
Notes: svn path=/head/; revision=25460
Diffstat (limited to 'emulators/bochs')
-rw-r--r--emulators/bochs/Makefile4
-rw-r--r--emulators/bochs/files/patch-ae11
2 files changed, 15 insertions, 0 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 16ac136dd751..3e8c2f5aad57 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -22,6 +22,10 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS= --enable-cpu-level=4 --enable-vga \
--with-x11 --prefix=${PREFIX}
+.ifdef(WANT_DEBUGGER)
+CONFIGURE_ARGS+= --enable-debugger --enable-disasm
+.endif
+
WRKSRC= ${WRKDIR}/bochs-${DATE}a
RESTRICTED= "Commercial software"
diff --git a/emulators/bochs/files/patch-ae b/emulators/bochs/files/patch-ae
new file mode 100644
index 000000000000..e566225aad93
--- /dev/null
+++ b/emulators/bochs/files/patch-ae
@@ -0,0 +1,11 @@
+--- debug/lexer.c.orig Wed Feb 2 17:00:44 2000
++++ debug/lexer.c Wed Feb 2 17:00:02 2000
+@@ -1272,7 +1272,7 @@
+ case 92:
+ YY_RULE_SETUP
+ #line 108 "lexer.l"
+-{ bxlval.ulval = strtoull(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
++{ bxlval.ulval = strtouq(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
+ YY_BREAK
+ case 93:
+ YY_RULE_SETUP