aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2012-02-14 20:07:26 +0000
committerKevin Buettner <kevinb@redhat.com>2012-02-14 20:07:26 +0000
commite4569f1e25e9c6e21b238fb078c9a924a6d69f66 (patch)
tree3d0eb747335db4d2971debfcee9e0f11fd1843a3 /gdb
parent7a05aae796b557245ca78aa35d2ee7f9644968b1 (diff)
downloadgdb-e4569f1e25e9c6e21b238fb078c9a924a6d69f66.zip
gdb-e4569f1e25e9c6e21b238fb078c9a924a6d69f66.tar.gz
gdb-e4569f1e25e9c6e21b238fb078c9a924a6d69f66.tar.bz2
* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
the name parameter being passed to find_pc_partial_function().
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rl78-tdep.c2
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;