llvm-project/lldb/source/Plugins/Process/gdb-remote
Greg Clayton 99d0faf27e Cleaned up code that wasn't using the Initialize and Terminate paradigm by
changing it to use it. There was an extra parameter added to the static
accessor global user settings controllers that wasn't needed. A bool was being
used as a parameter to the accessor just so it could be used to clean up 
the global user settings controller which is now fixed by splitting up the
initialization into the "static void Class::Initialize()", access into the
"static UserSettingsControllerSP & Class::GetSettingsController()", and
cleanup into "static void Class::Terminate()".

Also added initialize and terminate calls to the logging code to avoid issues
when LLDB is shutting down. There were cases after the logging was switched
over to use shared pointers where we could crash if the global destructor
chain was being run and it causes the log to be destroyed and any any logging
occurred.

llvm-svn: 119757
2010-11-18 23:32:35 +00:00
..
GDBRemoteCommunication.cpp Added an "Interrupted" bit to the ProcessEventData. Halt now generates an event 2010-11-17 02:32:00 +00:00
GDBRemoteCommunication.h Added an "Interrupted" bit to the ProcessEventData. Halt now generates an event 2010-11-17 02:32:00 +00:00
GDBRemoteRegisterContext.cpp Updated the lldb_private::Flags class to have better method names and made 2010-10-27 03:32:59 +00:00
GDBRemoteRegisterContext.h The first part of an lldb native stack unwinder. 2010-09-10 07:49:16 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ProcessGDBRemote.cpp Fixed Process::Halt() as it was broken for "process halt" after recent changes 2010-11-18 05:57:03 +00:00
ProcessGDBRemote.h Fixed Process::Halt() as it was broken for "process halt" after recent changes 2010-11-18 05:57:03 +00:00
ProcessGDBRemoteLog.cpp Cleaned up code that wasn't using the Initialize and Terminate paradigm by 2010-11-18 23:32:35 +00:00
ProcessGDBRemoteLog.h Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ThreadGDBRemote.cpp The thread plan destructors may call Thread virtual methods. That means they have to get cleaned up in the derived class's destructor. Make sure that happens. 2010-11-18 02:47:07 +00:00
ThreadGDBRemote.h Now that we are using the Unwinder (or Jason's new unwinder when that comes about) all the plugin-specific details of getting stack frames 2010-08-12 02:14:28 +00:00