mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
gdb/gdbserver/
* tracepoint.c (gdb_ust_thread): Don't ignore return value of write.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2011-12-14 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* tracepoint.c (gdb_ust_thread): Don't ignore return value
|
||||
of write.
|
||||
|
||||
2011-12-14 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* i386-low.c (i386_low_stopped_data_address): Initialize local
|
||||
|
@ -8122,7 +8122,8 @@ gdb_ust_thread (void *arg)
|
||||
strcpy (cmd_buf, "");
|
||||
}
|
||||
|
||||
write (fd, buf, 1);
|
||||
/* Fix compiler's warning: ignoring return value of 'write'. */
|
||||
ret = write (fd, buf, 1);
|
||||
close (fd);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user