diff options
author | Greg Clayton <gclayton@apple.com> | 2011-04-26 23:48:45 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-04-26 23:48:45 +0000 |
commit | 79ea878bf908499b4452e14795af1096cf067995 (patch) | |
tree | 9a8c40a8350c700023ab01f6572f6ca1576fd651 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | aec25847606fd69e6ef59dd28c5f6d94ab8708d3 (diff) | |
download | llvm-79ea878bf908499b4452e14795af1096cf067995.zip llvm-79ea878bf908499b4452e14795af1096cf067995.tar.gz llvm-79ea878bf908499b4452e14795af1096cf067995.tar.bz2 |
Got the EmulateInstruction CFI code a lot closer to producing CFI data.
Switch the EmulateInstruction to use the standard RegisterInfo structure
that is defined in the lldb private types intead of passing the reg kind and
reg num everywhere. EmulateInstruction subclasses also need to provide
RegisterInfo structs given a reg kind and reg num. This eliminates the need
for the GetRegisterName() virtual function and allows more complete information
to be passed around in the read/write register callbacks. Subclasses should
always provide RegiterInfo structs with the generic register info filled in as
well as at least one kind of register number in the RegisterInfo.kinds[] array.
llvm-svn: 130256
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 3e9cef3..df16f56 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -147,8 +147,8 @@ ThreadGDBRemote::GetUnwinder () { case llvm::Triple::x86_64: case llvm::Triple::x86: - case llvm::Triple::arm: - case llvm::Triple::thumb: +// case llvm::Triple::arm: +// case llvm::Triple::thumb: m_unwinder_ap.reset (new UnwindLLDB (*this)); break; |