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: [RFA] Enhance stabs reader to better deal with forward references


  I made the same change to my local repository,
due to the same problem, on the same target.

  The problem is that in the CVS tree, end_symtab function
is called from within the read_ofile_symtab function
after current_objfile is reset to nil.
  But due to your change, current_objfile is still 
accessed inside dbx_lookup_type (stabsread.c)
called by cleanup_undefined_types_noname (stabsread.c)
called by cleanup_undefined_types (stabsread.c)
called by end_symtab (buildsym.c).


Hope this helps,

Pierre

-----Message d'origine-----
De?: gdb-patches-owner@sourceware.org
[mailto:gdb-patches-owner@sourceware.org] De la part de Joel Brobecker
Envoyé?: Monday, April 02, 2007 9:00 AM
À?: Pedro Alves
Cc?: gdb-patches@sourceware.org
Objet?: Re: [RFA] Enhance stabs reader to better deal with forward
references

Pedro,

> Unfortunatelly, this patch broke Cygwin, which still uses stabs by
default.
> 
> I am getting a SIGSEGV while issuing a breakpoint.

Thanks for the report, and sorry about that. Unfortunately, I won't have
much time in the next two or three days - I might be able to understand
what is actually from the backtrace and your patch, but it might not be
sufficient. And if you have an opportunity to investigate a bit more,
that would be very much appreciated.  In the meantime, feel free to back
the patch out if necessary.

-- 
Joel




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