diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-15 21:59:32 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-15 21:59:32 +0000 |
commit | 514487e80609921f8451a80965f65c3defbce725 (patch) | |
tree | 424c18a67cc664a7d276846b6d84a575f23c99f2 /lldb/source/Target/ThreadPlanStepInstruction.cpp | |
parent | 41febc658b62f15983301ebff759c99909f2ecbf (diff) | |
download | bcm5719-llvm-514487e80609921f8451a80965f65c3defbce725.tar.gz bcm5719-llvm-514487e80609921f8451a80965f65c3defbce725.zip |
Made lldb_private::ArchSpec contain much more than just an architecture. It
now, in addition to cpu type/subtype and architecture flavor, contains:
- byte order (big endian, little endian)
- address size in bytes
- llvm::Triple for true target triple support and for more powerful plug-in
selection.
llvm-svn: 125602
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInstruction.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanStepInstruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInstruction.cpp b/lldb/source/Target/ThreadPlanStepInstruction.cpp index 5d744c458e8..de23c22f9db 100644 --- a/lldb/source/Target/ThreadPlanStepInstruction.cpp +++ b/lldb/source/Target/ThreadPlanStepInstruction.cpp @@ -123,10 +123,10 @@ ThreadPlanStepInstruction::ShouldStop (Event *event_ptr) StreamString s; s.PutCString ("Stepped in to: "); addr_t stop_addr = m_thread.GetStackFrameAtIndex(0)->GetRegisterContext()->GetPC(); - s.Address (stop_addr, m_thread.GetProcess().GetAddressByteSize()); + s.Address (stop_addr, m_thread.GetProcess().GetTarget().GetArchitecture().GetAddressByteSize()); s.PutCString (" stepping out to: "); addr_t return_addr = return_frame->GetRegisterContext()->GetPC(); - s.Address (return_addr, m_thread.GetProcess().GetAddressByteSize()); + s.Address (return_addr, m_thread.GetProcess().GetTarget().GetArchitecture().GetAddressByteSize()); log->Printf("%s.", s.GetData()); } m_thread.QueueThreadPlanForStepOut(false, NULL, true, m_stop_other_threads, eVoteNo, eVoteNoOpinion, 0); |