[PATCH, v3] Expect SI_KERNEL or TRAP_BRKPT si_code values for MIPS breakpoint traps
Pedro Alves
palves@redhat.com
Wed Feb 24 16:46:00 GMT 2016
On 02/24/2016 02:44 PM, Pedro Alves wrote:
> 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.
Posted here:
https://sourceware.org/ml/gdb-patches/2016-02/msg00734.html
Could you give it a try?
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list