This is the mail archive of the
mailing list for the GDB project.
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.
This (or something equivalent) should really be
incorporated into 6.0 branch...
Institut Charles Sadron
F 67083 STRASBOURG CEDEX (France)
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99