public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] RISC-V: Update the rebuild-csr-xml.sh.
@ 2020-06-12 1:44 Nelson Chu
0 siblings, 0 replies; only message in thread
From: Nelson Chu @ 2020-06-12 1:44 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=453c733fcf74893b5907f935283976c11cd46ad5
commit 453c733fcf74893b5907f935283976c11cd46ad5
Author: Nelson Chu <nelson.chu@sifive.com>
Date: Wed Jun 10 18:42:40 2020 -0700
RISC-V: Update the rebuild-csr-xml.sh.
We add new arguments defined and aborted verisons for DECLARE_CSR to
support privileged versions controling in binutils. Therefore, the
rebuild-csr-xml.sh should be updated, too.
gdb/
* features/riscv/rebuild-csr-xml.sh: Updated.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/features/riscv/rebuild-csr-xml.sh | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5ef6ee6aca4..c8597e637f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-12 Nelson Chu <nelson.chu@sifive.com>
+
+ * features/riscv/rebuild-csr-xml.sh: Updated.
+
2020-06-11 Tom Tromey <tom@tromey.com>
PR gdb/18318:
diff --git a/gdb/features/riscv/rebuild-csr-xml.sh b/gdb/features/riscv/rebuild-csr-xml.sh
index 1adb18009d3..bff79b0371f 100755
--- a/gdb/features/riscv/rebuild-csr-xml.sh
+++ b/gdb/features/riscv/rebuild-csr-xml.sh
@@ -22,12 +22,12 @@ EOF
if [ "$bitsize" = "64" ]; then
grep "^DECLARE_CSR(" ${RISCV_OPC_FILE} \
| sed /CSR_CLASS_.*_32/d \
- | sed -e "s!DECLARE_CSR(\(.*\), .*, .*! <reg name=\"\1\" bitsize=\"$bitsize\"/>!"
+ | sed -e "s!DECLARE_CSR(\(.*\), .*, .*, .*, .*! <reg name=\"\1\" bitsize=\"$bitsize\"/>!"
echo "</feature>"
else
grep "^DECLARE_CSR(" ${RISCV_OPC_FILE} \
- | sed -e "s!DECLARE_CSR(\(.*\), .*, .*! <reg name=\"\1\" bitsize=\"$bitsize\"/>!"
+ | sed -e "s!DECLARE_CSR(\(.*\), .*, .*, .*, .*! <reg name=\"\1\" bitsize=\"$bitsize\"/>!"
echo "</feature>"
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-12 1:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 1:44 [binutils-gdb] RISC-V: Update the rebuild-csr-xml.sh Nelson Chu
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).