(value_cast): Handle NULL from value_cast_structs. (value_fetch_lazy): Call check_typedef. Remove unused variable. testsuite/ * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
These were added by accident. Whoops!
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.