diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-mon.c | 8 | ||||
-rw-r--r-- | gdb/remote-nindy.c | 8 | ||||
-rw-r--r-- | gdb/remote-udi.c | 18 |
4 files changed, 9 insertions, 30 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7408de3..d2f17d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Wed Oct 27 13:43:07 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * 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. + * fork-child.c (fork_inferior): Set inferior_pid before calling init_trace_fun. Move the code which gets us through the shell to new function startup_inferior. diff --git a/gdb/remote-mon.c b/gdb/remote-mon.c index 56a90a7..be6034a 100644 --- a/gdb/remote-mon.c +++ b/gdb/remote-mon.c @@ -1177,14 +1177,6 @@ Specify the serial device it is connected to (e.g. /dev/ttya).", void _initialize_remote_monitors () { -/*** add_show_from_set ( - add_set_cmd ("remotedebug", no_class, var_boolean, - (char *)&kiodebug, - "Set debugging of I/O to a serial based Monitor.\n\ -When enabled, debugging info is displayed.", - &setlist), - &showlist); -***/ add_show_from_set ( add_set_cmd ("hash", no_class, var_boolean, (char *)&hashmark, diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index d6551fc..72dcfdd 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -174,9 +174,9 @@ nindy_close (quitting) } /* Open a connection to a remote debugger. - FIXME, there should be a way to specify the various options that are - now specified with gdb command-line options. (baud_rate, old_protocol, - and initial_brk) */ + FIXME, there should be "set" commands for the options that are + now specified with gdb command-line options (old_protocol, + and initial_brk). */ void nindy_open (name, from_tty) char *name; /* "/dev/ttyXX", "ttyXX", or "XX": tty to be opened */ @@ -188,7 +188,7 @@ nindy_open (name, from_tty) error_no_arg ("serial port device name"); target_preopen (from_tty); - + nindy_close (0); have_regs = regs_changed = 0; 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"); } |