[PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later.

Charles Celerier cceleri at cs.stanford.edu
Tue May 6 10:02:26 PDT 2014


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 <cceleri at 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)



More information about the notmuch mailing list