aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-14 23:23:19 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-14 23:29:11 -0400
commit4df5cdbd3afc33e8c0a0d18542899f3f88d2f22f (patch)
tree994aad45706e6cdbbc20be79aa601ed6aafaa774 /sim/erc32/ChangeLog
parent82e6d6bf900e9c1929cc2d4e64a16ab4e1abe4e9 (diff)
downloadgdb-4df5cdbd3afc33e8c0a0d18542899f3f88d2f22f.zip
gdb-4df5cdbd3afc33e8c0a0d18542899f3f88d2f22f.tar.gz
gdb-4df5cdbd3afc33e8c0a0d18542899f3f88d2f22f.tar.bz2
sim: erc32: fix build w/out termios.h
Add conditional logic around termios.h usage to fix builds on systems that don't have it (e.g. Windows).
Diffstat (limited to 'sim/erc32/ChangeLog')
-rw-r--r--sim/erc32/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 311da25..a5035d0 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,11 @@
+2021-06-14 Mike Frysinger <vapier@gentoo.org>
+
+ * erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1,
+ ioc2, iocold1, & iocold2.
+ (init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr.
+ (restore_stdio) [HAVE_TERMIOS_H]: Likewise.
+ (port_init) [HAVE_TERMIOS_H]: Only call tcgetattr.
+
2021-06-12 Mike Frysinger <vapier@gentoo.org>
* erc32.c (uart_rx): Change caddr_t to void*.