Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Mickael Gicquaire <Mickael.Gicquaire@st.com>,
	"gdb@sources.redhat.com" <gdb@sources.redhat.com>
Subject: Re: gdb/mi and signals vs gdb/cli
Date: Mon, 01 Oct 2001 07:43:00 -0000	[thread overview]
Message-ID: <3BB87F6A.F4C2DE5A@redhat.com> (raw)
In-Reply-To: <3BB50C41.10807@cygnus.com>

Andrew Cagney wrote:
> 
> > hi all !
> > i have a question concerning gdb/mi interface and signals handling.
> > The SIGTERM signal send by my remote target does not appear when
> > i use gdb with its mi interface.
> >
> > The program runs to completion and the *stopped is displayed.
> >
> > -exec-continue
> > ^running
> > (gdb)
> > *stopped
> > (gdb)
> >
> > whereas if i used Gdb with the cli interface  i get
> > (top-gdb) c
> > Continuing.
> > Program received signal SIGTERM, Terminated.
> > 0xac009bae in ?? ()
> >
> > Does someone knows what is happening to my SIGTERM signal ??
> 
> How recent a GDB?  It sounds like it lost the signal -> bug.
> 

Andrew,

I am afraid we may be missing a ui_out_flush() at the end of all
of the switch clauses in infrun.c

Fernando



-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


  reply	other threads:[~2001-10-01  7:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-28  3:48 Mickael Gicquaire
2001-09-28 16:48 ` Andrew Cagney
2001-10-01  7:43   ` Fernando Nasser [this message]
2001-10-01  8:26     ` Andrew Cagney
2001-10-01  2:03 Mickael Gicquaire
2001-10-01  9:07 Mickael Gicquaire

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=3BB87F6A.F4C2DE5A@redhat.com \
    --to=fnasser@redhat.com \
    --cc=Mickael.Gicquaire@st.com \
    --cc=ac131313@cygnus.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