diff options
Diffstat (limited to 'gdb/sparc64obsd-tdep.c')
-rw-r--r-- | gdb/sparc64obsd-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c index e5baa08..6148eab 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); |