Index: gdb/sparc64fbsd-tdep.c |
diff --git a/gdb/sparc64fbsd-tdep.c b/gdb/sparc64fbsd-tdep.c |
index a08355367b016f1103d7a1ff95779f4700fa3455..f58e73b525515d9354e4e180d030760954f199c2 100644 |
--- a/gdb/sparc64fbsd-tdep.c |
+++ b/gdb/sparc64fbsd-tdep.c |
@@ -84,7 +84,7 @@ sparc64fbsd_collect_fpregset (const struct regset *regset, |
/* Signal trampolines. */ |
static int |
-sparc64fbsd_pc_in_sigtramp (CORE_ADDR pc, char *name) |
+sparc64fbsd_pc_in_sigtramp (CORE_ADDR pc, const char *name) |
{ |
return (name && strcmp (name, "__sigtramp") == 0); |
} |
@@ -189,7 +189,7 @@ sparc64fbsd_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 (sparc64fbsd_pc_in_sigtramp (pc, name)) |