bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Viewing complex<double>; g++-3.0


From: Jim West
Subject: Viewing complex<double>; g++-3.0
Date: 17 Aug 2001 16:16:58 GMT
User-agent: slrn/0.9.6.2 (OSF1)

I'm having trouble viewing the contents of a complex<double> variable
with gdb. When the program is compiled with g++ -ggdb, version 3.0 of
g++/gcc, I get the following:

Breakpoint 1, main () at testdbg.cc:5
5               std::complex<double> j(0.0, 1.0);
(gdb) n
6               std::cout << j << '\n';
(gdb) p j
$1 = {_M_value = Invalid C/C++ type code 20 in symbol table.
(gdb) 


Is there another flag I should be using in compiling?
-- 
James C. West (Jim)                       address@hidden
Professor                                 address@hidden
Electrical and Computer Engineering
Oklahoma State University



reply via email to

[Prev in Thread] Current Thread [Next in Thread]