* remote supporting 'swbreak' and 'hwbreak' ?
@ 2015-11-11 16:49 Juha Aaltonen
2015-11-11 22:39 ` Juha Aaltonen
0 siblings, 1 reply; 3+ messages in thread
From: Juha Aaltonen @ 2015-11-11 16:49 UTC (permalink / raw)
To: gdb-mailing list
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: remote supporting 'swbreak' and 'hwbreak' ?
2015-11-11 16:49 remote supporting 'swbreak' and 'hwbreak' ? Juha Aaltonen
@ 2015-11-11 22:39 ` Juha Aaltonen
2015-11-11 22:41 ` Juha Aaltonen
0 siblings, 1 reply; 3+ messages in thread
From: Juha Aaltonen @ 2015-11-11 22:39 UTC (permalink / raw)
To: gdb-mailing list
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: remote supporting 'swbreak' and 'hwbreak' ?
2015-11-11 22:39 ` Juha Aaltonen
@ 2015-11-11 22:41 ` Juha Aaltonen
0 siblings, 0 replies; 3+ messages in thread
From: Juha Aaltonen @ 2015-11-11 22:41 UTC (permalink / raw)
To: gdb-mailing list
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-11 22:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 16:49 remote supporting 'swbreak' and 'hwbreak' ? Juha Aaltonen
2015-11-11 22:39 ` Juha Aaltonen
2015-11-11 22:41 ` Juha Aaltonen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox