aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2020-01-10 20:06:11 +0000
committerPedro Alves <palves@redhat.com>2020-01-10 20:06:11 +0000
commit4f83758119ddf0f114477760d79bdde7bbc76835 (patch)
tree8934baaa2d43cb296aee33fb9ee4978f317ecdbb /gdb/serial.h
parentf4ec508eaed65ad7555858498c1cbbf420bce90a (diff)
downloadgdb-4f83758119ddf0f114477760d79bdde7bbc76835.zip
gdb-4f83758119ddf0f114477760d79bdde7bbc76835.tar.gz
gdb-4f83758119ddf0f114477760d79bdde7bbc76835.tar.bz2
Revert 'Remove unused struct serial::name field'
This commit reverts: commit 5f5219fc34f7557296272230123a3837960a6f09 Author: Pedro Alves <palves@redhat.com> AuthorDate: Tue Apr 12 16:49:30 2016 +0100 Remove unused struct serial::name field The following patches will add uses for the field. gdb/ChangeLog: 2020-01-10 Pedro Alves <palves@redhat.com> Revert: 2016-04-12 Pedro Alves <palves@redhat.com> * serial.c (serial_open, serial_fdopen_ops, do_serial_close): Remove references to name. * serial.h (struct serial) <name>: Delete.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 446b896..8d67c4b 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -240,6 +240,7 @@ struct serial
buffer. -ve for sticky errors. */
unsigned char *bufp; /* Current byte */
unsigned char buf[BUFSIZ]; /* Da buffer itself */
+ char *name; /* The name of the device or host */
struct serial *next; /* Pointer to the next `struct serial *' */
int debug_p; /* Trace this serial devices operation. */
int async_state; /* Async internal state. */