public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: cgen@sourceware.org
Subject: [PATCH] sim: rename TRACE_EXTRACT to CGEN_TRACE_EXTRACT
Date: Sun, 31 Jan 2021 16:44:10 -0500	[thread overview]
Message-ID: <20210131214410.10587-1-vapier@gentoo.org> (raw)

As was done for other touch points in the sim project, add a CGEN_
prefix to namespace it away from the common code.  The generated
files have already been updated years ago.

	* sim-decode.scm (TRACE_EXTRACT): Rename to ...
	(CGEN_TRACE_EXTRACT): ... this.
---
 sim-decode.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sim-decode.scm b/sim-decode.scm
index aceff89da4b9..355c4853022f 100644
--- a/sim-decode.scm
+++ b/sim-decode.scm
@@ -241,7 +241,7 @@ void
 )
 
 ; gen-trace-extract method.
-; Return appropriate arguments for TRACE_EXTRACT.
+; Return appropriate arguments for CGEN_TRACE_EXTRACT.
 
 (method-make!
  <hardware-base> 'gen-trace-extract
@@ -266,7 +266,7 @@ void
        ""))
 )
 
-; Return appropriate arguments for TRACE_EXTRACT.
+; Return appropriate arguments for CGEN_TRACE_EXTRACT.
 
 (method-make!
  <hw-register> 'gen-trace-extract
@@ -294,7 +294,7 @@ void
 		  ";\n"))
 )
 
-; Return appropriate arguments for TRACE_EXTRACT.
+; Return appropriate arguments for CGEN_TRACE_EXTRACT.
 
 (method-make!
  <hw-address> 'gen-trace-extract
@@ -320,7 +320,7 @@ void
   (send (op:type op) 'gen-extract op sfmt local?)
 )
 
-; Return three of arguments to TRACE_EXTRACT:
+; Return three of arguments to CGEN_TRACE_EXTRACT:
 ; string argument to fprintf, character indicating type of third arg, value.
 ; The type is one of: x.
 
@@ -374,7 +374,7 @@ void
 		      iflds)
      (string-list-map (lambda (op) (/gen-op-extract op sfmt #f))
 		      operands)
-     "  TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "
+     "  CGEN_TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "
      "\"" (gen-sym sfmt) "\""
      (string-list-map (lambda (f) (/gen-trace-argbuf-ifld f sfmt))
 		      iflds)
-- 
2.30.0


             reply	other threads:[~2021-01-31 21:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 21:44 Mike Frysinger [this message]
2021-02-01 16:46 ` Frank Ch. Eigler
2021-02-02  3:37   ` Mike Frysinger
2021-02-02  9:13     ` Frank Ch. Eigler
2021-02-02 15:03       ` Mike Frysinger

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=20210131214410.10587-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=cgen@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).