This is unreproducable. I print strings fine all day. Try -gdwarf-2, see if it helps. [EMAIL PROTECTED] (Pierre Sarrazin) writes: > On my Pentium-based RedHat 6.2 machine, gdb 5.0 cannot print > the contents of a C++ string variable. It displays this:
- gdb 5.0 cannot print contents of 'string' Pierre Sarrazin
- Re: gdb 5.0 cannot print contents of 'string' Paul Kinzelman
- Re: gdb 5.0 cannot print contents of 'string' Daniel Berlin
- Re: gdb 5.0 cannot print contents of 'string' Pierre Sarrazin
- Re: gdb 5.0 cannot print contents of 'string' Daniel Berlin
- Re: gdb 5.0 cannot print contents of 'string' Pierre Sarrazin
- Re: gdb 5.0 cannot print contents of 'string' Daniel Berlin