aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-15 20:30:41 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-15 20:30:41 +0000
commit9525aa9055098241aea1437a71991160a7af81b9 (patch)
treebd2b025db37aa23476f6b0cbfadff231a55571f4
parentc3b1835c0154635f9bc4351f0a4bf162d96cc2ef (diff)
downloadgdb-9525aa9055098241aea1437a71991160a7af81b9.zip
gdb-9525aa9055098241aea1437a71991160a7af81b9.tar.gz
gdb-9525aa9055098241aea1437a71991160a7af81b9.tar.bz2
Really zap tty_input from multi-arch swap.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0475bfe..855ceca 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/remote.c b/gdb/remote.c
index 52bde8a..017be6c 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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);