On the Mac OS X platform, the rename() function symbol is not found
until the debugger begins running. The reason for this is unknown, but
allowing breakpoint symbols to be resolved later both solves the problem
and does not change the test.

Signed-off-by: Charles Celerier <ccel...@cs.stanford.edu>
---
 test/atomicity.gdb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/atomicity.gdb b/test/atomicity.gdb
index fd67525..127dc8f 100644
--- a/test/atomicity.gdb
+++ b/test/atomicity.gdb
@@ -18,6 +18,9 @@ shell echo 0 > outcount
 
 shell touch inodes
 
+# for gdb on mac
+set breakpoint pending on
+
 break rename
 commands
 # As an optimization, only consider snapshots after a Xapian commit.
-- 
1.8.5.2 (Apple Git-48)

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to