diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-05 19:23:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-05 19:23:25 +0000 |
commit | 8165b425234ec3877e794381a9dece431c47f782 (patch) | |
tree | 275fa40f1681d85d08afd9530aaabeddeabb3e60 /sys/arch | |
parent | 567a4c7ea07c1f9ef2698ed16bea2cfa0e6d6741 (diff) |
temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/db_disasm.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/db_disasm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/db_disasm.c b/sys/arch/alpha/alpha/db_disasm.c index 344a003f3f1..af789a1a00f 100644 --- a/sys/arch/alpha/alpha/db_disasm.c +++ b/sys/arch/alpha/alpha/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.20 2007/09/01 11:54:00 miod Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.21 2007/11/05 19:23:22 miod Exp $ */ /* $NetBSD: db_disasm.c,v 1.8 2000/05/25 19:57:30 jhawk Exp $ */ /* @@ -849,7 +849,7 @@ alpha_print_instruction(iadr, i, showregs) long signed_immediate; boolean_t fstore; pal_instruction p; - char tmpfmt[24]; + char tmpfmt[28]; regcount = 0; fstore = FALSE; diff --git a/sys/arch/amd64/amd64/db_disasm.c b/sys/arch/amd64/amd64/db_disasm.c index 0fde380437a..d24d77d198a 100644 --- a/sys/arch/amd64/amd64/db_disasm.c +++ b/sys/arch/amd64/amd64/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.7 2007/09/01 11:54:02 miod Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.8 2007/11/05 19:23:24 miod Exp $ */ /* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */ /* @@ -1093,7 +1093,7 @@ db_disasm(db_addr_t loc, boolean_t altfmt) int repe, repne; struct i_addr address; db_addr_t loc_orig = loc; - char tmpfmt[24]; + char tmpfmt[28]; get_value_inc(inst, loc, 1, FALSE); short_addr = FALSE; |