[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/7] target/loongarch: update loongarch-base64.xml
From: |
Richard Henderson |
Subject: |
[PULL 5/7] target/loongarch: update loongarch-base64.xml |
Date: |
Fri, 5 Aug 2022 12:55:13 -0700 |
From: Song Gao <gaosong@loongson.cn>
Update loongarch-base64.xml to match the upstream GDB [1].
[1]:https://github.com/bminor/binutils-gdb/blob/master/gdb/features/loongarch/base64.xml
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220805033523.1416837-4-gaosong@loongson.cn>
---
gdb-xml/loongarch-base64.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gdb-xml/loongarch-base64.xml b/gdb-xml/loongarch-base64.xml
index a1dd4f2208..2d8a1f6b73 100644
--- a/gdb-xml/loongarch-base64.xml
+++ b/gdb-xml/loongarch-base64.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- Copyright (C) 2021 Free Software Foundation, Inc.
+<!-- Copyright (C) 2022 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -8,9 +8,9 @@
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.loongarch.base">
<reg name="r0" bitsize="64" type="uint64" group="general"/>
- <reg name="r1" bitsize="64" type="uint64" group="general"/>
- <reg name="r2" bitsize="64" type="uint64" group="general"/>
- <reg name="r3" bitsize="64" type="uint64" group="general"/>
+ <reg name="r1" bitsize="64" type="code_ptr" group="general"/>
+ <reg name="r2" bitsize="64" type="data_ptr" group="general"/>
+ <reg name="r3" bitsize="64" type="data_ptr" group="general"/>
<reg name="r4" bitsize="64" type="uint64" group="general"/>
<reg name="r5" bitsize="64" type="uint64" group="general"/>
<reg name="r6" bitsize="64" type="uint64" group="general"/>
@@ -29,7 +29,7 @@
<reg name="r19" bitsize="64" type="uint64" group="general"/>
<reg name="r20" bitsize="64" type="uint64" group="general"/>
<reg name="r21" bitsize="64" type="uint64" group="general"/>
- <reg name="r22" bitsize="64" type="uint64" group="general"/>
+ <reg name="r22" bitsize="64" type="data_ptr" group="general"/>
<reg name="r23" bitsize="64" type="uint64" group="general"/>
<reg name="r24" bitsize="64" type="uint64" group="general"/>
<reg name="r25" bitsize="64" type="uint64" group="general"/>
@@ -41,5 +41,5 @@
<reg name="r31" bitsize="64" type="uint64" group="general"/>
<reg name="orig_a0" bitsize="64" type="uint64" group="general"/>
<reg name="pc" bitsize="64" type="code_ptr" group="general"/>
- <reg name="badvaddr" bitsize="64" type="code_ptr" group="general"/>
+ <reg name="badv" bitsize="64" type="code_ptr" group="general"/>
</feature>
--
2.34.1
- [PULL 0/7] loongarch patch queue, Richard Henderson, 2022/08/05
- [PULL 1/7] target/loongarch: Fix macros SET_FPU_* in cpu.h, Richard Henderson, 2022/08/05
- [PULL 2/7] hw/loongarch: remove acpi-build.c unused variable 'aml_len', Richard Henderson, 2022/08/05
- [PULL 3/7] target/loongarch: Fix GDB get the wrong pc, Richard Henderson, 2022/08/05
- [PULL 5/7] target/loongarch: update loongarch-base64.xml,
Richard Henderson <=
- [PULL 4/7] target/loongarch: add gdb_arch_name(), Richard Henderson, 2022/08/05
- [PULL 6/7] target/loongarch: Update loongarch-fpu.xml, Richard Henderson, 2022/08/05
- [PULL 7/7] target/loongarch: Update gdb_set_fpu() and gdb_get_fpu(), Richard Henderson, 2022/08/05
- Re: [PULL 0/7] loongarch patch queue, Richard Henderson, 2022/08/05