This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Macro code crasher on re-run
Daniel Jacobowitz <drow@mvista.com> writes:
> On Mon, Nov 03, 2003 at 06:50:38PM -0500, Jim Blandy wrote:
> >
> > Daniel Jacobowitz <drow@mvista.com> writes:
> > > I was using the 6.0 branch when I found the problem, so that's not it.
> > > It may be a related problem in a caller of free_objfile, though. Or
> > > reread_objfile?
> >
> > You mean reread_symbols? It wouldn't be that, because that calls
> > clear_symtab_users itself. It's certainly a caller of free_objfile.
> >
> > I think this is just going to take some debugging. Can you tell me
> > how to reproduce it?
>
> Develop a habit for recompiling programs while you're debugging them,
> and use dwarf2 information. I didn't even have -g3 macro debug
> information at all. Eventually you'll crash, either in the macro or
> frame code.
I did see some crashes last week, doing what you suggest, but I was in
a crunch and didn't have time to investigate. I'll see if I can do so
now.