[Lldb-commits] [PATCH] FreeBSD watchpoint support

Ed Maste emaste at freebsd.org
Wed Feb 5 14:21:54 PST 2014



================
Comment at: source/Plugins/Process/POSIX/POSIXThread.cpp:80
@@ -69,1 +79,3 @@
+            (void)status;
+            assert (status && "Failed to enable existing watchpoint for new thread");
         }
----------------
In testing now I encounter this assertion in my testrun, in TestConcurrentEvents.py and TestWatchpointMultipleThreads.py.

feynman% python dotest.py --executable $lldb -C /usr/bin/clang -v -t -f ConcurrentEventsTestCase.test_watch_break_dwarf
['dotest.py', '--executable', '/tank/emaste/src/llvm/build-nodebug/bin/lldb', '-C', '/usr/bin/clang', '-v', '-t', '-f', 'ConcurrentEventsTestCase.test_watch_break_dwarf']
LLDB library dir: /tank/emaste/src/llvm/build-nodebug/bin
lldb version 3.5 ( revision )
lldb.pre_flight: None
lldb.post_flight: None
...
runCmd: expr num_delay_signal_threads=0
output: (unsigned int) $6 = 0


runCmd: expr num_delay_watchpoint_threads=0
output: (unsigned int) $7 = 0


Assertion failed: (status && "Failed to enable existing watchpoint for new thread"), function POSIXThread, file ../tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp, line 83.
Abort trap (core dumped)




http://llvm-reviews.chandlerc.com/D2572



More information about the lldb-commits mailing list