diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-07 16:02:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-07 16:02:30 +0000 |
commit | 3997efc3b96796a7b3c7119ea89732bad107d8e6 (patch) | |
tree | 610310ee141a3cd1fc6f76acff7fc1f0457fbf34 /sys/arch/mips64 | |
parent | 4b64df74e27c132c8ee8abc403a495d4ee7d575a (diff) |
Constify strings in symbol-related ddb interfaces, and make the iterator
callback interface a bit simpler.
ok beck@ claudio@ mpi@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/mips64/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/trap.c b/sys/arch/mips64/mips64/trap.c index 1afcc27ee2f..d3e6d988d40 100644 --- a/sys/arch/mips64/mips64/trap.c +++ b/sys/arch/mips64/mips64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.173 2024/10/16 18:40:52 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.174 2024/11/07 16:02:29 miod Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -1128,7 +1128,7 @@ stacktrace_subr(struct trapframe *regs, int count, #ifdef DDB db_expr_t diff; Elf_Sym *sym; - char *symname; + const char *symname; #endif /* get initial values from the exception frame */ |