Really zap tty_input from multi-arch swap.
authorAndrew Cagney <cagney@redhat.com>
Thu, 15 Nov 2001 20:30:41 +0000 (20:30 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 15 Nov 2001 20:30:41 +0000 (20:30 +0000)
gdb/ChangeLog
gdb/remote.c

index 0475bfe..855ceca 100644 (file)
@@ -1,5 +1,10 @@
 2001-11-15  Andrew Cagney  <ac131313@redhat.com>
 
+       * remote.c (_initialize_remote): Don't multi-arch swap tty_input.
+       Second attempt.
+
+2001-11-15  Andrew Cagney  <ac131313@redhat.com>
+
        * utils.c (phex_nz): For default case, set str to phex_nz return
        value.
        (phex): Ditto.
index 52bde8a..017be6c 100644 (file)
@@ -5887,7 +5887,6 @@ _initialize_remote (void)
 
   /* Old tacky stuff.  NOTE: This comes after the remote protocol so
      that the remote protocol has been initialized.  */
-  register_gdbarch_swap (&tty_input, sizeof (&tty_input), NULL);
   register_gdbarch_swap (&remote_address_size, 
                          sizeof (&remote_address_size), NULL);
   register_gdbarch_swap (NULL, 0, build_remote_gdbarch_data);