aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@redhat.com>2002-12-13 20:07:15 +0000
committerJim Wilson <wilson@redhat.com>2002-12-13 20:07:15 +0000
commitc85dbbdc41536518133f7ee873c2e141bd5fe10c (patch)
tree3c06cff6afcdd48241680c98f2d32f76abca1232
parent4da0d27c4c8e46051c868134dc9ecb1f2f2a5b1c (diff)
Doc fix for PR 1621.
* doc/extend.texi (Complex Numbers): Update info on debug info. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@60101 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/extend.texi11
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3ac0ccec42d..a1ca49b6517 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 fad4d8609af..9a0f04cb0af 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