[all-commits] [llvm/llvm-project] bbf70c: [lldb/Core] Support asking the debugger for a spec...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sat Dec 21 17:35:54 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bbf70c046789f4403a9c02fc5558708ef19073cf
      https://github.com/llvm/llvm-project/commit/bbf70c046789f4403a9c02fc5558708ef19073cf
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-12-21 (Sat, 21 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/source/Core/Debugger.cpp

  Log Message:
  -----------
  [lldb/Core] Support asking the debugger for a specific script interpreter

Rather than holding on to one script interpreter, it should be possible
to request a script interpreter for a specific scripting language. The
GetScriptInterpreter method now takes an optional scripting language
argument.

(NFC)


  Commit: 8983d69144d14d6477c377bb91e9c7224e32f753
      https://github.com/llvm/llvm-project/commit/8983d69144d14d6477c377bb91e9c7224e32f753
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-12-21 (Sat, 21 Dec 2019)

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

  Log Message:
  -----------
  [lldb/Commands] Fix bogus enum entry and add Lua (NFC)

Fixes a bogus enum value for the scripting language options, adds an
entry for Lua and refactored the code to use an exhaustive switch.


  Commit: 5e32eb1c7a816a1902f6229f7a1f9da92678f451
      https://github.com/llvm/llvm-project/commit/5e32eb1c7a816a1902f6229f7a1f9da92678f451
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-12-21 (Sat, 21 Dec 2019)

  Changed paths:
    M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
    A lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test

  Log Message:
  -----------
  [lldb/Commands] Honor the scripting language passed

This ensures that breakpoint command honors the scripting language
passed with `-s`. Currently the argument ignores the actual language and
only uses it to differentiate between lldb and script commands.


Compare: https://github.com/llvm/llvm-project/compare/4164be7206d7...5e32eb1c7a81


More information about the All-commits mailing list