From: Stu Grossman Date: Tue, 30 Nov 1993 00:14:37 +0000 (+0000) Subject: * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bbe764a710b9a58f4ba871ac8d7378b21e6c41b;p=binutils-gdb.git * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord. These definitely won't work under Netware. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30d7f4fe45f..069d36b3ecf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/i386-nlmstub.c b/gdb/i386-nlmstub.c index e6d7355890c..174a00b071d 100644 --- a/gdb/i386-nlmstub.c +++ b/gdb/i386-nlmstub.c @@ -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);