* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
authorKevin Buettner <kevinb@redhat.com>
Tue, 14 Feb 2012 20:07:26 +0000 (20:07 +0000)
committerKevin Buettner <kevinb@redhat.com>
Tue, 14 Feb 2012 20:07:26 +0000 (20:07 +0000)
the name parameter being passed to find_pc_partial_function().

gdb/ChangeLog
gdb/rl78-tdep.c

index 1da405a..6f765e1 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-14  Kevin Buettner  <kevinb@redhat.com>
+
+       * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
+       the name parameter being passed to find_pc_partial_function().
+
 2012-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * MAINTAINERS: Step down from being ia64 target maintainer.
index 6e4d784..2cd8005 100644 (file)
@@ -636,7 +636,7 @@ rl78_pointer_to_address (struct gdbarch *gdbarch,
 static CORE_ADDR
 rl78_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
 {
-  char *name;
+  const char *name;
   CORE_ADDR func_addr, func_end;
   struct rl78_prologue p;