This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression for watchpoint-fork.exp [Re: [PATCH v3 2/5] PR breakpoints/7143 - Watchpoint does not trigger when first set]
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Doug Evans <xdje42 at gmail dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 18 Jun 2014 11:43:22 +0100
- Subject: Re: Regression for watchpoint-fork.exp [Re: [PATCH v3 2/5] PR breakpoints/7143 - Watchpoint does not trigger when first set]
- Authentication-results: sourceware.org; auth=none
- References: <1394154640-14053-1-git-send-email-palves at redhat dot com> <1394154640-14053-3-git-send-email-palves at redhat dot com> <CAP9bCMTj+A2B6cvwYKC2vjL1Si+yGBKXvQfCMNR0SYN19KztXg at mail dot gmail dot com> <53272CB0 dot 6050101 at redhat dot com> <532AF3D0 dot 8090904 at redhat dot com> <20140617191850 dot GA10997 at host2 dot jankratochvil dot net>
On 06/17/2014 08:18 PM, Jan Kratochvil wrote:
> On Thu, 20 Mar 2014 14:57:36 +0100, Pedro Alves wrote:
>> Here's what I pushed (nothing else changed).
>
> 31e77af205cf6564c2bf4c18400b4ca16bdf92cd is the first bad commit
> commit 31e77af205cf6564c2bf4c18400b4ca16bdf92cd
> Author: Pedro Alves <palves@redhat.com>
> Date: Thu Mar 20 13:26:32 2014 +0000
> PR breakpoints/7143 - Watchpoint does not trigger when first set
>
> PASS kernel-3.14.6-200.fc20.x86_64
> FAIL kernel-3.13.10-200.dentrybuflen.fc20.x86_64
>
> continue^M
> Continuing.^M
> main () at ./gdb.threads/watchpoint-fork-st.c:50^M
> 50 forkoff (1);^M
> Couldn't write debug register: Invalid argument.^M
Odd.
> (gdb) FAIL: gdb.threads/watchpoint-fork.exp: parent: singlethreaded: breakpoint after the first fork
>
> Being tested for default linux-nat.
>
> That 'dentrybuflen' patch should not matter. I did not check which Linux
> kernels are / are not affected by the regression but it would be probably
> better to make the GDB behavior more Linux kernel compatible.
Yes, though off hand I'm clueless on what's going on.
--
Pedro Alves