summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-12 23:08:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-12 23:08:57 +0000
commit3c7106a9efb45204ab269422f9d163527924e771 (patch)
treeb9891333d8da3dce9b46bc40cd81af9774f563c5 /sys/arch
parent1be89cb7dc0afc195b64474bdb26c7682c8b3825 (diff)
do not print pidr3,pidr4 which we do not use anyway
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/db_interface.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/db_interface.c b/sys/arch/hppa/hppa/db_interface.c
index d38f7953a6d..d678735b897 100644
--- a/sys/arch/hppa/hppa/db_interface.c
+++ b/sys/arch/hppa/hppa/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.13 2000/05/30 22:09:45 mickey Exp $ */
+/* $OpenBSD: db_interface.c,v 1.14 2001/01/12 23:08:56 mickey Exp $ */
/*
* Copyright (c) 1999-2000 Michael Shalayeff
@@ -116,8 +116,10 @@ struct db_variable db_regs[] = {
{ "pidr1", (long *)&ddb_regs.tf_pidr1, FCN_NULL },
{ "pidr2", (long *)&ddb_regs.tf_pidr2, FCN_NULL },
+#ifdef pbably_not_worth_it
{ "pidr3", (long *)&ddb_regs.tf_pidr3, FCN_NULL },
{ "pidr4", (long *)&ddb_regs.tf_pidr4, FCN_NULL },
+#endif
{ "hptm", (long *)&ddb_regs.tf_hptm, FCN_NULL },
{ "vtop", (long *)&ddb_regs.tf_vtop, FCN_NULL },
@@ -242,7 +244,7 @@ db_stack_trace_cmd(addr, have_addr, count, modif)
register_t fp, pc, rp, nargs, *argp;
db_sym_t sym;
db_expr_t off;
- char *name;
+ const char *name;
char **argnp, *argnames[HPPA_FRAME_NARGS];
if (USERMODE(pc))