diff options
author | Stu Grossman <grossman@cygnus> | 1993-11-30 00:14:37 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-11-30 00:14:37 +0000 |
commit | 0bbe764a710b9a58f4ba871ac8d7378b21e6c41b (patch) | |
tree | 5e0313b8603e1ed802c5deea2cfc843ed4466ad1 /gdb | |
parent | e9935d43b7cf6a75e38c5cb8747a28d52720e4bd (diff) | |
download | gdb-0bbe764a710b9a58f4ba871ac8d7378b21e6c41b.zip gdb-0bbe764a710b9a58f4ba871ac8d7378b21e6c41b.tar.gz gdb-0bbe764a710b9a58f4ba871ac8d7378b21e6c41b.tar.bz2 |
* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/i386-nlmstub.c | 28 |
2 files changed, 19 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30d7f4f..069d36b 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 e6d7355..174a00b 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); |