* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.

These definitely won't work under Netware.
This commit is contained in:
Stu Grossman 1993-11-30 00:14:37 +00:00
parent e9935d43b7
commit 0bbe764a71
2 changed files with 19 additions and 14 deletions

View File

@ -1,3 +1,8 @@
Mon Nov 29 16:10:38 1993 Stu Grossman (grossman at cygnus.com)
* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
Mon Nov 29 15:34:58 1993 Kung Hsu (kung@cirdan.cygnus.com)
* stabsread.c(read_struct_field): Fix the check when getting to

View File

@ -321,7 +321,7 @@ getpacket (buffer)
xmitcsum += hex(ch);
if ((remote_debug ) && (checksum != xmitcsum))
{
fprintf_unfiltered(gdb_stderr,"bad checksum. My count = 0x%x, sent=0x%x. buf=%s\n",
fprintf(stderr,"bad checksum. My count = 0x%x, sent=0x%x. buf=%s\n",
checksum,xmitcsum,buffer);
}
@ -413,8 +413,8 @@ debug_error (format, parm)
{
if (remote_debug)
{
fprintf_unfiltered (gdb_stderr, format, parm);
fprintf_unfiltered (gdb_stderr, "\n");
fprintf (stderr, format, parm);
fprintf (stderr, "\n");
}
}
@ -834,11 +834,11 @@ main (argc, argv)
/* Create a screen for the debugger. */
console_screen = CreateScreen ("System Console", 0);
if (DisplayScreen (console_screen) != ESUCCESS)
fprintf_unfiltered (gdb_stderr, "DisplayScreen failed\n");
fprintf (stderr, "DisplayScreen failed\n");
if (argc < 4)
{
fprintf_unfiltered (gdb_stderr,
fprintf (stderr,
"Usage: load gdbserver board port program [arguments]\n");
exit (1);
}
@ -853,16 +853,16 @@ main (argc, argv)
switch (err)
{
case AIO_PORT_NOT_AVAILABLE:
fprintf_unfiltered (gdb_stderr, "Port not available\n");
fprintf (stderr, "Port not available\n");
break;
case AIO_BOARD_NUMBER_INVALID:
case AIO_PORT_NUMBER_INVALID:
fprintf_unfiltered (gdb_stderr, "No such port\n");
fprintf (stderr, "No such port\n");
break;
default:
fprintf_unfiltered (gdb_stderr, "Could not open port: %d\n", err);
fprintf (stderr, "Could not open port: %d\n", err);
break;
}
@ -874,7 +874,7 @@ main (argc, argv)
AIO_HARDWARE_FLOW_CONTROL_OFF);
if (err != AIO_SUCCESS)
{
fprintf_unfiltered (gdb_stderr, "Could not configure port: %d\n", err);
fprintf (stderr, "Could not configure port: %d\n", err);
AIOReleasePort (AIOhandle);
exit (1);
}
@ -887,7 +887,7 @@ main (argc, argv)
DebuggerSignature));
if (s.DDSResourceTag == 0)
{
fprintf_unfiltered (gdb_stderr, "AllocateResourceTag failed\n");
fprintf (stderr, "AllocateResourceTag failed\n");
AIOReleasePort (AIOhandle);
exit (1);
}
@ -897,7 +897,7 @@ main (argc, argv)
err = RegisterDebuggerRTag (&s, AT_FIRST);
if (err != 0)
{
fprintf_unfiltered (gdb_stderr, "RegisterDebuggerRTag failed\n");
fprintf (stderr, "RegisterDebuggerRTag failed\n");
AIOReleasePort (AIOhandle);
exit (1);
}
@ -917,7 +917,7 @@ main (argc, argv)
"$?#xx") sitting there. */
if (! putDebugChar ('+'))
{
fprintf_unfiltered (gdb_stderr, "putDebugChar failed\n");
fprintf (stderr, "putDebugChar failed\n");
UnRegisterDebugger (&s);
AIOReleasePort (AIOhandle);
exit (1);
@ -936,7 +936,7 @@ main (argc, argv)
cmdlin, LO_DEBUG);
if (err != 0)
{
fprintf_unfiltered (gdb_stderr, "LoadModule failed: %d\n", err);
fprintf (stderr, "LoadModule failed: %d\n", err);
UnRegisterDebugger (&s);
AIOReleasePort (AIOhandle);
exit (1);
@ -952,7 +952,7 @@ main (argc, argv)
/* If we are woken up, print an optional error message, deregister
ourselves and exit. */
if (error_message != NULL)
fprintf_unfiltered (gdb_stderr, "%s\n", error_message);
fprintf (stderr, "%s\n", error_message);
UnRegisterDebugger (&s);
AIOReleasePort (AIOhandle);
exit (0);