diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-24 13:34:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-24 13:34:01 +0000 |
commit | 6564f77d9dda7f8bcfc62f55307c8911b56a437c (patch) | |
tree | 141aa4bc58d5a7a2fafa7c378a90a7bb6494a3d7 | |
parent | 42cf1509a7dbf155ee0007fae9cdc7a617a26700 (diff) | |
download | gdb-6564f77d9dda7f8bcfc62f55307c8911b56a437c.zip gdb-6564f77d9dda7f8bcfc62f55307c8911b56a437c.tar.gz gdb-6564f77d9dda7f8bcfc62f55307c8911b56a437c.tar.bz2 |
* linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/linux-proc.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c2afd2..cf87a9b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-08-24 Mark Kettenis <kettenis@gnu.org> + + * linux-proc.c (linux_proc_xfer_memory): Remove comment about + CFLAGS games to reflect reality. + 2003-08-24 Andrew Cagney <cagney@redhat.com> * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c index 282a3ec..245052f 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 |