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: [patch/rfc] Deprecate sym_private, obj_private, and sym_stab_info


> Date: Wed, 06 Oct 2004 13:48:11 -0400
> From: Andrew Cagney <cagney@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sources.redhat.com
> 
> >> Can you or someone else please show an example of how to convert the
> >> deprecated code to using the per-objfile data pointers, or point to a
> >> message in the archives that includes such examples?  TIA, and sorry
> >> if this information was already posted and I missed it.
> > 
> > 
> > Check for calls to objfile_data.  mips-tdep.c, for instance, uses it. The basic pattern is the same as per-arch data.
> 
> PS: I'll add this as a comment.

Thanks.


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