From: Charles Celerier Date: Tue, 6 May 2014 17:02:26 +0000 (+2000) Subject: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e35528844e994c37ca39348f814c0ddb6469ac1;p=notmuch-archives.git [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later. --- diff --git a/16/380b279c674eee4b8db67fbcf4c1dc551c04b1 b/16/380b279c674eee4b8db67fbcf4c1dc551c04b1 new file mode 100644 index 000000000..186075485 --- /dev/null +++ b/16/380b279c674eee4b8db67fbcf4c1dc551c04b1 @@ -0,0 +1,89 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 5C831429E35 + for ; Tue, 6 May 2014 10:03:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3kAZb-+rwMMn for ; + Tue, 6 May 2014 10:03:00 -0700 (PDT) +Received: from qmta03.westchester.pa.mail.comcast.net + (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) + by olra.theworths.org (Postfix) with ESMTP id 250AD431E64 + for ; Tue, 6 May 2014 10:02:54 -0700 (PDT) +Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) + by qmta03.westchester.pa.mail.comcast.net with comcast + id ycC51n0051c6gX853h2tTM; Tue, 06 May 2014 17:02:53 +0000 +Received: from jane.lan ([24.11.133.78]) + by omta23.westchester.pa.mail.comcast.net with comcast + id yh2W1n00e1heoKc3jh2t2j; Tue, 06 May 2014 17:02:53 +0000 +From: Charles Celerier +To: notmuch@notmuchmail.org +Subject: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved + later. +Date: Tue, 6 May 2014 13:02:26 -0400 +Message-Id: <1399395748-44920-4-git-send-email-cceleri@cs.stanford.edu> +X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) +In-Reply-To: <1399395748-44920-3-git-send-email-cceleri@cs.stanford.edu> +References: <1399395748-44920-1-git-send-email-cceleri@cs.stanford.edu> + <1399395748-44920-2-git-send-email-cceleri@cs.stanford.edu> + <1399395748-44920-3-git-send-email-cceleri@cs.stanford.edu> +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20140121; t=1399395773; + bh=qaT+vyQ3gLoUr/VwdL1abfcLlARQSpMZFp0NzO3E8R0=; + h=Received:Received:From:To:Subject:Date:Message-Id; + b=Castv1klFYhYvQSTxD4WZ4EqA2ymTZpTxAzOvaBWaHAy+2b0hnHCHWs+nQvg5GiCg + Gted/Ig00deURHsaYbIEsZNutntOUoGsgoULL7iH/1xcgKETGfpncEbBgwrj+bTeJv + h97iD04t2WrzleUUFlWfGgm6HMI95ROTgZosTlo7A4V3ajs+oHAnnGOEEq4W6A+NXd + bpVc8F2XVGmUNPDlR7m//RP8o52o+nQDtHe2UVLpv5/E+AFXcrfkmVBTS/rvp9XY0G + /j3Dfc/OGL8/H3Iq2KGoTDOgEmx0pC6m+6bAR5/AduzhGKg+c/clCYXV8jkEaMOrgC + PEZyStIIQdscw== +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 06 May 2014 17:03:06 -0000 + +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 +--- + 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) +