llvm-capstone/lldb
Jonas Devlieghere e31f994642
[lldb] Improve error message when evaluating expression when not stopped
When trying to run an expression after a process has existed, you
currently are shown the following error message:

  (lldb) p strlen("")
  error: Can't make a function caller while the process is running

This error is wrong and pretty uninformative. After this patch, the
following error message is shown:

  (lldb) p strlen("")
  error: unable to evaluate expression while the process is exited: the
  process must be stopped because the expression might require
  allocating memory.

rdar://109731325

Differential revision: https://reviews.llvm.org/D151497
2023-05-26 08:49:58 -07:00
..
bindings [lldb] Fix lua build after 27b6a4e63a 2023-05-15 17:24:00 -07:00
cmake [lldb][cmake] Allow specifying custom libcxx for tests in standalone builds 2023-05-20 12:07:48 +01:00
docs [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
examples Re-revert "[lldb] Move PassthroughScriptedProcess to lldb.scripted_process module" 2023-05-25 14:00:11 -07:00
include [LLDB] Explicitly declare constructor in PersistentExpressionState 2023-05-26 09:25:44 -04:00
packages/Python/lldbsuite [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb] Update QEMU git URL in setup.sh 2023-04-21 14:31:39 +00:00
source [lldb] Improve error message when evaluating expression when not stopped 2023-05-26 08:49:58 -07:00
test [lldb] Improve error message when evaluating expression when not stopped 2023-05-26 08:49:58 -07:00
third_party/Python/module [lldb] Remove legacy six module for py2->py3 2023-01-24 19:46:26 -08:00
tools [lldb] Add support for negative integer to {SB,}StructuredData 2023-05-22 16:14:00 -07:00
unittests [lldb][test] Fix -Wsign-compare in GDBRemoteCommunicationClientTest.cpp (NFC) 2023-05-23 09:09:07 +08:00
utils [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-05-17 10:53:33 -04:00
CODE_OWNERS.txt [lldb] Add entry to code owner 2023-04-25 23:15:07 -07:00
LICENSE.TXT
use_lldb_suite_root.py