X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsolib-svr4.c;h=0b8cadb2dc7879303fb54866707ae88ab5616327;hb=24e31cf3aa66e20877358040ceb35b87dde66d12;hp=14a471b6dc0f9b675297023f65f9e9ae57d155ed;hpb=df22c1e5d53c38f38bce6072bb46de240f9e0e2b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 14a471b6dc..0b8cadb2dc 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -3204,7 +3204,7 @@ elf_lookup_lib_symbol (struct objfile *objfile, } if (abfd == NULL || scan_dyntag (DT_SYMBOLIC, abfd, NULL, NULL) != 1) - return (struct block_symbol) {NULL, NULL}; + return {}; return lookup_global_symbol_from_objfile (objfile, name, domain); }