aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-27 20:35:25 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-27 20:35:25 +0000
commitb10f4dd9774e176113d5e7f6ab9746580a0eab30 (patch)
tree6d03d6ddfa4c078585185179dae9f5d1b1ee30c6 /gdb/remote-udi.c
parentbc28a06cc11e2be1d9bd4f4233b3fbbe5ff30654 (diff)
downloadgdb-b10f4dd9774e176113d5e7f6ab9746580a0eab30.zip
gdb-b10f4dd9774e176113d5e7f6ab9746580a0eab30.tar.gz
gdb-b10f4dd9774e176113d5e7f6ab9746580a0eab30.tar.bz2
* remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".
* remote-mon.c: Remove commented out "set remotedebug" command. * remote-nindy.c: Clean up comment about wanting alternative to options specified on the GDB command line.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index aaf752f..ee207dc 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -71,12 +71,6 @@ char CoffFileName[100] = "";
#define FREEZE_MODE (read_register(CPS_REGNUM) & 0x400)
#define USE_SHADOW_PC ((processor_type == a29k_freeze_mode) && FREEZE_MODE)
-/* FIXME: Replace with `set remotedebug'. Also, seems not to be used. */
-#define LLOG_FILE "udi.log"
-#if defined (LOG_FILE)
-FILE *log_file;
-#endif
-
static int timeout = 5;
extern struct target_ops udi_ops; /* Forward declaration */
@@ -234,11 +228,6 @@ udi_open (name, from_tty)
push_target (&udi_ops);
-#if defined (LOG_FILE)
- log_file = fopen (LOG_FILE, "w");
- if (log_file == NULL)
- error ("udi_open: fopen(%s) %s", LOG_FILE, safe_strerror(errno));
-#endif
/*
** Initialize target configuration structure (global)
*/
@@ -312,13 +301,6 @@ udi_close (quitting) /*FIXME: how is quitting used */
udi_session_id = -1;
inferior_pid = 0;
-#if defined (LOG_FILE)
- if (ferror (log_file))
- printf ("Error writing log file.\n");
- if (fclose (log_file) != 0)
- printf ("Error closing log file.\n");
-#endif
-
printf_filtered (" Ending remote debugging\n");
}