public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Simplify i386, amd64 and x32 expedite registers
Date: Tue, 04 Oct 2016 18:43:00 -0000	[thread overview]
Message-ID: <3d9384d4-1a38-ef30-bc8e-de6407593c2f@redhat.com> (raw)
In-Reply-To: <1475577647-29054-1-git-send-email-yao.qi@linaro.org>

On 10/04/2016 11:40 AM, Yao Qi wrote:
> Nowadays, there are a lot of duplication about
> i386/{i386, amd64, x32}*-expedite in features/Makefile.  However,
> in features/Makefile, we have
> 
>  echo "expedite:$(if $($*-expedite),$($*-expedite),$($(firstword $(subst -, ,$(notdir $*)))-expedite))" \
> 	  >> $(outdir)/$*.tmp
> 
> which means for a given bar/foo-baz.xml, we'll look for either
> bar/foo-baz-expedite or foo-expedite.  In x86 expedite registers, we
> use the former now, but it will be much simpler if we use the latter.
> This is what this patch does.  This patch removes them, and defines
> three generic expedite.  Re-run 'make GDB=/path/build/gdb all' to
> regenerate regformats/*.dat files, and they are not changed.
> 
> gdb:
> 
> 2016-10-04  Yao Qi  <yao.qi@linaro.org>
> 
> 	* features/Makefile: Remove i386/*-expedite. Add i386-expedite,
> 	amd64-expedite, and x32-expedite.

Wow, nice!  I had no idea.

Thanks,
Pedro Alves

  reply	other threads:[~2016-10-04 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 10:41 Yao Qi
2016-10-04 18:43 ` Pedro Alves [this message]
2016-10-05  8:37   ` Yao Qi

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=3d9384d4-1a38-ef30-bc8e-de6407593c2f@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).