[Lldb-commits] [PATCH] D64853: Fix CommandInterpreter for _regexp-break with options

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 00:12:21 PDT 2019


mib created this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

This patch fixes the regular expressions used by the CommandInterpreter
to match GDB style breakpoint command to the LLDB style.

The previous version passed the breakpoint options to _regex-break as a name
identifier, instead of recognising the options.

In addition to that, several test case have been added to check if all the
supported _regex-break command match their `b` alias.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64853

Files:
  lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
  lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c
  lldb/source/Interpreter/CommandInterpreter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64853.210254.patch
Type: text/x-patch
Size: 12521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190717/e3990cc2/attachment-0001.bin>


More information about the lldb-commits mailing list