summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/DynamicLoader
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-05-22 00:12:20 +0000
committerJim Ingham <jingham@apple.com>2012-05-22 00:12:20 +0000
commita8558b6289c0a1566514c4d1e065c845c63a4ac2 (patch)
tree209b2edeca89e478bbc65a2aa104e52ac12939f9 /lldb/source/Plugins/DynamicLoader
parentda04fa0d02ea91c1f5c7998c7dfb47c851475e3d (diff)
downloadbcm5719-llvm-a8558b6289c0a1566514c4d1e065c845c63a4ac2.tar.gz
bcm5719-llvm-a8558b6289c0a1566514c4d1e065c845c63a4ac2.zip
Also push file & line breakpoints past the prologue. Also added a "-K" argument to the relevant
"break set" commands to set this per breakpoint. Also, some CreateBreakpoint API's in the lldb_private namespace had "internal" first and "skip_prologue" second. "internal should always be last. Fixed that. rdar://problem/11484729 llvm-svn: 157225
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
-rw-r--r--lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
index b2df3105453..279bc85f438 100644
--- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
@@ -710,7 +710,7 @@ DynamicLoaderDarwinKernel::SetNotificationBreakpointIfNeeded ()
DEBUG_PRINTF("DynamicLoaderDarwinKernel::%s() process state = %s\n", __FUNCTION__, StateAsCString(m_process->GetState()));
- const bool internal_bp = false;
+ const bool internal_bp = true;
const LazyBool skip_prologue = eLazyBoolNo;
FileSpecList module_spec_list;
module_spec_list.Append (m_kernel.module_sp->GetFileSpec());
@@ -718,8 +718,8 @@ DynamicLoaderDarwinKernel::SetNotificationBreakpointIfNeeded ()
NULL,
"OSKextLoadedKextSummariesUpdated",
eFunctionNameTypeFull,
- internal_bp,
- skip_prologue).get();
+ skip_prologue,
+ internal_bp).get();
bp->SetCallback (DynamicLoaderDarwinKernel::BreakpointHitCallback, this, true);
m_break_id = bp->GetID();
OpenPOWER on IntegriCloud