This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb/mi and signals vs gdb/cli
- To: gdb at sources dot redhat dot com
- Subject: Re: gdb/mi and signals vs gdb/cli
- From: Mickael Gicquaire <Mickael dot Gicquaire at st dot com>
- Date: Mon, 1 Oct 2001 17:03:54 +0100
- Recieved: from Mickael.Gicquaire@st.com by jaguar with local (Exim 3.03 #5)id 15o5Xu-0002AN-00; Mon, 01 Oct 2001 17:03:54 +0100
hi all ,
I have tried with a later version of gdb and it works.
the version that i am now using is GNU gdb 20010909 (MI_OUT).
That bug might not be on the wavefront after all.
thanks
Mickael.
----- Original Message -----
From: <fnasser@redhat.com>
To: <ac131313@cygnus.com>
Cc: <gicquairem@bristol.st.com>; <gdb@sources.redhat.com>
Sent: Monday, October 01, 2001 3:36 PM
Subject: Re: gdb/mi and signals vs gdb/cli
> 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
>
--
---------------------------------------------------------------------------
| Mickael Gicquaire | email mickael.gicquaire@.st.com | |
| | | _____________ |
| STMicroelectronics | | / ___/__ __/ |
| 1000 Aztec West | | \__ \ / / |
| Almondsbury | Phone 01454-462342 | /____/ /__/ |
| BRISTOL | | |
---------------------------------------------------------------------------