summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-29 20:23:09 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-29 20:23:09 +0000
commit54a11a1df0a43316a688414197b1d5b67a281c0e (patch)
tree172fd8dfea647210d04a44983d4a051f0bdf6651 /gdb
parent9b311b223d9b6c0195c34354c553e6b64a52c9db (diff)
downloadbinutils-54a11a1df0a43316a688414197b1d5b67a281c0e.tar.gz
binutils-54a11a1df0a43316a688414197b1d5b67a281c0e.tar.bz2
binutils-54a11a1df0a43316a688414197b1d5b67a281c0e.zip
* remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the pre-serial.h remote.c, but which is no longer used.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/remote-udi.c29
2 files changed, 6 insertions, 29 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc8028597ca..3dfe5ff6ebf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
+ obsolete junk which apparently had been copied from the
+ pre-serial.h remote.c, but which is no longer used.
+
Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com)
* Makefile.in (NONSRC): Need 29k-share/README, not
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index dfcc008b02f..edb42f75177 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -125,22 +125,6 @@ typedef struct bkpt_entry_str
static bkpt_entry_t bkpt_table[BKPT_TABLE_SIZE];
extern char dfe_errmsg[]; /* error string */
-/* Called when SIGALRM signal sent due to alarm() timeout. */
-#ifndef HAVE_TERMIO
-
-volatile int n_alarms;
-
-static void
-udi_timer ()
-{
-#if 0
- if (kiodebug)
- printf ("udi_timer called\n");
-#endif
- n_alarms++;
-}
-#endif /* HAVE_TERMIO */
-
/* malloc'd name of the program on the remote system. */
static char *prog_name = NULL;
@@ -251,19 +235,6 @@ udi_open (name, from_tty)
push_target (&udi_ops);
-#ifndef HAVE_TERMIO
-#ifndef NO_SIGINTERRUPT
- /* Cause SIGALRM's to make reads fail with EINTR instead of resuming
- the read. */
- if (siginterrupt (SIGALRM, 1) != 0)
- error ("udi_open: siginterrupt() %s", safe_strerror(errno));
-#endif
-
- /* Set up read timeout timer. */
- if ((void (*)) signal (SIGALRM, udi_timer) == (void (*)) -1)
- error ("udi_open: signal() %s", safe_strerror(errno));
-#endif
-
#if defined (LOG_FILE)
log_file = fopen (LOG_FILE, "w");
if (log_file == NULL)