aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-07-14 15:00:00 +0800
committerTiezhu Yang <yangtiezhu@loongson.cn>2022-07-14 22:44:04 +0800
commite24500cbab783d42656d3b745947c98d7d5bdd83 (patch)
tree6488a18846e2c69f36dc55a277ea2ffb61fe281b /gdb
parent2df41bda2f80a1fbd443c44ee1bd54da579fc8a2 (diff)
downloadgdb-e24500cbab783d42656d3b745947c98d7d5bdd83.zip
gdb-e24500cbab783d42656d3b745947c98d7d5bdd83.tar.gz
gdb-e24500cbab783d42656d3b745947c98d7d5bdd83.tar.bz2
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>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/NEWS4
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 742f4fe..3c82d6d 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 9a8b010..1c017e4 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