llvm-capstone/lldb/test
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
..
API TestStackCoreScriptedProcess.py is timing out, skip it 2023-05-25 19:13:16 -07:00
Shell [lldb] Improve error message when evaluating expression when not stopped 2023-05-26 08:49:58 -07:00
Unit [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
CMakeLists.txt [lldb][cmake] Allow specifying custom libcxx for tests in standalone builds 2023-05-20 12:07:48 +01:00
lit.cfg.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00