diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-08-07 21:54:09 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-08-07 21:54:09 +0000 |
commit | c590c679663f093bc74355572ccfa8d40284d065 (patch) | |
tree | 02105b80ac1f3cb7ab5232257e90b54f2be4da08 /include/lldb/Target/Target.h | |
parent | 3160832f026e60e832da55f90993a40ad132e360 (diff) | |
download | lldb-c590c679663f093bc74355572ccfa8d40284d065.tar.gz |
New settings: target.use-hex-immediates and target.hex-immediates-style
- Immediates can be shown as hex (either Intel or MASM style)
- See TestSettings.py for usage examples
- Verified to cause no regressions on Linux x86_64 (Ubuntu 12.10)
Patch by Richard Mitton!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Target/Target.h')
-rw-r--r-- | include/lldb/Target/Target.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/lldb/Target/Target.h b/include/lldb/Target/Target.h index 33effa1a1..d86ef2675 100644 --- a/include/lldb/Target/Target.h +++ b/include/lldb/Target/Target.h @@ -22,6 +22,7 @@ #include "lldb/Breakpoint/WatchpointList.h" #include "lldb/Core/ArchSpec.h" #include "lldb/Core/Broadcaster.h" +#include "lldb/Core/Disassembler.h" #include "lldb/Core/Event.h" #include "lldb/Core/ModuleList.h" #include "lldb/Core/UserSettingsController.h" @@ -46,14 +47,14 @@ typedef enum InlineStrategy eInlineBreakpointsHeaders, eInlineBreakpointsAlways } InlineStrategy; - + typedef enum LoadScriptFromSymFile { eLoadScriptFromSymFileTrue, eLoadScriptFromSymFileFalse, eLoadScriptFromSymFileWarn } LoadScriptFromSymFile; - + //---------------------------------------------------------------------- // TargetProperties //---------------------------------------------------------------------- @@ -157,13 +158,19 @@ public: const char * GetExpressionPrefixContentsAsCString (); - + + bool + GetUseHexImmediates() const; + bool GetUseFastStepping() const; - + LoadScriptFromSymFile GetLoadScriptFromSymbolFile() const; - + + Disassembler::HexImmediateStyle + GetHexImmediateStyle() const; + }; typedef std::shared_ptr<TargetProperties> TargetPropertiesSP; |