From: Thiago Jung Bauermann Date: Thu, 31 Jan 2008 13:38:49 +0000 (+0000) Subject: * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers X-Git-Tag: sid-snapshot-20080201~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6be39c444c02a8857afc50d78948c7343e4b653f;p=pf3gnuchains%2Fpf3gnuchains4x.git * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers available in PowerPC architecture. (Embedded Processors): Change node name of PowerPC item in menu. (PowerPC): Rename to... (PowerPC Embedded): this. (Architectures): Add new PowerPC item in menu. (PowerPC): New node. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5dcb1f157f..aeadccd869 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,13 @@ +2008-01-30 Thiago Jung Bauermann + + * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers + available in PowerPC architecture. + (Embedded Processors): Change node name of PowerPC item in menu. + (PowerPC): Rename to... + (PowerPC Embedded): this. + (Architectures): Add new PowerPC item in menu. + (PowerPC): New node. + 2008-01-30 Daniel Jacobowitz * gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 923d1ceef4..5b4b2fe027 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -9679,6 +9679,10 @@ In addition, in order to imitate @value{GDBN}'s behaviour with binary floating point computations, error checking in decimal float operations ignores underflow, overflow and divide by zero exceptions. +In the PowerPC architecture, @value{GDBN} provides a set of pseudo-registers +to inspect @code{_Decimal128} values stored in floating point registers. See +@ref{PowerPC,,PowerPC} for more details. + @node Objective-C @subsection Objective-C @@ -14682,7 +14686,7 @@ acceptable commands. * MIPS Embedded:: MIPS Embedded * OpenRISC 1000:: OpenRisc 1000 * PA:: HP PA Embedded -* PowerPC:: PowerPC +* PowerPC Embedded:: PowerPC Embedded * Sparclet:: Tsqware Sparclet * Sparclite:: Fujitsu Sparclite * Z8000:: Zilog Z8000 @@ -15191,8 +15195,8 @@ Set suspend trace mode. @end table -@node PowerPC -@subsection PowerPC +@node PowerPC Embedded +@subsection PowerPC Embedded @value{GDBN} provides the following PowerPC-specific commands: @@ -15555,6 +15559,7 @@ all uses of @value{GDBN} with the architecture, both native and cross. * MIPS:: * HPPA:: HP PA architecture * SPU:: Cell Broadband Engine SPU architecture +* PowerPC:: @end menu @node i386 @@ -15771,6 +15776,20 @@ and local store addresses and transfer size are shown. @end table +@node PowerPC +@subsection PowerPC +@cindex PowerPC architecture + +When @value{GDBN} is debugging the PowerPC architecture, it provides a set of +pseudo-registers to enable inspection of 128-bit wide Decimal Floating Point +numbers stored in the floating point registers. These values must be stored +in two consecutive registers, always starting at an even register like +@code{f0} or @code{f2}. + +The pseudo-registers go from @code{$dl0} through @code{$dl15}, and are formed +by joining the even/odd register pairs @code{f0} and @code{f1} for @code{$dl0}, +@code{f2} and @code{f3} for @code{$dl1} and so on. + @node Controlling GDB @chapter Controlling @value{GDBN}