On Fri, May 4, 2012 at 11:34 PM, Jan Kratochvil wrote: > Hi Siva, > > by using -fdebug-types-section one gets: > > runtest CC_FOR_TARGET="gcc -gdwarf-4 -fdebug-types-section -g0" CXX_FOR_TARGET="g++ -gdwarf-4 -fdebug-types-section -g0" gdb.python/py-symtab.exp > >  python print "simple_struct" in static_symbols > -True > -(gdb) PASS: gdb.python/py-symtab.exp: Test simple_struct in static symbols > +False > +(gdb) FAIL: gdb.python/py-symtab.exp: Test simple_struct in static symbols I think the attached patch should eliminate this failure. Can you also test on your side to eliminate GCC version differences (I do not think it matters, but I want to double check)? All that I did is to remove 'simple_struct' and its test, and add a static function and a test for it. testsuite: 2012-05-05 Siva Chandra Reddy * py-symbol.c (simple_struct): Remove (static_func): New static func * py-symtab.exp: Remove test to test presence of 'simple_struct' in STATIC_BLOCK, add test to test presence of 'static_func' in STATIC_BLOCK. Thanks, Siva Chandra