* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of

the name parameter being passed to find_pc_partial_function().
This commit is contained in:
Kevin Buettner 2012-02-14 20:07:26 +00:00
parent 7a05aae796
commit e4569f1e25
2 changed files with 6 additions and 1 deletions

View 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.

View 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;