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/ddb | |
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/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_examine.c | 6 | ||||
-rw-r--r-- | sys/ddb/db_print.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_write_cmd.c | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index ee9d2380575..bd91d46ae82 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.46 2007/09/01 11:54:03 miod Exp $ */ +/* $OpenBSD: db_command.c,v 1.47 2007/11/05 19:23:24 miod Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -570,7 +570,7 @@ db_fncall(db_expr_t addr, int have_addr, db_expr_t count, char *modif) db_expr_t retval; db_expr_t (*func)(db_expr_t, ...); int t; - char tmpfmt[24]; + char tmpfmt[28]; if (!db_expression(&fn_addr)) { db_printf("Bad function\n"); diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index 3e28d4c7a83..0590efe6579 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_examine.c,v 1.15 2007/09/13 17:14:17 miod Exp $ */ +/* $OpenBSD: db_examine.c,v 1.16 2007/11/05 19:23:24 miod Exp $ */ /* $NetBSD: db_examine.c,v 1.11 1996/03/30 22:30:07 christos Exp $ */ /* @@ -76,7 +76,7 @@ db_examine(db_addr_t addr, char *fmt, int count) int size; int width; char * fp; - char tmpfmt[24]; + char tmpfmt[28]; while (--count >= 0) { fp = fmt; @@ -191,7 +191,7 @@ void db_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { db_expr_t value; - char tmpfmt[24]; + char tmpfmt[28]; if (modif[0] != '\0') db_print_format = modif[0]; diff --git a/sys/ddb/db_print.c b/sys/ddb/db_print.c index c52de64ffb6..5515f740dc9 100644 --- a/sys/ddb/db_print.c +++ b/sys/ddb/db_print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_print.c,v 1.11 2007/09/13 17:14:17 miod Exp $ */ +/* $OpenBSD: db_print.c,v 1.12 2007/11/05 19:23:24 miod Exp $ */ /* $NetBSD: db_print.c,v 1.5 1996/02/05 01:57:11 christos Exp $ */ /* @@ -53,7 +53,7 @@ db_show_regs(db_expr_t addr, int have_addr, db_expr_t count, char *modif) struct db_variable *regp; db_expr_t value, offset; char * name; - char tmpfmt[24]; + char tmpfmt[28]; for (regp = db_regs; regp < db_eregs; regp++) { db_read_variable(regp, &value); diff --git a/sys/ddb/db_write_cmd.c b/sys/ddb/db_write_cmd.c index 14eb999c42a..1ace001b670 100644 --- a/sys/ddb/db_write_cmd.c +++ b/sys/ddb/db_write_cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_write_cmd.c,v 1.9 2007/09/13 17:14:17 miod Exp $ */ +/* $OpenBSD: db_write_cmd.c,v 1.10 2007/11/05 19:23:24 miod Exp $ */ /* $NetBSD: db_write_cmd.c,v 1.6 1996/02/05 01:57:25 christos Exp $ */ /* @@ -57,7 +57,7 @@ db_write_cmd(db_expr_t address, boolean_t have_addr, db_expr_t count, db_expr_t new_value; int size; boolean_t wrote_one = FALSE; - char tmpfmt[24]; + char tmpfmt[28]; addr = (db_addr_t) address; |