[all-commits] [llvm/llvm-project] 5784bf: Fix interactive use of "command script add". (#83350)

jimingham via All-commits all-commits at lists.llvm.org
Wed Feb 28 17:26:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5784bf85bc5143266565586ece0113cd773a8616
      https://github.com/llvm/llvm-project/commit/5784bf85bc5143266565586ece0113cd773a8616
  Author: jimingham <jingham at apple.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/test/API/commands/command/script/TestCommandScript.py
    A lldb/test/API/commands/command/script/cmd_file.lldb

  Log Message:
  -----------
  Fix interactive use of "command script add". (#83350)

There was a think-o in a previous commit that made us only able to
define 1 line commands when using command script add interactively.

There was also no test for this feature, so I fixed the think-o and
added a test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list