aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-commands-breakpoint.py
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-01-04 12:09:12 +0200
committerEli Zaretskii <eliz@gnu.org>2025-01-04 12:09:12 +0200
commit6ab5d62ebc5df29d3fe1fd81b311c3d3fc12f565 (patch)
treeba809f90fda7e55d40aa6bddb23cfc71a4593625 /gdb/testsuite/gdb.python/py-commands-breakpoint.py
parent9e2d0e2f5369bdd483973171ce436062b866d2dc (diff)
downloadbinutils-6ab5d62ebc5df29d3fe1fd81b311c3d3fc12f565.zip
binutils-6ab5d62ebc5df29d3fe1fd81b311c3d3fc12f565.tar.gz
binutils-6ab5d62ebc5df29d3fe1fd81b311c3d3fc12f565.tar.bz2
[gdb] Fix compilation error in event-top.c
CXX event-top.o In file included from d:\usr\include\winsock2.h:69, from ./../gdbsupport/gdb_select.h:30, from event-top.c:43: event-top.c: In function 'fd_set* fd_copy(fd_set*, const fd_set*, int)': event-top.c:1279:22: error: invalid conversion from 'const fd_set*' to 'fd_set*' [-fpermissive] 1279 | if (FD_ISSET (i, src)) | ^ | | | const fd_set* d:\usr\include\winsock.h:164:50: note: initializing argument 2 of 'int __FD_ISSET(SOCKET, fd_set*)' 164 | __CRT_ALIAS int __FD_ISSET( SOCKET __fd, fd_set *__set ) | ~~~~~~~~^~~~~ Use an explicit type cast to prevent this. * gdb/event-top.c (fd_copy): Type-cast in call to FD_ISSET.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-commands-breakpoint.py')
0 files changed, 0 insertions, 0 deletions