This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: async operation
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "Newman, Mark (N-Superior Technical Resource Inc)" <mark dot newman at lmco dot com>
- Cc: Mark Newman <markn_46 at yahoo dot com>, Andrew Cagney <cagney at gnu dot org>,gdb at sources dot redhat dot com
- Date: Tue, 18 Nov 2003 10:55:05 -0500
- Subject: Re: async operation
- References: <F56FBA314E8E5A41895F0DA8F6716A6D02A56D@EMSS04M11.us.lmco.com>
On Tue, Nov 18, 2003 at 10:49:29AM -0500, Newman, Mark (N-Superior Technical Resource Inc) wrote:
> IMHO async is not an invention of the client but the manner in which gdb
> controls the client. ;-)
GDB is the client. gdbserver, intuitively, is the server.
> I am attaching a gdb output with remote_debug set. In this instance the
> sequence
You want to look at "set debug serial 1" for this sort of problem.
> 0x080483f7 in main (argc=12885, argv=0x3255) at main.c:52
> 52 while (j < 1000000) {
>
> Sending packet: $c#63...Ack
>
> remote_stop called
>
> Sending packet: $c#63...Packet instead of Ack, ignoring it
Someone's lost a packet.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer