aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-base.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-01 11:04:58 -0600
committerTom Tromey <tromey@adacore.com>2023-11-27 12:55:14 -0700
commit4dda9cc4b03788d1cf0416b39a3ab3780caf27fd (patch)
treefb451490273515f22bd1f2f2ec85d82493124fd5 /gdb/ser-base.h
parentc618a1c548193d2a6a8c3d909a3d1c620a156b5d (diff)
downloadbinutils-4dda9cc4b03788d1cf0416b39a3ab3780caf27fd.zip
binutils-4dda9cc4b03788d1cf0416b39a3ab3780caf27fd.tar.gz
binutils-4dda9cc4b03788d1cf0416b39a3ab3780caf27fd.tar.bz2
Fix latent bug in ser_windows_send_break
The ClearCommBreak documentation says: If the function fails, the return value is zero. ser_windows_send_break inverts this check. This has never been noticed because the caller doesn't check the result. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30770
Diffstat (limited to 'gdb/ser-base.h')
0 files changed, 0 insertions, 0 deletions