This is the mail archive of the 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: 6.0 BUG? SIGSEGV under cygwin

At 16:51 15/07/2003, Daniel Jacobowitz wrote:
>On Tue, Jul 15, 2003 at 04:40:56PM +0200, Pierre Muller wrote:
>>   I compiled the 6.0 branch GDB
>> with -gstabs+  debug option.
>>   I think that there is a problem 
>> in the current main and 6.0 branches,
>> regarding use of sym_private file of struct objfile.
>>  This field is used to stored two incompatible 
>> things :
>>   in dwarf2-frame.c it is assumed that 
>> this field contains a struct dwarf2_fde pointer,
>> but the same field is also used in 
>> coffread.c and xcoffread.c
>> to store a struct coff_symfile_info pointer.
>Mark Kettenis posted a patch for this just a few days ago on
>gdb-patches.  Would you test it?  See:
>  Subject: [RFC/RFA] Per-objfile data mechanism

I just tested this patch and it does indeed solve the problem.
Thanks Mark!
This (or something equivalent) should really be 
incorporated into 6.0 branch...

Pierre Muller
Institut Charles Sadron
6,rue Boussingault
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

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