[patch/rfc] Deprecate sym_private, obj_private, and sym_stab_info

Andrew Cagney cagney@gnu.org
Wed Oct 6 17:42:00 GMT 2004


> 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.

Andrew




More information about the Gdb-patches mailing list