The two module retrieval methods (qXfer:libraries-svr4 and manual list
traversal) differ in how the handle the
manually-added-but-not-yet-loaded modules. The svr4 path will remove it,
while the manual one will keep in the list.
It's likely the two paths need ought to be synchronized, but right now,
this distinction is not relevant for the test.
stopped_threads = lldbutil.continue_to_breakpoint(self.process(), breakpoint1)
self.assertEqual(len(stopped_threads), 1)
- # Check that image list does not contain liblib_b before dlopen.
- self.match(
- "image list",
- patterns = [lib_name],
- matching = False,
- msg = lib_name + " should not have been in image list")
-
# Change a variable to escape the loop
self.runCmd("expression main_thread_continue = 1")