From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: cgen: namespace custom trace functions
Date: Fri, 12 Jun 2015 09:11:00 -0000 [thread overview]
Message-ID: <20150612091149.GC13625@vapier> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2563 bytes --]
The cgen code declares some macros/funcs using the trace_xxx prefix, but
the code isn't generic and only works with cgen targets. This is blocking
the creation of new common trace functions.
Let's blindly add cgen_xxx prefixes to all these symbols. Some already
use this convention to avoid conflicts, so it makes sense to align them.
In the future we might want to move some to the common trace core, but
one thing at a time.
I'm attaching the patch compressed because it's like 2MB in size. It's
all pretty mechanical -- the large files were updated using `sed`.
Committed.
---
sim/common/ChangeLog | 41 +
sim/common/cgen-run.c | 2 +-
sim/common/cgen-trace.c | 21 +-
sim/common/cgen-trace.h | 39 +-
sim/common/genmloop.sh | 8 +-
sim/cris/ChangeLog | 10 +
sim/cris/decodev10.c | 226 ++--
sim/cris/decodev32.c | 216 ++--
sim/cris/mloop.in | 6 +-
sim/cris/semcrisv10f-switch.c | 2466 ++++++++++++++++++------------------
sim/cris/semcrisv32f-switch.c | 2476 ++++++++++++++++++------------------
sim/frv/ChangeLog | 7 +
sim/frv/decode.c | 546 ++++----
sim/frv/mloop.in | 6 +-
sim/frv/sem.c | 2770 ++++++++++++++++++++---------------------
sim/iq2000/ChangeLog | 8 +
sim/iq2000/decode.c | 60 +-
sim/iq2000/mloop.in | 6 +-
sim/iq2000/sem-switch.c | 176 +--
sim/iq2000/sem.c | 174 +--
sim/lm32/ChangeLog | 8 +
sim/lm32/decode.c | 46 +-
sim/lm32/mloop.in | 6 +-
sim/lm32/sem-switch.c | 132 +-
sim/lm32/sem.c | 130 +-
sim/m32r/ChangeLog | 12 +
sim/m32r/decode.c | 118 +-
sim/m32r/decode2.c | 144 +--
sim/m32r/decodex.c | 144 +--
sim/m32r/mloop.in | 6 +-
sim/m32r/sem-switch.c | 254 ++--
sim/m32r/sem.c | 252 ++--
sim/m32r/sem2-switch.c | 522 ++++----
sim/m32r/semx-switch.c | 508 ++++----
sim/sh64/ChangeLog | 16 +
sim/sh64/decode-compact.c | 274 ++--
sim/sh64/decode-media.c | 170 +--
sim/sh64/mloop-compact.c | 14 +-
sim/sh64/mloop-media.c | 14 +-
sim/sh64/sem-compact-switch.c | 600 ++++-----
sim/sh64/sem-compact.c | 598 ++++-----
sim/sh64/sem-media-switch.c | 476 +++----
sim/sh64/sem-media.c | 474 +++----
43 files changed, 7143 insertions(+), 7039 deletions(-)
[-- Attachment #1.2: 0001-sim-cgen-namespace-custom-trace-functions.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 67060 bytes --]
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2015-06-12 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 9:11 Mike Frysinger [this message]
2015-06-14 13:49 ` Doug Evans
2015-06-21 18:40 ` Mike Frysinger
2015-06-22 14:10 ` Doug Evans
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=20150612091149.GC13625@vapier \
--to=vapier@gentoo.org \
--cc=gdb-patches@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