From: Tomi Ollila Date: Tue, 6 May 2014 18:26:13 +0000 (+0300) Subject: Re: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1af43e75e669fea986b6e2a2964f10a769a921e5;p=notmuch-archives.git Re: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later. --- diff --git a/74/8ca4337a08dfb64e7f552e3d50895489803685 b/74/8ca4337a08dfb64e7f552e3d50895489803685 new file mode 100644 index 000000000..b9392be45 --- /dev/null +++ b/74/8ca4337a08dfb64e7f552e3d50895489803685 @@ -0,0 +1,93 @@ +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 C5C70431FC2 + for ; Tue, 6 May 2014 11:26:23 -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=[none] + 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 MI3SBJ0Pe2bF for ; + Tue, 6 May 2014 11:26:18 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 57565431FAF + for ; Tue, 6 May 2014 11:26:18 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id F33A01000E5; + Tue, 6 May 2014 21:26:13 +0300 (EEST) +From: Tomi Ollila +To: Charles Celerier , notmuch@notmuchmail.org +Subject: Re: [PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be + resolved later. +In-Reply-To: <1399395748-44920-4-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> + <1399395748-44920-4-git-send-email-cceleri@cs.stanford.edu> +User-Agent: Notmuch/0.18+12~gbfbd199 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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 18:26:23 -0000 + +On Tue, May 06 2014, Charles Celerier wrote: + +> 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 +> + + +actually this particular patch could be taken from David's series +as it has better comment: + +id:1399381588-26271-2-git-send-email-david@tethera.net + +> 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