diff options
author | Jim Wilson <wilson@redhat.com> | 2002-12-13 20:07:15 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2002-12-13 12:07:15 -0800 |
commit | 580fb356c0970d2c80fbf730dc622ca7184d7b8c (patch) | |
tree | 3c06cff6afcdd48241680c98f2d32f76abca1232 /gcc | |
parent | b4f145f326128c7f2f13a2dfea64e74a0988fab4 (diff) | |
download | gcc-580fb356c0970d2c80fbf730dc622ca7184d7b8c.zip gcc-580fb356c0970d2c80fbf730dc622ca7184d7b8c.tar.gz gcc-580fb356c0970d2c80fbf730dc622ca7184d7b8c.tar.bz2 |
Doc fix for PR 1621.
* doc/extend.texi (Complex Numbers): Update info on debug info.
From-SVN: r60101
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ac0cce..a1ca49b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-12-13 Jim Wilson <wilson@redhat.com> + + * doc/extend.texi (Complex Numbers): Update info on debug info. + 2002-12-13 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.md (addhi3_h8300): Remove the last diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index fad4d86..9a0f04c 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1224,17 +1224,14 @@ provided as built-in functions by GCC@. GCC can allocate complex automatic variables in a noncontiguous fashion; it's even possible for the real part to be in a register while -the imaginary part is on the stack (or vice-versa). None of the -supported debugging info formats has a way to represent noncontiguous -allocation like this, so GCC describes a noncontiguous complex -variable as if it were two separate variables of noncomplex type. +the imaginary part is on the stack (or vice-versa). Only the DWARF2 +debug info format can represent this, so use of DWARF2 is recommended. +If you are using the stabs debug info format, GCC describes a noncontiguous +complex variable as if it were two separate variables of noncomplex type. If the variable's actual name is @code{foo}, the two fictitious variables are named @code{foo$real} and @code{foo$imag}. You can examine and set these two fictitious variables with your debugger. -A future version of GDB will know how to recognize such pairs and treat -them as a single variable with a complex type. - @node Hex Floats @section Hex Floats @cindex hex floats |