gdb/doc: describe x87 registers
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Sep 2023 15:20:58 +0000 (11:20 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Sep 2023 17:14:41 +0000 (13:14 -0400)
commit15db2284f2f8259e46635ca6df3efc772d951fac
tree9942e0188fa23d186cca444c0520fbf3d6522bb9
parent3c83779e12feb56fd20a30eeafcf4b2bea571818
gdb/doc: describe x87 registers

While investigating this [1], I initially had no idea what register
"fioff" stood for, making it difficult to map it to something in the
Intel or AMD manuals.  Similarly, I can imaging someone familiar with
x87 to want to print the "x87 last instruction address", and have no
clue that GDB makes it available as register "fioff".  The names of the
x87 state fields don't seem to be standardized, they even change between
sections of the Intel manual (between the FSAVE, FXSAVE and XSAVE area
descriptions).

Add some details to the doc to help one map GDB register names to x87
state fields.

[1] https://inbox.sourceware.org/gdb-patches/20230908022722.430741-1-simon.marchi@efficios.com/T/#u

Change-Id: I0ea1eb648358e62da4aa87eea3515ee8a09f2762
Approved-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Pedro Alves <pedro@palves.net>
gdb/doc/gdb.texinfo