aboutsummaryrefslogtreecommitdiff
path: root/gdb/rl78-tdep.c
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/rl78-tdep.c
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/rl78-tdep.c')
-rw-r--r--gdb/rl78-tdep.c2
1 files changed, 1 insertions, 1 deletions
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;