aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-20 15:30:25 +0000
committerTom Tromey <tromey@redhat.com>2012-12-20 15:30:25 +0000
commit29f5339515927dd3928d88ce5d270f0ffda4bf3a (patch)
tree4ffc384b05564302343eff383670730b5438c1a6 /gdb/serial.c
parent27210e125838a89133680ce2e87c0b9ae4844601 (diff)
downloadgdb-29f5339515927dd3928d88ce5d270f0ffda4bf3a.zip
gdb-29f5339515927dd3928d88ce5d270f0ffda4bf3a.tar.gz
gdb-29f5339515927dd3928d88ce5d270f0ffda4bf3a.tar.bz2
* serial.c (deprecated_serial_fd): Remove.
* serial.h (deprecated_serial_fd): Remove.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 62d7fa9..5bd221a 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -546,19 +546,6 @@ serial_async (struct serial *scb,
scb->ops->async (scb, handler != NULL);
}
-int
-deprecated_serial_fd (struct serial *scb)
-{
- /* FIXME: should this output a warning that deprecated code is being
- called? */
- if (scb->fd < 0)
- {
- internal_error (__FILE__, __LINE__,
- _("serial: FD not valid"));
- }
- return scb->fd; /* sigh */
-}
-
void
serial_debug (struct serial *scb, int debug_p)
{