From 453c733fcf74893b5907f935283976c11cd46ad5 Mon Sep 17 00:00:00 2001 From: Nelson Chu Date: Wed, 10 Jun 2020 18:42:40 -0700 Subject: 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. --- gdb/features/riscv/rebuild-csr-xml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/features') diff --git a/gdb/features/riscv/rebuild-csr-xml.sh b/gdb/features/riscv/rebuild-csr-xml.sh index 1adb180..bff79b0 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(\(.*\), .*, .*! !" + | sed -e "s!DECLARE_CSR(\(.*\), .*, .*, .*, .*! !" echo "" else grep "^DECLARE_CSR(" ${RISCV_OPC_FILE} \ - | sed -e "s!DECLARE_CSR(\(.*\), .*, .*! !" + | sed -e "s!DECLARE_CSR(\(.*\), .*, .*, .*, .*! !" echo "" fi -- cgit v1.1