From: Kevin Buettner Date: Tue, 14 Feb 2012 20:07:26 +0000 (+0000) Subject: * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4569f1e25e9c6e21b238fb078c9a924a6d69f66;p=binutils-gdb.git * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of the name parameter being passed to find_pc_partial_function(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1da405a202c..6f765e123d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-02-14 Kevin Buettner + + * 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 * MAINTAINERS: Step down from being ia64 target maintainer. diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index 6e4d784f6d6..2cd80051bf0 100644 --- a/gdb/rl78-tdep.c +++ b/gdb/rl78-tdep.c @@ -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;