aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-02-11 20:12:30 +0800
committerTiezhu Yang <yangtiezhu@loongson.cn>2022-02-11 20:12:30 +0800
commite74d08100dd3d1c5aee6eb67235465ebed194380 (patch)
treeae3e047cf6c2ec47d755317a569b7b4803ec621c /gdb/doc/gdb.texinfo
parent7c1aa0090f673e29e0b54eae9975b2c1b72a49d2 (diff)
downloadgdb-e74d08100dd3d1c5aee6eb67235465ebed194380.zip
gdb-e74d08100dd3d1c5aee6eb67235465ebed194380.tar.gz
gdb-e74d08100dd3d1c5aee6eb67235465ebed194380.tar.bz2
gdb: LoongArch: Add initial target description support
This commit adds initial target description support for LoongArch. Signed-off-by: Zhensong Liu <liuzhensong@loongson.cn> Signed-off-by: Qing zhang <zhangqing@loongson.cn> Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8e7fb2d..1f85913 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -46293,6 +46293,7 @@ registers using the capitalization used in the description.
* ARC Features::
* ARM Features::
* i386 Features::
+* LoongArch Features::
* MicroBlaze Features::
* MIPS Features::
* M68K Features::
@@ -46521,6 +46522,15 @@ The @samp{org.gnu.gdb.i386.pkeys} feature is optional. It should
describe a single register, @samp{pkru}. It is a 32-bit register
valid for i386 and amd64.
+@node LoongArch Features
+@subsection LoongArch Features
+@cindex target descriptions, LoongArch Features
+
+The @samp{org.gnu.gdb.loongarch.base} feature is required for LoongArch
+targets. It should contain the registers @samp{r0} through @samp{r31},
+@samp{pc}, and @samp{badv}. Either the architectural names (@samp{r0},
+@samp{r1}, etc) can be used, or the ABI names (@samp{zero}, @samp{ra}, etc).
+
@node MicroBlaze Features
@subsection MicroBlaze Features
@cindex target descriptions, MicroBlaze features