Re: Usage of vCont packet please

2014-05-26 Thread Sergio Durigan Junior
On Monday, May 26 2014, Ananda Vardhana wrote:

> Hi Sergio,
>
> Thanks for replying. It compiles fine but the server complains with the 
> following error:
>
> [gdb0 info] got message: "vCont?"
> [gdb0 info] Sending packet: "vCont;c;C;s;S"
> [gdb0 info] got message: "vCont;c:-1"
> [gdb0 error] Malformed vCont packet ";c:-1", ignoring
>
> I guess the server is dated and I shall see if I can fix the server
> side. The comment for vCont in the GDB website says vCont is new and
> using H is being obsoleted. I did try H and the server liked it. If
> you have any comments on my conlcusion please let me know

Hi Ananda,

Yeah, that may well be the reason.  I don't remember if you provided the
version of GDB, so using an old one is likely to not work with recent
packets, of course :-).  It might be good considering updating the
version, or maybe backport the patch that implemented vCont on
gdbserver.

Anyway, I also wanted to let you know that this mailing list is actually
not the official one of the GDB project.  Unfortunately, it is not
documented anywhere so some people still send email to this list.  For
future questions, please e-mail .

Thanks,

-- 
Sergio

___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb


RE: Usage of vCont packet please

2014-05-26 Thread Vardhana, Ananda
Hi Sergio,

Thanks for replying. It compiles fine but the server complains with the 
following error:

[gdb0 info] got message: "vCont?"
[gdb0 info] Sending packet: "vCont;c;C;s;S"
[gdb0 info] got message: "vCont;c:-1"
[gdb0 error] Malformed vCont packet ";c:-1", ignoring

I guess the server is dated and I shall see if I can fix the server side. The 
comment for vCont in the GDB website says vCont is new and using H is being 
obsoleted. I did try H and the server liked it. If you have any comments on my 
conlcusion please let me know

Thanks
Ananda

-Original Message-
From: Sergio Durigan Junior [mailto:sergi...@sergiodj.net] 
Sent: Thursday, May 22, 2014 5:34 PM
To: Vardhana, Ananda
Cc: bug-gdb@gnu.org
Subject: Re: Usage of vCont packet please

On Thursday, May 22 2014, Ananda Vardhana wrote:

> Right now I send the packet Hc-1 meaning continue or make the target 
> run and the -1 signifies do it on all process. It works fine.  What 
> would be the equivalent for that in vCont? I do check and vCont?
> Support and the server does support it.

Hello Ananda,

You mean to use vCont to resume all threads of the inferior, right?

> vCont;c-1 does not work and whatever I do with vcont it hangs. The 
> documentation in 
> https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#thread%2did%20s
> yntax
>
> Does not seem to help or I am misinterpreting.  If you point me to URL 
> with usage, meaning and example if vCont that would be ideal

It should be "vCont;c:-1" (note the colon between "c" and "-1").  Could you try 
that?

Thanks,

--
Sergio

___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb


Re: Usage of vCont packet please

2014-05-22 Thread Sergio Durigan Junior
On Thursday, May 22 2014, Ananda Vardhana wrote:

> Right now I send the packet Hc-1 meaning continue or make the target
> run and the -1 signifies do it on all process. It works fine.  What
> would be the equivalent for that in vCont? I do check and vCont?
> Support and the server does support it.

Hello Ananda,

You mean to use vCont to resume all threads of the inferior, right?

> vCont;c-1 does not work and whatever I do with vcont it hangs. The 
> documentation in
> https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#thread%2did%20syntax
>
> Does not seem to help or I am misinterpreting.  If you point me to URL with 
> usage, meaning and example if vCont that would be ideal

It should be "vCont;c:-1" (note the colon between "c" and "-1").  Could
you try that?

Thanks,

-- 
Sergio

___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb


Usage of vCont packet please

2014-05-22 Thread Vardhana, Ananda
Right now I send the packet Hc-1 meaning continue or make the target run and 
the -1 signifies do it on all process. It works fine.  What would be the 
equivalent for that in vCont? I do check and vCont? Support and the server does 
support it.

vCont;c-1 does not work and whatever I do with vcont it hangs. The 
documentation in
https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#thread%2did%20syntax

Does not seem to help or I am misinterpreting.  If you point me to URL with 
usage, meaning and example if vCont that would be ideal

Thanks





___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb