This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: remote supporting 'swbreak' and 'hwbreak' ?
- From: Juha Aaltonen <turbopultti at gmail dot com>
- To: gdb-mailing list <gdb at sourceware dot org>
- Date: Thu, 12 Nov 2015 00:41:00 +0200
- Subject: Re: remote supporting 'swbreak' and 'hwbreak' ?
- Authentication-results: sourceware.org; auth=none
- References: <CAHR0xd5T2T7AAUa2iDP-pc4hHNY+=Or42LA1GDW9s62=P6mmcg at mail dot gmail dot com> <CAHR0xd4r0de6HXkQqZErYgSV=KEyA5t=B=eER+XAofpewTvuaw at mail dot gmail dot com>
Oh, and from the gdb server sources I also saw that 'hwbreak' only
applies to HW breakpoints and has nothing to do with HW watchpoints.
On Thu, Nov 12, 2015 at 12:39 AM, Juha Aaltonen <turbopultti@gmail.com> wrote:
> Found it in the gdb server sources: ';' was missing from the end.
> I thought it was a separator, that shouldn't be there after last item.
>
>
> On Wed, Nov 11, 2015 at 6:49 PM, Juha Aaltonen <turbopultti@gmail.com> wrote:
>> If a remote 'agent' supports 'swbreak' and 'hwbreak', what's the
>> correct "syntax" for T05-packet?
>>
>> And is 'hwbreak+' needed in qSupported response if only SW breakpoints
>> and HW watchpoints are supported (not actual HW breakpoints)?
>>
>> I've tried 'T05swbreak" with and without single quotes around swbreak,
>> and with and without colon, but gdb always complains about malformed
>> packet.
>>
>>
>> I'm using "GNU gdb (Debian 7.10-1) 7.10".