mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
e4d74c01e7
Loongson Binary Translation (LBT) is used to accelerate binary translation, which contains 4 scratch registers (scr0 to scr3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop). This patch support gdb to fetch/store these registers. Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn> # Framework Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> # Detail Optimizes Signed-off-by: Hui Li <lihui@loongson.cn> # Error Fixes Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
17 lines
737 B
XML
17 lines
737 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2022-2024 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
|
<feature name="org.gnu.gdb.loongarch.lbt">
|
|
<reg name="scr0" bitsize="64" type="uint64" group="lbt"/>
|
|
<reg name="scr1" bitsize="64" type="uint64" group="lbt"/>
|
|
<reg name="scr2" bitsize="64" type="uint64" group="lbt"/>
|
|
<reg name="scr3" bitsize="64" type="uint64" group="lbt"/>
|
|
<reg name="eflags" bitsize="32" type="uint32" group="lbt"/>
|
|
<reg name="ftop" bitsize="32" type="uint32" group="lbt"/>
|
|
</feature>
|