From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Andrew Cagney Cc: Mickael Gicquaire , "gdb@sources.redhat.com" Subject: Re: gdb/mi and signals vs gdb/cli Date: Mon, 01 Oct 2001 07:43:00 -0000 Message-id: <3BB87F6A.F4C2DE5A@redhat.com> References: <1010928114759.ZM22692@bristol.st.com> <3BB50C41.10807@cygnus.com> X-SW-Source: 2001-10/msg00003.html 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