This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]