mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +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. |
||
---|---|---|
.. | ||
arch.c | ||
arch.h | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.ac | ||
cpuall.h | ||
cpuv10.c | ||
cpuv10.h | ||
cpuv32.c | ||
cpuv32.h | ||
cris-desc.c | ||
cris-desc.h | ||
cris-opc.h | ||
cris-sim.h | ||
cris-tmpl.c | ||
crisv10f.c | ||
crisv32f.c | ||
decodev10.c | ||
decodev10.h | ||
decodev32.c | ||
decodev32.h | ||
devices.c | ||
dv-cris.c | ||
dv-rv.c | ||
Makefile.in | ||
mloop.in | ||
modelv10.c | ||
modelv32.c | ||
rvdummy.c | ||
semcrisv10f-switch.c | ||
semcrisv32f-switch.c | ||
sim-if.c | ||
sim-main.h | ||
tconfig.in | ||
traps.c |