llvm-project/lldb/include/lldb
Jonas Devlieghere e103ae92ef Add setting to require hardware breakpoints.
When debugging read-only memory we cannot use software breakpoint. We
already have support for hardware breakpoints and users can specify them
with `-H`. However, there's no option to force LLDB to use hardware
breakpoints internally, for example while stepping.

This patch adds a setting target.require-hardware-breakpoint that forces
LLDB to always use hardware breakpoints. Because hardware breakpoints
are a limited resource and can fail to resolve, this patch also extends
error handling in thread plans, where breakpoints are used for stepping.

Differential revision: https://reviews.llvm.org/D54221

llvm-svn: 346920
2018-11-15 01:18:15 +00:00
..
API Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
Breakpoint Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
Core [reproducer] Post-commit cleanup 2018-11-15 01:05:40 +00:00
DataFormatters Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Expression Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Host Add GDB remote packet reproducer. 2018-11-13 19:18:16 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Symbol Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Target Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
Utility Add GDB remote packet reproducer. 2018-11-13 19:18:16 +00:00
lldb-defines.h Add a "scripted" breakpoint type to lldb. 2018-09-13 21:35:32 +00:00
lldb-enumerations.h [LLDB] - Recommit r346848 "[LLDB] - Support the single file split DWARF.". 2018-11-14 13:01:15 +00:00
lldb-forward.h Remove Go debugger plugin 2018-11-05 19:33:59 +00:00
lldb-private-defines.h Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
lldb-private-enumerations.h Move AddressClass to private enums since API doesn't provide any functions to manage it. 2018-06-27 06:50:10 +00:00
lldb-private-forward.h NativeProcessProtocol: Simplify breakpoint setting code 2018-11-04 10:58:08 +00:00
lldb-private-interfaces.h Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
lldb-private-types.h Replace "nullptr-terminated" C-arrays of OptionValueEnumeration with safer llvm::ArrayRef 2018-09-26 18:50:19 +00:00
lldb-private.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-public.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-types.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-versioning.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
module.modulemap Move SafeMachO from Utility to Host 2018-09-12 12:26:05 +00:00