This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/320: gdb can't handle complex variables in C++
- From: kilgore at bnl dot gov
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Jan 2002 17:00:12 -0000
- Subject: gdb/320: gdb can't handle complex variables in C++
- Reply-to: kilgore at bnl dot gov
>Number: 320
>Category: gdb
>Synopsis: gdb can't handle complex variables in C++
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 30 09:08:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: kilgore@bnl.gov
>Release: 5.1.1
>Organization:
>Environment:
>Description:
gdb cannot show complex variables. Using gcc-3.0.3
Defining:
{
complex<double> Li2x;
....
return Li2x;
}
If I try
$ p Li2x
I get:
$1 = {_M_value = Invalid C/C++ type code 20 in symbol table.
This is not a new problem. gdb has been unable to handle complex variables for a long time.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: