summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-09-08 22:13:49 +0000
committerJim Ingham <jingham@apple.com>2011-09-08 22:13:49 +0000
commitb7f6b2fa3c4a5162223850b28e63b5193159ae6d (patch)
treef51b13eb1e25bdab179c6b60e4caaf5b104b6136 /lldb/source/Core/Debugger.cpp
parent7db8d697cf094ac586531d5500892e94a49ec537 (diff)
downloadbcm5719-llvm-b7f6b2fa3c4a5162223850b28e63b5193159ae6d.tar.gz
bcm5719-llvm-b7f6b2fa3c4a5162223850b28e63b5193159ae6d.zip
Move the SourceManager from the Debugger to the Target. That way it can store the per-Target default Source File & Line.
Set the default Source File & line to main (if it can be found.) at startup. Selecting the current thread & or frame resets the current source file & line, and "source list" as well as the breakpoint command "break set -l <NUM>" will use the current source file. llvm-svn: 139323
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index c361dfc5e5c..3213ba8ade3 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -237,7 +237,7 @@ Debugger::Debugger () :
m_target_list (),
m_platform_list (),
m_listener ("lldb.Debugger"),
- m_source_manager (),
+ m_source_manager(NULL),
m_command_interpreter_ap (new CommandInterpreter (*this, eScriptLanguageDefault, false)),
m_input_reader_stack (),
m_input_reader_data ()
OpenPOWER on IntegriCloud