[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

Re: [lldb-dev] Force format for frame variable using type summary is not working as expected.

2020-01-08 Thread Chirag Patel via lldb-dev
{ [0] = 0x48 [1] = 0x65 [2] = 0x6c [3] = 0x6c [4] = 0x6f [5] = 0x20 [6] = 0x57 [7] = 0x6f [8] = 0x72 [9] = 0x6c [10] = 0x64 [11] = 0x21 [12] = 0x00 } since that's how arrays get printed in lldb. Jim > On Jan 8, 2020, at 12:09 AM, Chirag Patel via lldb-

[lldb-dev] Force format for frame variable using type summary is not working as expected.

2020-01-08 Thread Chirag Patel via lldb-dev
Hello, I am trying to debug a simple c program, int main() { char arr[] = "Hello World!"; } On gdb, while printing variable content with force formatting, (gdb) l 1 int main() { 2 char arr[] = "Hello World!"; 3 } (gdb) b 3 Breakpoint 2 at 0x40050a: file string.c, lin

[lldb-dev] LLDB target charset, libicu vs libiconv.

2018-12-12 Thread Chirag Patel via lldb-dev
Hello, I am trying to read ebcdic(specially 1142) encoded string using lldb, but at the moment AFAIK lldb only support UTF8/16/32 and ASCII. (Please correct me if i am wrong). i started looking into adding support for "target-charset", which is present on gdb and uses libiconv. There is one m

[lldb-dev] EBCDIC charset in lldb

2018-11-21 Thread Chirag Patel via lldb-dev
Hello, I was looking to read ebcdic encoded string in lldb (cp1252), but did not able to find option as gdb has $set target-charset EBCDIC-US Can anybody help me how to accomplice that? Thanks and regards, Chirag Patel| Software Engineer RAINCODE Mainframe to .NET Tel : +91 080 41159811 | Mob :

Re: [lldb-dev] [LLDB]{Proposal} Adding new typesystem to support language like PLI/COBOL to lldb

2018-10-16 Thread Chirag Patel via lldb-dev
-paulr From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Chirag Patel via lldb-dev Sent: Tuesday, October 09, 2018 6:56 AM To: lldb-dev@lists.llvm.org Subject: [lldb-dev] [LLDB]{Proposal} Adding new typesystem to support language like PLI/COBOL to lldb Hello all, I am l

[lldb-dev] [LLDB]{Proposal} Adding new typesystem to support language like PLI/COBOL to lldb

2018-10-09 Thread Chirag Patel via lldb-dev
Hello all, I am looking into adding the new typesystem support for languages like PLI/COBOL. Is anybody actively working/looking on this? Regards, Chirag Patel| Software Engineer RAINCODE Mainframe to .NET Tel : +91 080 41159811 | Mob : +91 90493 36744 www.raincodelabs.com

Re: [lldb-dev] Proposal for bi-endian code debugging support for lldb.

2018-10-09 Thread Chirag Patel via lldb-dev
Ping! Chirag Patel| Software Engineer RAINCODE Mainframe to .NET Tel : +91 080 41159811 | Mob : +91 90493 36744 www.raincodelabs.com<http://www.raincodelabs.com/> From: lldb-dev On Behalf Of Chirag Patel via lldb-dev Sent: 04 October 2018 11:34 To: lldb-dev@lists.llvm.org Subject: Re:

Re: [lldb-dev] Proposal for bi-endian code debugging support for lldb.

2018-10-03 Thread Chirag Patel via lldb-dev
For the moment I am planning to add it for clang typesystem. Chirag Patel| Software Engineer RAINCODE Mainframe to .NET Tel : +91 080 41159811 | Mob : +91 90493 36744 www.raincodelabs.com<http://www.raincodelabs.com/> From: lldb-dev On Behalf Of Chirag Patel via lldb-dev Sent: 04 Octobe

[lldb-dev] Proposal for bi-endian code debugging support for lldb.

2018-10-03 Thread Chirag Patel via lldb-dev
Hello, Kindly correct me if I am wrong. Now llvm has the interface to set endianity on base_types, I am looking into the support for lldb to debug bi-endian code (with attribute DW_AT_endianity). Currently I am planning to record the endianity/byte-order in CompilerType object with context and

[lldb-dev] Scaler_Storage_order support in lldb.

2018-09-02 Thread Chirag Patel via lldb-dev
Hello, I am currently looking into supporting the scaler_storage_order attribute support in lldb clang type system, namely DW_AT_endianity attribute on DW_TAG_base_type.(for the time being i will add on DW_TAG_variable support later) I am planning to encode that attribute in heap-allocated E