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/tools/debugserver/source/RNBRemote.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/tools/debugserver/source/RNBRemote.cpp')
| -rw-r--r-- | lldb/tools/debugserver/source/RNBRemote.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp index 49aa5428095..e1b8fc4103c 100644 --- a/lldb/tools/debugserver/source/RNBRemote.cpp +++ b/lldb/tools/debugserver/source/RNBRemote.cpp @@ -3270,7 +3270,10 @@ RNBRemote::HandlePacket_qHostInfo (const char *p) strm << "endian:pdp;"; #endif - strm << "ptrsize:" << std::dec << sizeof(void *) << ';'; + if (promoted_to_64) + strm << "ptrsize:8;"; + else + strm << "ptrsize:" << std::dec << sizeof(void *) << ';'; return SendPacket (strm.str()); } |

