[lldb-dev] [Patch] break-insert command in lldb-mi

Abid, Hafiz Hafiz_Abid at mentor.com
Thu Aug 7 10:19:17 PDT 2014

Hi Deepak,
I was testing lldb-mi and I found a few issues with the break-insert command. 

1. The constructor of CMICmdArgValString used in this command did not provide an option to set m_bHandleDirPaths. So the parsing will fail on command like "26-break-insert --thread-group i1 -f /home/abidh/demos/main.c:22". I added another parameter to the constructor to solve this issue. 

2. The parameter -f does not take any argument. The code was thinking that it takes one which was causing an error. 

After these changes the break-insert command is working fine for me. Please let me know if you see any problem with these change. Otherwise I will apply them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: break_insert.patch
Type: application/octet-stream
Size: 4049 bytes
Desc: break_insert.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140807/7a4c5e60/attachment.obj>

More information about the lldb-dev mailing list