* 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 1da405a202ce8bba237fb8bcb1c7fa02bf5d6225..6f765e123d9e130ee17d3d7be78ecbb738639993 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 6e4d784f6d631dcce60742847ed267963c52cb10..2cd80051bf0972d50a718436aab4ee28e5bdb702 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;
 
This page took 0.030929 seconds and 4 git commands to generate.