This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Fix SW breakpoint handling for Cell multi-arch
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: palves at redhat dot com (Pedro Alves)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 27 Aug 2015 19:40:30 +0200 (CEST)
- Subject: Re: [RFC] Fix SW breakpoint handling for Cell multi-arch
- Authentication-results: sourceware.org; auth=none
Pedro Alves wrote:
> On 08/27/2015 05:23 PM, Ulrich Weigand wrote:
> > That's an interesting idea. Indeed the kernel uses SI_KERNEL for
> > SIGTRAPs indicating SW breakpoints on SPU, but nowhere else in all
> > of PowerPC code. This means simply accepting either TRAP_BRKPT or
> > SI_KERNEL should work. And indeed the patch appended below works
> > just as well as the original patch for me.
>
> Excellent!
I've pushed this as well.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com