aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2012-01-23 13:35:22 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2012-01-23 13:35:22 +0000
commita71b5a3812de2a9da03eb91bc31df306f28c3d11 (patch)
tree359b132793cda58e7100cc8d9e660a45e4a4be48 /gdb/target.c
parentd12c31dfa70fad2a5e062d93d0c7e55818fe725e (diff)
downloadgdb-a71b5a3812de2a9da03eb91bc31df306f28c3d11.zip
gdb-a71b5a3812de2a9da03eb91bc31df306f28c3d11.tar.gz
gdb-a71b5a3812de2a9da03eb91bc31df306f28c3d11.tar.bz2
* 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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c
index c64a9d8..ad304bc 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -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;
}