On Tue, May 06 2014, Charles Celerier <[email protected]> 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 <[email protected]>
> ---
>  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:[email protected]

>  break rename
>  commands
>  # As an optimization, only consider snapshots after a Xapian commit.
> -- 
> 1.8.5.2 (Apple Git-48)
>
> _______________________________________________
> notmuch mailing list
> [email protected]
> http://notmuchmail.org/mailman/listinfo/notmuch
_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to