[commit] Fix compile error in rl78-tdep.c
Kevin Buettner
kevinb@redhat.com
Tue Feb 14 20:12:00 GMT 2012
I've committed the patch below. As noted in the subject, it fixes
a compile error for rl78-tdep.c.
Kevin
* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
the name parameter being passed to find_pc_partial_function().
Index: rl78-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rl78-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 rl78-tdep.c
--- rl78-tdep.c 4 Feb 2012 06:05:50 -0000 1.1
+++ rl78-tdep.c 14 Feb 2012 20:03:40 -0000
@@ -636,7 +636,7 @@ rl78_pointer_to_address (struct 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;
More information about the Gdb-patches
mailing list