Add an option (-y) to "break set" and "source list" that uses the same
authorJim Ingham <jingham@apple.com>
Thu, 16 Jul 2020 18:34:50 +0000 (11:34 -0700)
committerJim Ingham <jingham@apple.com>
Tue, 21 Jul 2020 00:40:36 +0000 (17:40 -0700)
commitbc0a9a17a4a658153f4b524da3274d33a98d1c5b
treeb979d42a6899e46ae198935b0f444a4d07b71fa7
parentb79dff02795074ca5a4937fc1c93cf0dc7b8d943
Add an option (-y) to "break set" and "source list" that uses the same
file:line:column form that we use to print out locations.  Since we
print them this way it makes sense we also accept that form.

Differential Revision: https://reviews.llvm.org/D83975
23 files changed:
lldb/include/lldb/Interpreter/OptionValue.h
lldb/include/lldb/Interpreter/OptionValueFileColonLine.h [new file with mode: 0644]
lldb/include/lldb/Interpreter/OptionValues.h
lldb/include/lldb/lldb-defines.h
lldb/include/lldb/lldb-enumerations.h
lldb/packages/Python/lldbsuite/test/lldbutil.py
lldb/source/Commands/CommandObjectBreakpoint.cpp
lldb/source/Commands/CommandObjectSource.cpp
lldb/source/Commands/Options.td
lldb/source/Interpreter/CMakeLists.txt
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/OptionValue.cpp
lldb/source/Interpreter/OptionValueArray.cpp
lldb/source/Interpreter/OptionValueDictionary.cpp
lldb/source/Interpreter/OptionValueFileColonLine.cpp [new file with mode: 0644]
lldb/source/Interpreter/OptionValueFileSpec.cpp
lldb/source/Interpreter/Property.cpp
lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/Makefile [new file with mode: 0644]
lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/TestBreakpointByFileColonLine.py [new file with mode: 0644]
lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/main.c [new file with mode: 0644]
lldb/test/API/source-manager/TestSourceManager.py
lldb/unittests/Interpreter/CMakeLists.txt
lldb/unittests/Interpreter/TestOptionValueFileColonLine.cpp [new file with mode: 0644]