[binutils-gdb] gdb: Document floating-point support for LoongArch
Tiezhu Yang
yangtiezhu@sourceware.org
Thu Jul 14 14:45:28 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e24500cbab783d42656d3b745947c98d7d5bdd83
commit e24500cbab783d42656d3b745947c98d7d5bdd83
Author: Tiezhu Yang <yangtiezhu@loongson.cn>
Date: Thu Jul 14 15:00:00 2022 +0800
gdb: Document floating-point support for LoongArch
Update NEWS and gdb.texinfo to document floating-point support
for LoongArch.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diff:
---
gdb/NEWS | 4 ++++
gdb/doc/gdb.texinfo | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/gdb/NEWS b/gdb/NEWS
index 742f4fe47fb..3c82d6d8cb0 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -153,6 +153,10 @@ GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux*
** GDBserver is now supported on LoongArch GNU/Linux.
+* LoongArch floating-point support
+
+GDB now supports floating-point on LoongArch GNU/Linux.
+
*** Changes in GDB 12
* DBX mode is deprecated, and will be removed in GDB 13
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9a8b010476a..1c017e44b37 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -47174,6 +47174,10 @@ 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).
+The @samp{org.gnu.gdb.loongarch.fpu} feature is optional. If present,
+it should contain registers @samp{f0} through @samp{f31}, @samp{fcc},
+and @samp{fcsr}.
+
@node MicroBlaze Features
@subsection MicroBlaze Features
@cindex target descriptions, MicroBlaze features
More information about the Gdb-cvs
mailing list