Index: gdb/sparc64-sol2-tdep.c |
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c |
index 00c4d9752a808388968b12398c5680745b0b5d31..35431b04854b99a5ab369f7cd86466b9a63e24cf 100644 |
--- a/gdb/sparc64-sol2-tdep.c |
+++ b/gdb/sparc64-sol2-tdep.c |
@@ -130,7 +130,7 @@ sparc64_sol2_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 (sparc_sol2_pc_in_sigtramp (pc, name)) |