]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Change serial_readchar to throw
authorTom Tromey <tromey@adacore.com>
Tue, 29 Aug 2023 14:22:09 +0000 (08:22 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 27 Nov 2023 19:55:14 +0000 (12:55 -0700)
commit0da23004a064e7149373b484fa671f2a2105ec9b
treecd41c9b455ae17a9ab41b8b14a423efc94053204
parentd69939bded50d76179f97284df35879a385cf8c0
Change serial_readchar to throw

This changes serial_readchar to throw an exception rather than trying
to set and preserve errno.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30770
gdb/remote.c
gdb/ser-mingw.c
gdb/ser-tcp.c
gdb/ser-uds.c
gdb/ser-unix.c