This is the mail archive of the gdb-patches@sources.redhat.com 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/mips] Fix reread.exp on mips-linux


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



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