From 3c7106a9efb45204ab269422f9d163527924e771 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 12 Jan 2001 23:08:57 +0000 Subject: do not print pidr3,pidr4 which we do not use anyway --- sys/arch/hppa/hppa/db_interface.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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)) -- cgit v1.2.3