This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: Get versioned minsyms from dynamic symtab (Was: Re: How to call operator<< functions?)


On Thu, Aug 31, 2006 at 07:41:20PM +0200, Frédéric Riss wrote:
> In the case of C++ classes (not POD objects, but classes with methods),
> the One Definition Rule gives us a way to identify those, doesn't it? I
> mean both classes are named basic_ostream<char,std::char_traits<char> >
> and live in the std namespace. All this is clearly described by the
> Dwarf tree structure.
> Of course in this case, we're speaking about incomplete types here, and
> we don't know they're really not simple structures. Thus applying this
> unification logic would is a bit dangerous.

Exactly.

It is impossible to get this reliably right for incomplete types. 
However, I think we should do the best we can.  I haven't thought
much about the implementation details yet though.

-- 
Daniel Jacobowitz
CodeSourcery


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