[PATCH, v3] Expect SI_KERNEL or TRAP_BRKPT si_code values for MIPS breakpoint traps

Pedro Alves palves@redhat.com
Wed Feb 24 14:44:00 GMT 2016


On 02/24/2016 01:21 PM, Luis Machado wrote:

> Yes. We need to check the MIPS debug registers unconditionally and not 
> just when a meaningful si_code of TRAP_HWBKPT shows up.

Yeah, though we won't be able to do that unconditionally, due
to the s390 quirk.

> Did you want that in the same patch or in a separate one? I was 
> attempting to address the software breakpoint issue for now, but it 
> seems i ended up with 2 problems now. :-)

I see this as a single problem of a regression caused by the
rely-on-si_code change.  So I think we should fix it with a single patch.
Give me a bit while I try an approach here.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list