aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorYan-Ting Lin <currygt52@gmail.com>2016-06-17 15:25:08 +0800
committerpatrick <patrick@andestech.com>2016-06-17 16:58:05 +0800
commita28d8e5037333291991f7b0036b273e8ca1ffc34 (patch)
tree73724d3d633b6b0bfb733ebb1aa5bee0f35231eb /gdb/doc
parent96074adc6a780c7984645e3e42434be368974737 (diff)
downloadgdb-a28d8e5037333291991f7b0036b273e8ca1ffc34.zip
gdb-a28d8e5037333291991f7b0036b273e8ca1ffc34.tar.gz
gdb-a28d8e5037333291991f7b0036b273e8ca1ffc34.tar.bz2
gdb: new AndesTech NDS32 port
gdb/ChangeLog: * Makefile.in (ALL_TARGET_OBS): Add nds32-tdep.o. (HFILES_NO_SRCDIR): Add nds32-tdep.h. (ALLDEPFILES): Add nds32-tdep.c. * NEWS: Mention new NDS32 port. * configure.tgt: Add NDS32. * nds32-tdep.c: New file. * nds32-tdep.h: New file. * features/Makefile (XMLTOC): Add nds32.xml. * features/nds32-core.xml: New file. * features/nds32-fpu.xml: New file. * features/nds32-system.xml: New file. * features/nds32.c: New file (generated). * features/nds32.xml: New file. gdb/doc/ChangeLog: * gdb.texinfo (Standard Target Features): Document NDS32 features. (NDS32 Features): New Section. gdb/testsuite/ChangeLog: * gdb.base/float.exp: Add target check for nds32*-*-*. * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo23
2 files changed, 28 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a01d545..1af71e5 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
+
+ * gdb.texinfo (Standard Target Features): Document NDS32 features.
+ (NDS32 Features): New Section.
+
2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
* gdb.texinfo (Examining Memory): Document negative repeat
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6e2b493..795a70b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -40817,6 +40817,7 @@ registers using the capitalization used in the description.
* MicroBlaze Features::
* MIPS Features::
* M68K Features::
+* NDS32 Features::
* Nios II Features::
* PowerPC Features::
* S/390 and System z Features::
@@ -41025,6 +41026,28 @@ This feature is optional. If present, it should contain registers
@samp{fpiaddr}.
@end table
+@node NDS32 Features
+@subsection NDS32 Features
+@cindex target descriptions, NDS32 features
+
+The @samp{org.gnu.gdb.nds32.core} feature is required for NDS32
+targets. It should contain at least registers @samp{r0} through
+@samp{r10}, @samp{r15}, @samp{fp}, @samp{gp}, @samp{lp}, @samp{sp},
+and @samp{pc}.
+
+The @samp{org.gnu.gdb.nds32.fpu} feature is optional. If present,
+it should contain 64-bit double-precision floating-point registers
+@samp{fd0} through @emph{fdN}, which should be @samp{fd3}, @samp{fd7},
+@samp{fd15}, or @samp{fd31} based on the FPU configuration implemented.
+
+@emph{Note:} The first sixteen 64-bit double-precision floating-point
+registers are overlapped with the thirty-two 32-bit single-precision
+floating-point registers. The 32-bit single-precision registers, if
+not being listed explicitly, will be synthesized from halves of the
+overlapping 64-bit double-precision registers. Listing 32-bit
+single-precision registers explicitly is deprecated, and the
+support to it could be totally removed some day.
+
@node Nios II Features
@subsection Nios II Features
@cindex target descriptions, Nios II features