Remove gdb_fildes_t
authorTom Tromey <tom@tromey.com>
Mon, 13 Apr 2020 18:42:59 +0000 (12:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 13 Apr 2020 20:10:04 +0000 (14:10 -0600)
commit73944e9f6317fa826044d79a6c15ea4448270ee8
tree035734dc0879a755c179cdab623aac79bea0918b
parent7990abcc9b7d96f16ea51076685d4dfa7d503fe3
Remove gdb_fildes_t

gdb_fildes_t and pfildes are no longer used, so remove them.

gdbserver/ChangeLog
2020-04-13  Tom Tromey  <tom@tromey.com>

* server.h (gdb_fildes_t): Remove typedef.
* remote-utils.c (remote_desc, list_desc): Now int.
(INVALID_DESCRIPTOR): Remove.
(gdb_connected, remote_close)
(check_remote_input_interrupt_request): Update.
* utils.h (pfildes): Don't declare.
* utils.c (pfildes): Remove.
gdbserver/ChangeLog
gdbserver/remote-utils.cc
gdbserver/server.h
gdbserver/utils.cc
gdbserver/utils.h