Re: Regression for gdb.threads/fork-plus-threads.exp [Re: [PATCH 3/6] List inferiors/threads/pspaces in ascending order]

Pedro Alves
2016-01-11T14:40:03Z

On 01/08/2016 08:39 PM, Jan Kratochvil wrote:
> On Thu, 22 Oct 2015 11:59:01 +0200, Pedro Alves wrote:
>
> 7e0aa6aa9983c745aedc203db0cc360a0ad47cac is the first bad commit
> commit 7e0aa6aa9983c745aedc203db0cc360a0ad47cac
> Author: Pedro Alves <palves@redhat.com>
> Date: Tue Nov 24 18:11:21 2015 +0000
> List inferiors/threads/pspaces in ascending order
>
> PASS->FAIL:
> FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
> FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: no threads left (timeout)
> FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: only inferior 1 left (the program exited)
>
> -PASS: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
> +warning: Error removing breakpoint 1^M
> +Error in re-setting breakpoint 1: Warning:^M
> +Cannot insert breakpoint 1.^M
> +Cannot access memory at address 0x8048700^M
> +^M
> +Warning:^M
> +Cannot insert breakpoint 1.^M
> +Cannot access memory at address 0x8048700^M
> +^M
> +(gdb) FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
>
> I haven't tried to debug it.
>
> It happens on Fedora 23 x86_64 with -m32 for the testsuite.

I see it too on F20, and indeed only with -m32. I don't know why yet.

Thanks,
Pedro Alves