This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: Fix partial symbol lookups


"Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de> writes:

> > No, I'll clean it up if you like. Assuming you don't want me to just
> > revert all the 10-12 changes and be done with it.
> 
> This decision has to be made by the symtab maintainers of course.

Sure, but i'd appreciate a friendly opinion as to whether these
patches have any hope or not.

> 
> > > No, it points out another problem with `maint check'. Have you ever tried it
> > > with your patches ?
> > 
> > Yes, I have.
> > (gdb) maintenance check-symtabs 
> > During symbol reading, type qualifier 'const' ignored.
> > During symbol reading, unsupported stack op: 'DW_OP_deref_size'.
> > During symbol reading, type qualifier 'volatile' ignored.
> > (gdb)
> 
> Well, with gcc-2.95.2 -ggdb on a linux x86 box I get
> 
> (gdb) maint check
> During symbol reading, type qualifier 'const' ignored.
> During symbol reading, type qualifier 'volatile' ignored.
> During symbol reading, type qualifier 'const' ignored.
> Global symbol `__24Contains_static_instanceii' only found in misc.cc psymtab
> Global symbol `__31Contains_nested_static_instanceii' only found in misc.cc psym
> tab
> Global symbol `__3Bariii' only found in misc.cc psymtab
> Global symbol `__3Fooii' only found in misc.cc psymtab
> Global symbol `__5Base1i' only found in misc.cc psymtab
> Global symbol `__Q231Contains_nested_static_instance6Nestedi' only found in misc
> .cc psymtab
> Global symbol `__opi__3Foo' only found in misc.cc psymtab
> Global symbol `foo__C22const_vol_method_classRi' only found in misc.cc psymtab
> Global symbol `times__3Fooi' only found in misc.cc psymtab
> 
> which is not surprising, because maintenance_check_symtabs calls
> lookup_block_symbol with the mangled symbol name.
> Perhaps you have applied more patches to your source tree...

Hmmmm.
Weird.

I am using  a different gcc, but this shouldn't account for it.

--Dan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]