[lldb-dev] [Bug 40746] New: Please backport multiple LLDB fixes to 8.0.0

2019-02-15 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=40746 Bug ID: 40746 Summary: Please backport multiple LLDB fixes to 8.0.0 Product: lldb Version: 8.0 Hardware: PC OS: Linux Status: NEW Severity: enhancement

[lldb-dev] [Bug 40745] New: Merge r353642 to the 8.0 branch

2019-02-15 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=40745 Bug ID: 40745 Summary: Merge r353642 to the 8.0 branch Product: lldb Version: 8.0 Hardware: All OS: OpenBSD Status: NEW Severity: release blocker Prior

Re: [lldb-dev] how to set a watchpoint on an "unsigned short" parameter ?

2019-02-15 Thread Ted Woodward via lldb-dev
I don't see anything on this line that would change x: fprintf(stderr, "some string %lu %c\n", r==(void*)0UL)? 255UL : A_MACRO(r), x? '0' : '1' ); I suggest you set a breakpoint on the line and a breakpoint on the next line. Ver

Re: [lldb-dev] how to set a watchpoint on an "unsigned short" parameter ?

2019-02-15 Thread Jason Vas Dias via lldb-dev
Good day Ted - Thanks for responding - but I did try that one: (lldb) wa s v x error: Watchpoint creation failed (addr=0x, size=0, variable expression='x'). error: cannot set a watchpoint with watch_size of 0 (lldb) wa s -s 2 v x inval

Re: [lldb-dev] how to set a watchpoint on an "unsigned short" parameter ?

2019-02-15 Thread Ted Woodward via lldb-dev
"w s v x" would be the command you want. (lldb) b f Breakpoint 1: where = watch`f + 12 at watch.c:5:4, address = 0x50ec (lldb) r hexagon-sim INFO: The rev_id used in the simulation is 0x4060 (v60a_512) hexagon-sim INFO: Setting up debug server on port 57824 Process 1 launched: '/usr2/tedw