mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
363a6e9f2c
gdb/ * ser-tcp.c (net_open): Check error return from socket() call by its equality to -1 not by it being negative. (net_close): Likewise. gdb/gdbserver/ * gdbreplay.c (remote_open): Check error return from socket() call by its equality to -1 not by it being negative. * remote-utils.c (remote_open): Likewise. sim/arm/ * communicate.c (MYread_char): Check error return from accept() call by its equality to -1 not by it being negative. (MYread_charwait): Likewise. * main.c (main): Likewise for both socket() and accept() calls. sim/common/ * dv-sockser.c (dv_sockser_init): Check error return from socket() call by its equality to -1 not by it being negative. (connected_p): Likewise for accept() call. sim/cris/ * dv-rv.c (hw_rv_init_socket): Check error return from socket() call by its equality to -1 not by it being negative. (hw_rv_write): Likewise. (hw_rv_handle_incoming): Likewise. (hw_rv_poll_once): Likewise. * rvdummy.c (setupsocket): Likewise. (main): Likewise for accept() call as returned from setupsocket(). sim/m32c/ * main.c (setup_tcp_console): Check error return from socket() call by its equality to -1 not by it being negative. |
||
---|---|---|
.. | ||
blinky.S | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.in | ||
cpu.h | ||
gdb-if.c | ||
gloss.S | ||
int.c | ||
int.h | ||
load.c | ||
load.h | ||
m32c.opc | ||
main.c | ||
Makefile.in | ||
mem.c | ||
mem.h | ||
misc.c | ||
misc.h | ||
opc2c.c | ||
r8c.opc | ||
reg.c | ||
safe-fgets.c | ||
safe-fgets.h | ||
sample2.c | ||
sample.ld | ||
sample.S | ||
srcdest.c | ||
syscall.h | ||
syscalls.c | ||
syscalls.h | ||
timer_a.h | ||
trace.c | ||
trace.h |