This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, v3] Expect SI_KERNEL or TRAP_BRKPT si_code values for MIPS breakpoint traps
- From: Pedro Alves <palves at redhat dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>, gdb-patches at sourceware dot org
- Cc: macro at linux-mips dot org
- Date: Wed, 24 Feb 2016 16:45:54 +0000
- Subject: Re: [PATCH, v3] Expect SI_KERNEL or TRAP_BRKPT si_code values for MIPS breakpoint traps
- Authentication-results: sourceware.org; auth=none
- References: <1456179628-14249-1-git-send-email-lgustavo at codesourcery dot com> <56CB8E9D dot 70605 at redhat dot com> <56CBBD44 dot 8020808 at codesourcery dot com> <56CDA835 dot 7030903 at redhat dot com> <56CDAE41 dot 2050609 at codesourcery dot com> <56CDC1C6 dot 9040400 at redhat dot com>
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