aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-25 19:46:08 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-25 19:46:08 +0000
commit98bbd631ccdf061b430ff2699ed82b92933ae937 (patch)
treea1d7000bd036c537704c170afddfefb4918cb698 /gdb/ser-tcp.c
parent139181c8d664f1c07b436961e62530585b8fc4a2 (diff)
downloadgdb-98bbd631ccdf061b430ff2699ed82b92933ae937.zip
gdb-98bbd631ccdf061b430ff2699ed82b92933ae937.tar.gz
gdb-98bbd631ccdf061b430ff2699ed82b92933ae937.tar.bz2
2004-06-25 Andrew Cagney <cagney@gnu.org>
* defs.h (deprecated_ui_loop_hook): Deprecated. * wince.c (child_wait): Update. * win32-nat.c (child_wait): Update. * v850ice.c (v850ice_wait): Update. * top.c (deprecated_ui_loop_hook): Update. * serial.h: Update. * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar) (do_unix_readchar): Update. * ser-tcp.c (net_open): Update. * remote-sim.c (gdb_os_poll_quit): Update. * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 21d8476..de8c428 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -48,7 +48,7 @@ void _initialize_ser_tcp (void);
/* seconds to wait for connect */
#define TIMEOUT 15
-/* how many times per second to poll ui_loop_hook */
+/* how many times per second to poll deprecated_ui_loop_hook */
#define POLL_INTERVAL 2
/* Open a tcp socket */
@@ -132,9 +132,9 @@ net_open (struct serial *scb, const char *name)
/* While we wait for the connect to complete
poll the UI so it can update or the user can
interrupt. */
- if (ui_loop_hook)
+ if (deprecated_ui_loop_hook)
{
- if (ui_loop_hook (0))
+ if (deprecated_ui_loop_hook (0))
{
errno = EINTR;
net_close (scb);