summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-04-01 16:22:31 +0000
committerBruce Evans <bde@FreeBSD.org>1997-04-01 16:22:31 +0000
commit12f298775417b9d60184adf9981f6cf5a62d957b (patch)
tree9333b3d75d85ce39c745e33665691ed8c61623be
parentcc289dff532bbdba01a5584a5933b28e0e7ff4bf (diff)
Notes
-rw-r--r--sys/amd64/amd64/db_disasm.c12
-rw-r--r--sys/i386/i386/db_disasm.c12
2 files changed, 4 insertions, 20 deletions
diff --git a/sys/amd64/amd64/db_disasm.c b/sys/amd64/amd64/db_disasm.c
index cf86f8ac88e8..2599b30806e2 100644
--- a/sys/amd64/amd64/db_disasm.c
+++ b/sys/amd64/amd64/db_disasm.c
@@ -23,19 +23,15 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id$
+ * $Id: db_disasm.c,v 1.19 1997/02/22 09:32:12 peter Exp $
*/
/*
* Instruction disassembler.
*/
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/proc.h>
-#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <ddb/ddb.h>
+#include <ddb/ddb.h>
#include <ddb/db_access.h>
#include <ddb/db_sym.h>
@@ -1337,10 +1333,6 @@ db_disasm(loc, altfmt)
case Is:
len = db_lengths[size];
get_value_inc(imm, loc, len, FALSE);
- /*
- * XXX the + in this format doesn't seem to work right.
- * `Is' is equivalent to `I'.
- */
db_printf("$%+#n", imm);
break;
diff --git a/sys/i386/i386/db_disasm.c b/sys/i386/i386/db_disasm.c
index cf86f8ac88e8..2599b30806e2 100644
--- a/sys/i386/i386/db_disasm.c
+++ b/sys/i386/i386/db_disasm.c
@@ -23,19 +23,15 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id$
+ * $Id: db_disasm.c,v 1.19 1997/02/22 09:32:12 peter Exp $
*/
/*
* Instruction disassembler.
*/
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/proc.h>
-#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <ddb/ddb.h>
+#include <ddb/ddb.h>
#include <ddb/db_access.h>
#include <ddb/db_sym.h>
@@ -1337,10 +1333,6 @@ db_disasm(loc, altfmt)
case Is:
len = db_lengths[size];
get_value_inc(imm, loc, len, FALSE);
- /*
- * XXX the + in this format doesn't seem to work right.
- * `Is' is equivalent to `I'.
- */
db_printf("$%+#n", imm);
break;