Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Deprecate sym_private, obj_private, and sym_stab_info
Date: Wed, 06 Oct 2004 17:42:00 -0000	[thread overview]
Message-ID: <41642E83.8030207@gnu.org> (raw)
In-Reply-To: <01c4ab97$Blat.v2.2.2$87f7ec80@zahav.net.il>

> 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



  reply	other threads:[~2004-10-06 17:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 23:26 Andrew Cagney
2004-10-06 11:30 ` Eli Zaretskii
2004-10-06 17:42   ` Andrew Cagney [this message]
2004-10-06 17:48     ` Andrew Cagney
2004-10-08  9:02       ` Eli Zaretskii
2004-10-23 16:16 ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41642E83.8030207@gnu.org \
    --to=cagney@gnu.org \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox