aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-spu.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-spu.c')
-rw-r--r--gdb/solib-spu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index 44fbf91..64a5c9c 100644
--- a/gdb/solib-spu.c
+++ b/gdb/solib-spu.c
@@ -389,7 +389,7 @@ spu_bfd_open (char *pathname)
}
/* Lookup global symbol in a SPE executable. */
-static struct symbol *
+static struct block_symbol
spu_lookup_lib_symbol (struct objfile *objfile,
const char *name,
const domain_enum domain)
@@ -399,7 +399,7 @@ spu_lookup_lib_symbol (struct objfile *objfile,
if (svr4_so_ops.lookup_lib_global_symbol != NULL)
return svr4_so_ops.lookup_lib_global_symbol (objfile, name, domain);
- return NULL;
+ return (struct block_symbol) {NULL, NULL};
}
/* Enable shared library breakpoint. */