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

Tomi Ollila tomi.ollila at iki.fi
Tue May 6 11:26:13 PDT 2014


On Tue, May 06 2014, Charles Celerier <cceleri at cs.stanford.edu> 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 <cceleri at 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
> +

actually this particular patch could be taken from David's series
as it has better comment:

id:1399381588-26271-2-git-send-email-david at 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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list