Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@ericsson.com>
To: GDB Administrator <gdbadmin@sourceware.org>,
	<gdb-patches@sourceware.org>
Subject: Re: New ARI warning Wed Aug 29 01:57:16 UTC 2018
Date: Wed, 29 Aug 2018 14:34:00 -0000	[thread overview]
Message-ID: <4602ce95-8f1b-2064-61ca-c0b027d2b21b@ericsson.com> (raw)
In-Reply-To: <20180829015716.GA50222@sourceware.org>

On 2018-08-28 09:57 PM, GDB Administrator wrote:
>> gdb/csky-tdep.c:2234: deprecate: read_pc: Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
> gdb/csky-tdep.c:2234:  set_gdbarch_read_pc (gdbarch, csky_read_pc);
> gdb/csky-tdep.c:2234:  set_gdbarch_read_pc (gdbarch, csky_read_pc);

I am not sure about this one.  At first, I thought it was just a name clash,
the test looking for the "read_pc" function and wrongfully finding this line.
However, the check does purposefully look for "set_gdbarch_read_pc":

 997 BEGIN { doc["read_pc"] = "\
 998 Replace READ_PC() with frame_pc_unwind; \
 999 at present the inferior function call code still uses this"
1000     category["read_pc"] = ari_deprecate
1001 }
1002 /(^|[^_[:alnum:]])read_pc[[:space:]]*\(/ || \
1003 /(^|[^_[:alnum:]])set_gdbarch_read_pc[[:space:]]*\(/ || \
1004 /(^|[^_[:alnum:]])TARGET_READ_PC[[:space:]]*\(/ {
1005     fail("read_pc")
1006 }

Is this gdbarch method really deprecated?

Simon



  parent reply	other threads:[~2018-08-29 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29  1:57 GDB Administrator
2018-08-29 14:27 ` Simon Marchi
2018-08-29 14:34 ` Simon Marchi [this message]
2018-08-29 16:26   ` Tom Tromey

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=4602ce95-8f1b-2064-61ca-c0b027d2b21b@ericsson.com \
    --to=simon.marchi@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdbadmin@sourceware.org \
    /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