diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rl78-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1da405a..6f765e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index 6e4d784..2cd8005 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; |