summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/db_disasm.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-01 16:22:31 +0000
committerbde <bde@FreeBSD.org>1997-04-01 16:22:31 +0000
commit501df7d65d52f873f2e64001312f33e0d4d105c9 (patch)
tree52e48bcbf014d26eb27b5a98c9aee218d6a48548 /sys/amd64/amd64/db_disasm.c
parent26a5337c7b45d9e0b63f90c669b7547bb3a4b1db (diff)
downloadFreeBSD-src-501df7d65d52f873f2e64001312f33e0d4d105c9.zip
FreeBSD-src-501df7d65d52f873f2e64001312f33e0d4d105c9.tar.gz
Removed a wrong comment of mine.
Removed unused #includes.
Diffstat (limited to 'sys/amd64/amd64/db_disasm.c')
-rw-r--r--sys/amd64/amd64/db_disasm.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/amd64/amd64/db_disasm.c b/sys/amd64/amd64/db_disasm.c
index cf86f8a..2599b30 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;
OpenPOWER on IntegriCloud