Index: gdb/ppcobsd-tdep.c |
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c |
index 4704d7aef270e912901d6c104a147a330ec5054d..878571a5fa366d512503b841efe15d52761f8200 100644 |
--- a/gdb/ppcobsd-tdep.c |
+++ b/gdb/ppcobsd-tdep.c |
@@ -130,7 +130,7 @@ ppcobsd_sigtramp_frame_sniffer (const struct frame_unwind *self, |
CORE_ADDR pc = get_frame_pc (this_frame); |
CORE_ADDR start_pc = (pc & ~(ppcobsd_page_size - 1)); |
const int *offset; |
- char *name; |
+ const char *name; |
find_pc_partial_function (pc, &name, NULL, NULL); |
if (name) |