[all-commits] [llvm/llvm-project] ec48a0: [lldb] Improve the error message in run_to_breakpo...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jul 7 10:23:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec48a0df9151a5192381e44bee6a48a08ed8932b
      https://github.com/llvm/llvm-project/commit/ec48a0df9151a5192381e44bee6a48a08ed8932b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbutil.py
    A lldb/test/API/lldbutil-tests/failed-to-hit-breakpoint/Makefile
    A lldb/test/API/lldbutil-tests/failed-to-hit-breakpoint/TestLLDBUtilFailedToHitBreakpoint.py
    A lldb/test/API/lldbutil-tests/failed-to-hit-breakpoint/main.cpp

  Log Message:
  -----------
  [lldb] Improve the error message in run_to_breakpoint_do_run

Improve the error message when we fail to hit the initial breakpoint in
run_to_breakpoint_do_run. In addition to the process state, we now also
report the exit code and reason (if the process exited) as well as the
inferior's output.

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




More information about the All-commits mailing list