[all-commits] [llvm/llvm-project] 3b3b9b: [lldb/Commands] Fix outdated `breakpoint command a...

Dave Lee via All-commits all-commits at lists.llvm.org
Mon Sep 21 10:15:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b3b9ba1c7d89afe4909a42e2a795354bb79e062
      https://github.com/llvm/llvm-project/commit/3b3b9ba1c7d89afe4909a42e2a795354bb79e062
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M lldb/source/Commands/CommandObjectBreakpointCommand.cpp

  Log Message:
  -----------
  [lldb/Commands] Fix outdated `breakpoint command add` help string

Update the some examples in the help string for `breakpoint command add`.

Python breakpoint commands have different output than what's shown in the help string.

Notes:
  * Removed an example containing an inner function, as it seems more about a Python technique than about `command script add`
  * Updated `print x` to `print(x)` to be python 2/3 agnostic

Differential Revision: https://reviews.llvm.org/D87807




More information about the All-commits mailing list