Hi,

How can i see the string content in a std::string variable using
a core file :   gdb myprogram mycore

(gdb) print stdstringvariable
$1 = { static npos = 18446744073709551615, _M_dataplus =
(<std::allocator<char>>= {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>},  _M_p = "\270\254#\264\252*"}}
(gdb)_

i know that the content of the variable is not "\270\254#\264\252*"

Thanks
-- 
View this message in context: 
http://old.nabble.com/Print-std%3A%3Astring.-tp29298314p29298314.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.


Reply via email to