diff options
| author | Matthew Gardiner <mg11@csr.com> | 2014-09-29 08:02:24 +0000 |
|---|---|---|
| committer | Matthew Gardiner <mg11@csr.com> | 2014-09-29 08:02:24 +0000 |
| commit | f03e6d84bc649ff230b197fb9c2dffaeebd9edef (patch) | |
| tree | bc5f86fcf3fa13ed82aaaae36a00d6401be32b6c /lldb/source/Plugins/Platform/Kalimba | |
| parent | 1779d438bc389f0cb67ecd3d9fed7d13bca7db39 (diff) | |
| download | bcm5719-llvm-f03e6d84bc649ff230b197fb9c2dffaeebd9edef.tar.gz bcm5719-llvm-f03e6d84bc649ff230b197fb9c2dffaeebd9edef.zip | |
Very minimal support 24-bit kalimbas. Vanilla "memory read" for data sections
works, as do breakpoints, run and pause, display zeroth frame.
See
http://reviews.llvm.org/D5503
for a fuller description of the changes in this commit.
llvm-svn: 218596
Diffstat (limited to 'lldb/source/Plugins/Platform/Kalimba')
| -rw-r--r-- | lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp b/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp index 068b1b10e72..fa3d8e4a3e1 100644 --- a/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp +++ b/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp @@ -250,7 +250,17 @@ PlatformKalimba::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch) { if (idx == 0) { - arch = ArchSpec("kalimba-csr-unknown"); + arch = ArchSpec("kalimba3-csr-unknown"); + return true; + } + if (idx == 1) + { + arch = ArchSpec("kalimba4-csr-unknown"); + return true; + } + if (idx == 2) + { + arch = ArchSpec("kalimba5-csr-unknown"); return true; } return false; |

