[Lldb-commits] [PATCH] D51461: Support setting a breakpoint bile FileSpec+Line+Column in the SBAPI.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 29 15:34:49 PDT 2018


aprantl created this revision.
aprantl added a reviewer: jingham.
Herald added subscribers: abidh, mgrang.

Support setting a breakpoint bile FileSpec+Line+Column in the SBAPI.

This patch extends the SBAPI to allow for setting a breakpoint not
only at a specific line, but also at a specific (minimum) column. When
a column is specified, it will try to find an exact match or the
closest match on the same line that comes after the specified
location.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51461

Files:
  include/lldb/API/SBTarget.h
  include/lldb/Breakpoint/BreakpointResolver.h
  include/lldb/Breakpoint/BreakpointResolverFileLine.h
  include/lldb/Target/Target.h
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/main.c
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
  packages/Python/lldbsuite/test/lldbutil.py
  scripts/interface/SBTarget.i
  source/API/SBTarget.cpp
  source/Breakpoint/BreakpointResolver.cpp
  source/Breakpoint/BreakpointResolverFileLine.cpp
  source/Commands/CommandObjectBreakpoint.cpp
  source/Core/IOHandler.cpp
  source/Symbol/LineEntry.cpp
  source/Target/Target.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51461.163207.patch
Type: text/x-patch
Size: 27176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180829/7567241f/attachment-0001.bin>


More information about the lldb-commits mailing list