[lldb-dev] "error: summary string parsing error" on Fedora 30

2019-06-24 Thread Bob Eastbrook via lldb-dev
With Clang 8.0.0 and libstd++ 9.1.1 on Fedora 30 x86_64, I get this error from LLDB when trying to see the value of a string: "error: summary string parsing error" The code is simply: std::string msg{"foo bar baz"}; With libcxx 8.0.0, instead of the above error, I simply see "??" when inspectin

Re: [lldb-dev] "error: summary string parsing error" on Fedora 30

2019-07-18 Thread Bob Eastbrook via lldb-dev
uot;)); > > So do a "frame var --raw msg" and see what the members of your std::string > look like. I am guessing you won't see "_M_dataplus" or "_M_p" in there. The > "${var" means your std::string variable, and we are trying to access > &

Re: [lldb-dev] "error: summary string parsing error" on Fedora 30

2019-07-22 Thread Bob Eastbrook via lldb-dev
On Fri, Jul 19, 2019 at 4:08 PM Greg Clayton wrote: > Sounds like the compiler omitted the type info for std::string. Try "-glldb" > in your compiler flags. This tunes debug info for LLDB. A lot of compilers > will try to omit types from debug info if the type doesn't originate in the > curren

Re: [lldb-dev] "error: summary string parsing error" on Fedora 30

2019-07-22 Thread Bob Eastbrook via lldb-dev
On Mon, Jul 22, 2019 at 1:19 PM Greg Clayton wrote: > > Apparently the versions which ship with Ubuntu 19.04 and Fedora 30 differ > > with respect to this flag. > > So are you saying "-glldb" is wrong on Fedora but "-fno-limit-debug-info" > works? On Fedora 30: -g: no debug info -glldb: no de