diff options
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r-- | gdb/spu-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 36ad312..6ccb679 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -2698,7 +2698,7 @@ spu_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) This assumes the filename convention employed by solib-spu.c. */ else if (info.abfd) { - char *name = strrchr (info.abfd->filename, '@'); + const char *name = strrchr (info.abfd->filename, '@'); if (name) sscanf (name, "@0x%*x <%d>", &id); } |