summaryrefslogtreecommitdiff
path: root/gdb/linux-proc.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-24 13:34:01 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-24 13:34:01 +0000
commit8b05a6811dcec3a0d97b1d5f0012a20b1a397517 (patch)
treefca5a2f0c6890b989d9d696fbc1469bf53e414f8 /gdb/linux-proc.c
parentfc406511e1f874f33e38c92ace30aed1734f6f60 (diff)
downloadgdb-8b05a6811dcec3a0d97b1d5f0012a20b1a397517.tar.gz
* linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.
Diffstat (limited to 'gdb/linux-proc.c')
-rw-r--r--gdb/linux-proc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c
index 282a3ec33fb..245052ff78e 100644
--- a/gdb/linux-proc.c
+++ b/gdb/linux-proc.c
@@ -592,11 +592,7 @@ linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len, int write,
/* If pread64 is available, use it. It's faster if the kernel
supports it (only one syscall), and it's 64-bit safe even
on 32-bit platforms (for instance, SPARC debugging a SPARC64
- application).
-
- We play some autoconf and CFLAGS games to get this declaration
- exposed: -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE. And then
- a -D_BSD_SOURCE to counteract the defaults for _XOPEN_SOURCE. */
+ application). */
#ifdef HAVE_PREAD64
if (pread64 (fd, myaddr, len, addr) != len)
#else