Re: [patch] s390*: watchpoints regression [repost]

Ulrich Weigand
2011-12-19T20:34:33Z

Pedro Alves wrote:
> 2011-12-17 Pedro Alves <pedro@codesourcery.com>
> Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * linux-nat.c (add_lwp): Don't call linux_nat_new_thread on the
> first LWP.
> * amd64-linux-nat.c (update_debug_registers_callback): Instantiate
> `lwp->arch_private' if NULL.
> (amd64_linux_prepare_to_resume): Do nothing if `lwp->arch_private'
> is NULL.
> * i386-linux-nat.c (update_debug_registers_callback): Instantiate
> `lwp->arch_private' if NULL.
> (i386_linux_prepare_to_resume): Do nothing if `lwp->arch_private'
> is NULL.

I've just noticed that hardware break-/watchpoint support is currently
broken on ARM as well -- this patch fixes that regression as well.

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com