diff options
Diffstat (limited to 'gdb/m32r-linux-tdep.c')
-rw-r--r-- | gdb/m32r-linux-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c index de5ec4b..dce1a88 100644 --- a/gdb/m32r-linux-tdep.c +++ b/gdb/m32r-linux-tdep.c @@ -173,7 +173,7 @@ m32r_linux_rt_sigtramp_start (CORE_ADDR pc, struct frame_info *this_frame) } static int -m32r_linux_pc_in_sigtramp (CORE_ADDR pc, char *name, +m32r_linux_pc_in_sigtramp (CORE_ADDR pc, const char *name, struct frame_info *this_frame) { /* If we have NAME, we can optimize the search. The trampolines are @@ -293,7 +293,7 @@ m32r_linux_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 (m32r_linux_pc_in_sigtramp (pc, name, this_frame)) |