From e24500cbab783d42656d3b745947c98d7d5bdd83 Mon Sep 17 00:00:00 2001 From: Tiezhu Yang Date: Thu, 14 Jul 2022 15:00:00 +0800 Subject: [PATCH] gdb: Document floating-point support for LoongArch Update NEWS and gdb.texinfo to document floating-point support for LoongArch. Signed-off-by: Tiezhu Yang --- 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 -- 2.39.2