[lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Chirag Patel via lldb-dev
Hello all, While debugging and printing struct with multi-dimensional char array, gdb successfully prints string while lldb bails out with only printing address. For simple C testcase, struct b { char i[2][4]; }; int main() { struct b z; z.i[0][0] = 'F'; z.i[0][1

[lldb-dev] [11.0.0 Release] Release Candidate 6 is here

2020-10-07 Thread Hans Wennborg via lldb-dev
Hello once again, A few more issues appeared, so here is yet another release candidate: llvmorg-11.0.0-rc6 was just tagged. Source code and docs are available at https://prereleases.llvm.org/11.0.0/#rc6 and https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0-rc6 Pre-built binaries w

[lldb-dev] n00b error running lldb tests on windows?

2020-10-07 Thread Joseph Tremoulet via lldb-dev
Hi, I'm trying to run the lldb tests on Windows (fresh installs of VS2019 16.7.5, Python 3.8.5, and Swig 4.0.2). The API tests crash immediately in python initialization code: Windows fatal exception: access violation Current thread 0x693c (most recent call first): File "", line 219 in

[lldb-dev] [Bug 47743] LLDB displays wrong values for packed bitfields

2020-10-07 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=47743 lab...@google.com changed: What|Removed |Added Assignee|lldb-dev@lists.llvm.org |lab...@google.com --- Comment #3 from lab...

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Jim Ingham via lldb-dev
There isn’t a built-in summary formatter for two dimensional arrays of chars, but the type is matching the regex for the one-dimensional StringSummaryFormat, but that doesn’t actually know how to format two dimensional arrays of chars. The type regex for StringSummaryFormat: char [[0-9]+] We

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Pavel Labath via lldb-dev
On 07/10/2020 20:42, Jim Ingham via lldb-dev wrote: There isn’t a built-in summary formatter for two dimensional arrays of chars, but the type is matching the regex for the one-dimensional StringSummaryFormat, but that doesn’t actually know how to format two dimensional arrays of chars.  The ty

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Jim Ingham via lldb-dev
> On Oct 7, 2020, at 11:44 AM, Pavel Labath wrote: > > On 07/10/2020 20:42, Jim Ingham via lldb-dev wrote: >> There isn’t a built-in summary formatter for two dimensional arrays of >> chars, but the type is matching the regex for the one-dimensional >> StringSummaryFormat, but that doesn’t ac

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Pavel Labath via lldb-dev
On 07/10/2020 21:01, Jim Ingham wrote: On Oct 7, 2020, at 11:44 AM, Pavel Labath > wrote: On 07/10/2020 20:42, Jim Ingham via lldb-dev wrote: There isn’t a built-in summary formatter for two dimensional arrays of chars, but the type is matching the regex for the one-d

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Jim Ingham via lldb-dev
> On Oct 7, 2020, at 12:11 PM, Pavel Labath wrote: > > On 07/10/2020 21:01, Jim Ingham wrote: >>> On Oct 7, 2020, at 11:44 AM, Pavel Labath >> > wrote: >>> >>> On 07/10/2020 20:42, Jim Ingham via lldb-dev wrote: There isn’t a built-in summary formatter for two dime

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Greg Clayton via lldb-dev
> On Oct 7, 2020, at 12:16 PM, Jim Ingham via lldb-dev > wrote: > > > >> On Oct 7, 2020, at 12:11 PM, Pavel Labath wrote: >> >> On 07/10/2020 21:01, Jim Ingham wrote: On Oct 7, 2020, at 11:44 AM, Pavel Labath >>> > wrote: On 07/10/2020 20:42, Jim Ing

Re: [lldb-dev] lldb 11.0.0-rc2 different behavior then gdb.

2020-10-07 Thread Jim Ingham via lldb-dev
> On Oct 7, 2020, at 5:29 PM, Greg Clayton wrote: > > > >> On Oct 7, 2020, at 12:16 PM, Jim Ingham via lldb-dev >> mailto:lldb-dev@lists.llvm.org>> wrote: >> >> >> >>> On Oct 7, 2020, at 12:11 PM, Pavel Labath >> > wrote: >>> >>> On 07/10/2020 21:01, Jim Ingham wr

[lldb-dev] [Bug 47758] New: Stop with a watchpoint, only on register values

2020-10-07 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=47758 Bug ID: 47758 Summary: Stop with a watchpoint, only on register values Product: lldb Version: unspecified Hardware: PC OS: All Status: NEW Severity: enhancement