variable 'signal', not 'sig'.
+2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com>
+
+ * server.c (main): Print child status or termination signal from
+ variable 'signal', not 'sig'.
+
2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com>
* linux-low.c (linux_read_memory): Change return type to
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)