mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
* inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
* linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. * target.c (target_fileio_pwrite): Remove buffer address from debug output. (target_fileio_pread): Likewise.
This commit is contained in:
@ -3258,9 +3258,9 @@ target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len,
|
||||
|
||||
if (targetdebug)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"target_fileio_pwrite (%d,%p,%d,%s) "
|
||||
"target_fileio_pwrite (%d,...,%d,%s) "
|
||||
"= %d (%d)\n",
|
||||
fd, write_buf, len, pulongest (offset),
|
||||
fd, len, pulongest (offset),
|
||||
ret, ret != -1 ? 0 : *target_errno);
|
||||
return ret;
|
||||
}
|
||||
@ -3288,9 +3288,9 @@ target_fileio_pread (int fd, gdb_byte *read_buf, int len,
|
||||
|
||||
if (targetdebug)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"target_fileio_pread (%d,%p,%d,%s) "
|
||||
"target_fileio_pread (%d,...,%d,%s) "
|
||||
"= %d (%d)\n",
|
||||
fd, read_buf, len, pulongest (offset),
|
||||
fd, len, pulongest (offset),
|
||||
ret, ret != -1 ? 0 : *target_errno);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user