This is the mail archive of the gdb-patches@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: [patch] Discontiguous PSYMTABs


On Mon, Dec 17, 2007 at 02:49:31AM +0100, Jan Kratochvil wrote:
> "file" here is OBJFILE?  In such case the patch behaves right - it search each
> OBJFILE by ALL_OBJFILES separately.
> 
> If "file" is CU it is IMO not possible to combine multiple debug formats inside
> one OBJFILE, right?

I meant CU.  It's easy:

gcc -gstabs+ -c break1.c
gcc -gdwarf-2 -c break.c
gcc -o break break1.o break.o

Then both the stabs reader and the DWARF reader will be used for that
binary.

-- 
Daniel Jacobowitz
CodeSourcery


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