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

Re: Are mixed debug formats in one exe supported?


On Tue, Mar 23, 2004 at 05:44:10PM -0600, Brian Ford wrote:
> On Tue, 23 Mar 2004, Brian Ford wrote:
> > I almost see why.  Can someone please tell me why this comment above
> > elfstab_build_psymtabs is true for the DWARF part?
> >
> >    This ELF file has already been processed to get its minimal symbols,
> >    and any DWARF symbols that were in it.
> >
> > ie. What gaurantees that DWARF is processed before stabs?  I can't see
> > that yet.  If I can understand that, I think I can easily fix my problem.
> >
> > Thanks again.
> >
> Sorry to follow up my own post, but I'm now even more confused.
> 
> >From what I can see, the order (for elf) is gauranteed to be ECOFF, stabs,
> DWARF2, DWARF, DWARF2 frame info.  So, that comment just looks wrong.  And, I
> still don't understand why it works on Linux.

The order shouldn't even matter at all.  Neither the stabs nor dwarf
code will add the ELF minimal symbols, and then stabs will add some and
dwarf the others.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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