[rfa/mips] Fix reread.exp on mips-linux
Andrew Cagney
cagney@gnu.org
Sun Mar 28 22:37:00 GMT 2004
> My goof, from two years or so ago. This is allocated on the objfile
> obstack, and we stashed it in obj_private; but obj_private doesn't get
> cleared. If we put it in the new objfile_data machinery like a good little
> interface user, then it gets cleared at the right time. This prevents
> segfaulting as soon as the executable changes.
>
> OK for head/6.1?
Ok for mainline. For the moment sit on it for the branch.
> - priv = (struct mips_objfile_private *) sec->objfile->obj_private;
can something from this be ARIed?
Andrew
More information about the Gdb-patches
mailing list