Re: [lldb-dev] Fwd: lldb doesn't work on centos7

2015-12-04 Thread 陶征霖 via lldb-dev
Also I found that the size of my program binary increases from 140M to 180M after -fno-limit-debug-info is added. Seems a lot of debug info is added? 2015-11-25 10:24 GMT+08:00 陶征霖 : > Hi Pavel, > > Thanks for your reply. Seems lldb not finding the variable in the first > place. > > * thread #1:

Re: [lldb-dev] Fwd: lldb doesn't work on centos7

2015-12-04 Thread 陶征霖 via lldb-dev
Hi Pavel, Thanks for your reply. Seems lldb not finding the variable in the first place. * thread #1: tid = 154, 0x00400e5e a.out`main + 94 at t.cpp:5, name = 'a.out', stop reason = breakpoint 1.1 frame #0: 0x00400e5e a.out`main + 94 at t.cpp:5 2 using namespace std;

Re: [lldb-dev] Fwd: lldb doesn't work on centos7

2015-11-24 Thread Pavel Labath via lldb-dev
HI, a couple of random shots in the dark: - could you paste the output of "frame variable --raw-output s"? (This disables lldb's type formatters. The goal is to see if the problem is in the formatter, or in lldb not finding the variable in the first place). - could you compile your test executab