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

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

Date: Tue, 6 May 2014 13:02:26 -0400

To: notmuch@notmuchmail.org

Cc:

From: Charles Celerier


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@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)


Thread: