This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
break of time loop
- From: Efim Monjak <ymonyak at lipowsky dot de>
- To: gdb at sources dot redhat dot com
- Date: Thu, 27 Oct 2005 16:04:47 +0200
- Subject: break of time loop
Hi all,
I try to break a time loop from GDB.
The loop is written in form:
long l;
for(l = 0; l < 0xFFFFFFL; l++)
;
The GDB send in this case to target many "step" commands.
I try to stop the processing of loop by crtl+c. Target receive
code 0x03 and responce it with Packet:
TAAn...:r...;n...:r...;n...:r...;
there AA ist signal TARGET_SIGNAL_INT = 02.
I can see the response from target.
It is possible the ctrl+c is sent after "step" command before
it is responsed. In this case they are two responsies one after other.
But GDB don't stops to send "step" commands.
How must be responsed the ctrl+c?
thanks