From c85dbbdc41536518133f7ee873c2e141bd5fe10c Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 13 Dec 2002 20:07:15 +0000 Subject: 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 --- gcc/ChangeLog | 4 ++++ gcc/doc/extend.texi | 11 ++++------- 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 + + * doc/extend.texi (Complex Numbers): Update info on debug info. + 2002-12-13 Kazu Hirata * 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 -- cgit v1.2.3