[LLDB][GUI] Add Breakpoints window
authorOmar Emara <mail@OmarEmara.dev>
Tue, 17 Aug 2021 23:58:05 +0000 (16:58 -0700)
committerGreg Clayton <gclayton@fb.com>
Wed, 18 Aug 2021 00:38:16 +0000 (17:38 -0700)
commitb26e1efc424ad840143f02a96246cc666ee99e72
tree45d4b7a9673395471dd1a34efdcd53f92538daef
parent54934923b92d6def01d67ccc6be678a6652f3757
[LLDB][GUI] Add Breakpoints window

This patch adds a breakpoints window that lists all breakpoints and
breakpoints locations. The window is implemented as a tree, where the
first level is the breakpoints and the second level is breakpoints
locations.

The tree delegate was hardcoded to only draw when there is a process,
which is not necessary for breakpoints, so the relevant logic was
abstracted in the TreeDelegateShouldDraw method.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D107386
lldb/source/Core/IOHandlerCursesGUI.cpp