[lldb] Add support for MSP430 in LLDB.
authorIlya Kuklin <ikuklin@accesssoftek.com>
Mon, 17 Apr 2023 22:26:48 +0000 (15:26 -0700)
committerAnton Korobeynikov <anton@korobeynikov.info>
Mon, 17 Apr 2023 23:03:35 +0000 (16:03 -0700)
commit81beb15d7e54b16f4beba0bafd982d56c6b95222
treebbbe5a64fbd223942c2a3fd78594b97d7902cce4
parent110cf873add8ae7c34c184d56f7b097683bb4007
[lldb] Add support for MSP430 in LLDB.

Add MSP430 to the list of available targets, implement MSP430 ABI, add support for debugging targets with 16-bit address size.

The update is intended for use with MSPDebug, a GDB server implementation for MSP430.

Reviewed By: bulbazord, DavidSpickett

Differential Revision: https://reviews.llvm.org/D146965
18 files changed:
lldb/include/lldb/Utility/ArchSpec.h
lldb/include/lldb/Utility/DataExtractor.h
lldb/source/Expression/IRMemoryMap.cpp
lldb/source/Expression/LLVMUserExpression.cpp
lldb/source/Host/common/NativeProcessProtocol.cpp
lldb/source/Plugins/ABI/CMakeLists.txt
lldb/source/Plugins/ABI/MSP430/ABISysV_msp430.cpp [new file with mode: 0644]
lldb/source/Plugins/ABI/MSP430/ABISysV_msp430.h [new file with mode: 0644]
lldb/source/Plugins/ABI/MSP430/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Target/Platform.cpp
lldb/source/Utility/ArchSpec.cpp
lldb/test/API/functionalities/gdb_remote_client/TestMSP430MSPDebug.py [new file with mode: 0644]
lldb/test/API/functionalities/gdb_remote_client/msp430.yaml [new file with mode: 0644]
lldb/unittests/Utility/ArchSpecTest.cpp