diff options
Diffstat (limited to 'gdb/solib-spu.c')
-rw-r--r-- | gdb/solib-spu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index 12ff49e..468ab1a 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -105,7 +105,8 @@ append_ocl_sos (struct so_list **link_ptr) ALL_OBJFILES (objfile) { - ocl_program_addr_base = objfile_data (objfile, ocl_program_data_key); + ocl_program_addr_base + = (CORE_ADDR *) objfile_data (objfile, ocl_program_data_key); if (ocl_program_addr_base != NULL) { enum bfd_endian byte_order = bfd_big_endian (objfile->obfd)? |