[PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later.
authorCharles Celerier <cceleri@cs.stanford.edu>
Tue, 6 May 2014 17:02:26 +0000 (13:02 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:14 +0000 (10:02 -0800)
16/380b279c674eee4b8db67fbcf4c1dc551c04b1 [new file with mode: 0644]

diff --git a/16/380b279c674eee4b8db67fbcf4c1dc551c04b1 b/16/380b279c674eee4b8db67fbcf4c1dc551c04b1
new file mode 100644 (file)
index 0000000..1860754
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <cceleri@cs.stanford.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5C831429E35\r
+       for <notmuch@notmuchmail.org>; Tue,  6 May 2014 10:03:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3kAZb-+rwMMn for <notmuch@notmuchmail.org>;\r
+       Tue,  6 May 2014 10:03:00 -0700 (PDT)\r
+Received: from qmta03.westchester.pa.mail.comcast.net\r
+       (qmta03.westchester.pa.mail.comcast.net [76.96.62.32])\r
+       by olra.theworths.org (Postfix) with ESMTP id 250AD431E64\r
+       for <notmuch@notmuchmail.org>; Tue,  6 May 2014 10:02:54 -0700 (PDT)\r
+Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74])\r
+       by qmta03.westchester.pa.mail.comcast.net with comcast\r
+       id ycC51n0051c6gX853h2tTM; Tue, 06 May 2014 17:02:53 +0000\r
+Received: from jane.lan ([24.11.133.78])\r
+       by omta23.westchester.pa.mail.comcast.net with comcast\r
+       id yh2W1n00e1heoKc3jh2t2j; Tue, 06 May 2014 17:02:53 +0000\r
+From: Charles Celerier <cceleri@cs.stanford.edu>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved\r
+       later.\r
+Date: Tue,  6 May 2014 13:02:26 -0400\r
+Message-Id: <1399395748-44920-4-git-send-email-cceleri@cs.stanford.edu>\r
+X-Mailer: git-send-email 1.8.5.2 (Apple Git-48)\r
+In-Reply-To: <1399395748-44920-3-git-send-email-cceleri@cs.stanford.edu>\r
+References: <1399395748-44920-1-git-send-email-cceleri@cs.stanford.edu>\r
+       <1399395748-44920-2-git-send-email-cceleri@cs.stanford.edu>\r
+       <1399395748-44920-3-git-send-email-cceleri@cs.stanford.edu>\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+       s=q20140121; t=1399395773;\r
+       bh=qaT+vyQ3gLoUr/VwdL1abfcLlARQSpMZFp0NzO3E8R0=;\r
+       h=Received:Received:From:To:Subject:Date:Message-Id;\r
+       b=Castv1klFYhYvQSTxD4WZ4EqA2ymTZpTxAzOvaBWaHAy+2b0hnHCHWs+nQvg5GiCg\r
+       Gted/Ig00deURHsaYbIEsZNutntOUoGsgoULL7iH/1xcgKETGfpncEbBgwrj+bTeJv\r
+       h97iD04t2WrzleUUFlWfGgm6HMI95ROTgZosTlo7A4V3ajs+oHAnnGOEEq4W6A+NXd\r
+       bpVc8F2XVGmUNPDlR7m//RP8o52o+nQDtHe2UVLpv5/E+AFXcrfkmVBTS/rvp9XY0G\r
+       /j3Dfc/OGL8/H3Iq2KGoTDOgEmx0pC6m+6bAR5/AduzhGKg+c/clCYXV8jkEaMOrgC\r
+       PEZyStIIQdscw==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 06 May 2014 17:03:06 -0000\r
+\r
+On the Mac OS X platform, the rename() function symbol is not found\r
+until the debugger begins running. The reason for this is unknown, but\r
+allowing breakpoint symbols to be resolved later both solves the problem\r
+and does not change the test.\r
+\r
+Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>\r
+---\r
+ test/atomicity.gdb | 3 +++\r
+ 1 file changed, 3 insertions(+)\r
+\r
+diff --git a/test/atomicity.gdb b/test/atomicity.gdb\r
+index fd67525..127dc8f 100644\r
+--- a/test/atomicity.gdb\r
++++ b/test/atomicity.gdb\r
+@@ -18,6 +18,9 @@ shell echo 0 > outcount\r
\r
+ shell touch inodes\r
\r
++# for gdb on mac\r
++set breakpoint pending on\r
++\r
+ break rename\r
+ commands\r
+ # As an optimization, only consider snapshots after a Xapian commit.\r
+-- \r
+1.8.5.2 (Apple Git-48)\r
+\r