Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: "Newman,
	Mark (N-Superior Technical Resource Inc)" <mark.newman@lmco.com>
Cc: Mark Newman <markn_46@yahoo.com>, gdb@sources.redhat.com
Subject: RE: async operation
Date: Thu, 04 Dec 2003 21:01:00 -0000	[thread overview]
Message-ID: <16335.41122.634794.412421@localhost.redhat.com> (raw)
In-Reply-To: <F56FBA314E8E5A41895F0DA8F6716A6D02A56D@EMSS04M11.us.lmco.com>

Newman, Mark (N-Superior Technical Resource Inc) writes:
 > IMHO async is not an invention of the client but the manner in which gdb
 > controls the client. ;-)
 > 
 > I am attaching a gdb output with remote_debug set.  In this instance the
 > sequence
 > 
 > > interrupt
 > > cont &
 > 
 > worked once but did not work the second time.

[...]
 > 
 > It may be my changes that are causing the problem.
 
Can you try on a gdb w/o your modifications?


 > 
 > Program received signal SIGINT, Interrupt.
 > Sending packet: $M4000acb0,1:55#68...Ack
 > Packet received: ENN
 > Sending packet: $M4000acb0,1:55#68...Ack
 > Packet received: ENN
 > Sending packet: $mbffff830,4#62...Ack
 > Packet received: 55320000
 > Sending packet: $mbffff834,4#66...Ack
 > Packet received: 55320000
 > 0x080483f7 in main (argc=12885, argv=0x3255) at main.c:52
 > 52      while (j < 1000000) {

I assume you said continue here?

 > 
 > Sending packet: $c#63...Ack
 > 
 > remote_stop called

Hmm do you see any output that says that remote_interrupt has been
called as well? I wonder if the signal handlers are screwed up.

 > 
 > Sending packet: $c#63...Packet instead of Ack, ignoring it

gdb keeps issuing the continue command for some reason. maybe it
hasn't realized that the target is actually running. 

elena


  parent reply	other threads:[~2003-12-04 21:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18 15:50 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-18 15:55 ` Daniel Jacobowitz
2003-12-04 21:01 ` Elena Zannoni [this message]
2003-12-04 22:09   ` Mark Newman
  -- strict thread matches above, loose matches on Subject: below --
2003-11-25 16:07 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-17 17:30 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-18  3:56 ` Andrew Cagney
2003-11-18  5:33   ` Mark Newman
2003-11-18  7:12     ` Daniel Jacobowitz
2003-11-18 14:57     ` Andrew Cagney
2003-11-14 19:30 Newman, Mark (N-Superior Technical Resource Inc)

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=16335.41122.634794.412421@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=mark.newman@lmco.com \
    --cc=markn_46@yahoo.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