summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/EmulateInstruction.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-15 04:12:07 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-15 04:12:07 +0000
commit9a8fa9161fbed411f4e34c551bc7033b64fd72d1 (patch)
tree491428ee7d69700d75372a7057beea1156c2eda6 /lldb/source/Core/EmulateInstruction.cpp
parent745ae2853c4812300823b77f1f0a88019d3b9da0 (diff)
downloadbcm5719-llvm-9a8fa9161fbed411f4e34c551bc7033b64fd72d1.tar.gz
bcm5719-llvm-9a8fa9161fbed411f4e34c551bc7033b64fd72d1.zip
Added generic register numbers for simple ABI argument registers and defined
the appropriate registers for arm and x86_64. The register names for the arguments that are the size of a pointer or less are all named "arg1", "arg2", etc. This allows you to read these registers by name: (lldb) register read arg1 arg2 arg3 ... You can also now specify you want to see alternate register names when executing the read register command: (lldb) register read --alternate (lldb) register read -A llvm-svn: 131376
Diffstat (limited to 'lldb/source/Core/EmulateInstruction.cpp')
-rw-r--r--lldb/source/Core/EmulateInstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/EmulateInstruction.cpp b/lldb/source/Core/EmulateInstruction.cpp
index a30dcd80608..c2f1f41c828 100644
--- a/lldb/source/Core/EmulateInstruction.cpp
+++ b/lldb/source/Core/EmulateInstruction.cpp
@@ -421,7 +421,7 @@ EmulateInstruction::WriteRegisterDefault (EmulateInstruction *instruction,
{
StreamFile strm (stdout, false);
strm.Printf (" Write to Register (name = %s, value = " , reg_info->name);
- reg_value.Dump(&strm, reg_info, false);
+ reg_value.Dump(&strm, reg_info, false, false, eFormatDefault);
strm.PutCString (", context = ");
context.Dump (strm, instruction);
strm.EOL();
OpenPOWER on IntegriCloud