Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
To: gdb@sources.redhat.com
Subject: RE: Ctrl-C interrupt problem.
Date: Wed, 15 Nov 2000 17:48:00 -0000	[thread overview]
Message-ID: <B1F6452C89AFD411AE0800A0CC734C2301501E@EMAIL1> (raw)

Well, 

I don't know how, but half the problem is resolved by upgrading to CVS
version.

"half" means that i can't crash gdb with ctrl-C anymore with a native
target.

However the frist half (second ctrl-C is not caught by a remote i386-elf
target) is still there.

Thanks

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 
From Fabrice_Gautier@sdesigns.com Wed Nov 15 20:46:00 2000
From: Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
To: gdb@sources.redhat.com
Cc: "Ecos-List (E-mail)" <ecos-discuss@sourceware.cygnus.com>
Subject: RE: Ctrl-C interrupt problem.
Date: Wed, 15 Nov 2000 20:46:00 -0000
Message-id: <B1F6452C89AFD411AE0800A0CC734C23015020@EMAIL1>
X-SW-Source: 2000-11/msg00181.html
Content-length: 800

[eCos and RedBoot guys, I think this may concern you 
 its about a ctrl-C problem which only happen when debugging via ethernet.
 full story in the gdb list archives ]

I Got it! 
Well, i hope....

And it make sens why it only happens with TCP...

The problem is that when gdb send the continue packet to the target, it wait
for the target to send the '+' Ack. During this time the SIGINT handler is
not set.

My guess is that RedBoot intedn to send it BUT (tata) the ethernet driver
just wait to have a full packet before really sending! So this happen when a
O packet is sent.

So i guess the only thing needed in RedBoot is to add a "flush" somewhere.
I'm not sure at what level, but i'll look at it tomorrow if nobody does it
before.

Thanks

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 




             reply	other threads:[~2000-11-15 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-15 17:48 Fabrice Gautier [this message]
     [not found] <B1F6452C89AFD411AE0800A0CC734C23015020@EMAIL1>
2000-11-15 23:10 ` Fernando Nasser
     [not found] ` <200011161325.eAGDP8P09301@deneb.localdomain>
2000-11-16  5:48   ` Fernando Nasser
  -- strict thread matches above, loose matches on Subject: below --
2000-11-10 16:13 Fabrice Gautier

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=B1F6452C89AFD411AE0800A0CC734C2301501E@EMAIL1 \
    --to=fabrice_gautier@sdesigns.com \
    --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