This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Macro code crasher on re-run
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.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer