Index: gdb/sparc64obsd-tdep.c |
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c |
index e5baa08650b43892d6ffd3e8f68f90b56d35146d..6148eab217d8f04e0a36c389cce0795d5e006bbc 100644 |
--- a/gdb/sparc64obsd-tdep.c |
+++ b/gdb/sparc64obsd-tdep.c |
@@ -93,7 +93,7 @@ static const int sparc64obsd_sigreturn_offset[] = { |
}; |
static int |
-sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name) |
+sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, const char *name) |
{ |
CORE_ADDR start_pc = (pc & ~(sparc64obsd_page_size - 1)); |
unsigned long insn; |
@@ -182,7 +182,7 @@ sparc64obsd_sigtramp_frame_sniffer (const struct frame_unwind *self, |
void **this_cache) |
{ |
CORE_ADDR pc = get_frame_pc (this_frame); |
- char *name; |
+ const char *name; |
find_pc_partial_function (pc, &name, NULL, NULL); |
if (sparc64obsd_pc_in_sigtramp (pc, name)) |
@@ -259,7 +259,7 @@ sparc64obsd_trapframe_sniffer (const struct frame_unwind *self, |
{ |
CORE_ADDR pc; |
ULONGEST pstate; |
- char *name; |
+ const char *name; |
/* Check whether we are in privileged mode, and bail out if we're not. */ |
pstate = get_frame_register_unsigned (this_frame, SPARC64_PSTATE_REGNUM); |