* [patch] gdbserver: print correct child exit status/signal
@ 2004-03-19 0:09 Nathan J. Williams
2004-03-01 21:15 ` Nathan J. Williams
2004-03-05 3:01 ` Daniel Jacobowitz
0 siblings, 2 replies; 6+ messages in thread
From: Nathan J. Williams @ 2004-03-19 0:09 UTC (permalink / raw)
To: gdb-patches
Something else I had in my tree. Gdbserver was printing exit statuses
and termination signals from a variable that contained the in-protocol
signal from a command, if anything.
- Nathan
2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
* server.c (main): Print child status or termination signal from
variable 'signal', not 'sig'.
Index: server.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.c,v
retrieving revision 1.20
diff -u -p -r1.20 server.c
--- server.c 29 Feb 2004 16:49:38 -0000 1.20
+++ server.c 1 Mar 2004 21:14:23 -0000
@@ -571,9 +573,10 @@ main (int argc, char *argv[])
if (status == 'W')
fprintf (stderr,
- "\nChild exited with status %d\n", sig);
+ "\nChild exited with status %d\n", signal);
if (status == 'X')
- fprintf (stderr, "\nChild terminated with signal = 0x%x\n", sig);
+ fprintf (stderr, "\nChild terminated with signal = 0x%x\n",
+ signal);
if (status == 'W' || status == 'X')
{
if (extended_protocol)
^ permalink raw reply [flat|nested] 6+ messages in thread* [patch] gdbserver: print correct child exit status/signal
2004-03-19 0:09 [patch] gdbserver: print correct child exit status/signal Nathan J. Williams
@ 2004-03-01 21:15 ` Nathan J. Williams
2004-03-05 3:01 ` Daniel Jacobowitz
1 sibling, 0 replies; 6+ messages in thread
From: Nathan J. Williams @ 2004-03-01 21:15 UTC (permalink / raw)
To: gdb-patches
Something else I had in my tree. Gdbserver was printing exit statuses
and termination signals from a variable that contained the in-protocol
signal from a command, if anything.
- Nathan
2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
* server.c (main): Print child status or termination signal from
variable 'signal', not 'sig'.
Index: server.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.c,v
retrieving revision 1.20
diff -u -p -r1.20 server.c
--- server.c 29 Feb 2004 16:49:38 -0000 1.20
+++ server.c 1 Mar 2004 21:14:23 -0000
@@ -571,9 +573,10 @@ main (int argc, char *argv[])
if (status == 'W')
fprintf (stderr,
- "\nChild exited with status %d\n", sig);
+ "\nChild exited with status %d\n", signal);
if (status == 'X')
- fprintf (stderr, "\nChild terminated with signal = 0x%x\n", sig);
+ fprintf (stderr, "\nChild terminated with signal = 0x%x\n",
+ signal);
if (status == 'W' || status == 'X')
{
if (extended_protocol)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [patch] gdbserver: print correct child exit status/signal
2004-03-19 0:09 [patch] gdbserver: print correct child exit status/signal Nathan J. Williams
2004-03-01 21:15 ` Nathan J. Williams
@ 2004-03-05 3:01 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
1 sibling, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2004-03-05 3:01 UTC (permalink / raw)
To: Nathan J. Williams; +Cc: gdb-patches
On Mon, Mar 01, 2004 at 04:15:18PM -0500, Nathan J. Williams wrote:
>
> Something else I had in my tree. Gdbserver was printing exit statuses
> and termination signals from a variable that contained the in-protocol
> signal from a command, if anything.
>
> - Nathan
>
> 2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
>
> * server.c (main): Print child status or termination signal from
> variable 'signal', not 'sig'.
Fancy that, you're quite right. This is OK also.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch] gdbserver: print correct child exit status/signal
2004-03-05 3:01 ` Daniel Jacobowitz
@ 2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-05 3:48 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
1 sibling, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2004-03-19 0:09 UTC (permalink / raw)
To: Nathan J. Williams, gdb-patches
On Thu, Mar 04, 2004 at 10:01:46PM -0500, Daniel Jacobowitz wrote:
> On Mon, Mar 01, 2004 at 04:15:18PM -0500, Nathan J. Williams wrote:
> >
> > Something else I had in my tree. Gdbserver was printing exit statuses
> > and termination signals from a variable that contained the in-protocol
> > signal from a command, if anything.
> >
> > - Nathan
> >
> > 2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
> >
> > * server.c (main): Print child status or termination signal from
> > variable 'signal', not 'sig'.
>
> Fancy that, you're quite right. This is OK also.
Also committed to HEAD and 6.1.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch] gdbserver: print correct child exit status/signal
2004-03-19 0:09 ` Daniel Jacobowitz
@ 2004-03-05 3:48 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2004-03-05 3:48 UTC (permalink / raw)
To: Nathan J. Williams, gdb-patches
On Thu, Mar 04, 2004 at 10:01:46PM -0500, Daniel Jacobowitz wrote:
> On Mon, Mar 01, 2004 at 04:15:18PM -0500, Nathan J. Williams wrote:
> >
> > Something else I had in my tree. Gdbserver was printing exit statuses
> > and termination signals from a variable that contained the in-protocol
> > signal from a command, if anything.
> >
> > - Nathan
> >
> > 2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
> >
> > * server.c (main): Print child status or termination signal from
> > variable 'signal', not 'sig'.
>
> Fancy that, you're quite right. This is OK also.
Also committed to HEAD and 6.1.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch] gdbserver: print correct child exit status/signal
2004-03-05 3:01 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
@ 2004-03-19 0:09 ` Daniel Jacobowitz
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2004-03-19 0:09 UTC (permalink / raw)
To: Nathan J. Williams; +Cc: gdb-patches
On Mon, Mar 01, 2004 at 04:15:18PM -0500, Nathan J. Williams wrote:
>
> Something else I had in my tree. Gdbserver was printing exit statuses
> and termination signals from a variable that contained the in-protocol
> signal from a command, if anything.
>
> - Nathan
>
> 2004-03-01 Nathan J. Williams <nathanw@wasabisystems.com>
>
> * server.c (main): Print child status or termination signal from
> variable 'signal', not 'sig'.
Fancy that, you're quite right. This is OK also.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-03-05 3:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 0:09 [patch] gdbserver: print correct child exit status/signal Nathan J. Williams
2004-03-01 21:15 ` Nathan J. Williams
2004-03-05 3:01 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-05 3:48 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox