[PATCH] Fix comment in linux-proc.c

Mark Kettenis kettenis@chello.nl
Sun Aug 24 13:34:00 GMT 2003


Catch up with reality.  Checked in as obvious.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* linux-proc.c (linux_proc_xfer_memory): Remove comment about
	CFLAGS games to reflect reality.

Index: linux-proc.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-proc.c,v
retrieving revision 1.16
diff -u -p -r1.16 linux-proc.c
--- linux-proc.c 4 Aug 2003 17:08:22 -0000 1.16
+++ linux-proc.c 24 Aug 2003 13:23:56 -0000
@@ -592,11 +592,7 @@ linux_proc_xfer_memory (CORE_ADDR addr, 
   /* 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



More information about the Gdb-patches mailing list