public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Efim Monjak <ymonyak@lipowsky.de>
To: gdb@sources.redhat.com
Subject: break of time loop
Date: Thu, 27 Oct 2005 14:04:00 -0000	[thread overview]
Message-ID: <4360DE7F.5020504@lipowsky.de> (raw)

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

             reply	other threads:[~2005-10-27 14:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 14:04 Efim Monjak [this message]
2005-10-27 14:34 ` Daniel Jacobowitz
2005-10-27 15:19 Efim Monjak
2005-10-27 15:23 ` Daniel Jacobowitz
2005-10-27 15:47 Efim Monjak
2005-10-27 18:08 ` Daniel Jacobowitz
2005-10-31 13:56 Efim Monjak
2005-10-31 14:19 ` Daniel Jacobowitz
2005-11-03 10:42 Efim Monjak
2005-11-03 21:23 ` Daniel Jacobowitz
2005-11-04 10:52 Efim Monjak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4360DE7F.5020504@lipowsky.de \
    --to=ymonyak@lipowsky.de \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).