From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17124 invoked by alias); 30 Jul 2008 15:55:09 -0000 Received: (qmail 17116 invoked by uid 22791); 30 Jul 2008 15:55:08 -0000 X-Spam-Check-By: sourceware.org Received: from snape.ecoscentric.com (HELO snape.ecoscentric.com) (212.13.207.199) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jul 2008 15:54:48 +0000 Received: from localhost (snape.ecoscentric.com [127.0.0.1]) by snape.ecoscentric.com (Postfix) with ESMTP id 8C805DC8CF8 for ; Wed, 30 Jul 2008 16:54:45 +0100 (BST) Received: from snape.ecoscentric.com ([127.0.0.1]) by localhost (snape.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xT4v8xXfYem8; Wed, 30 Jul 2008 16:54:44 +0100 (BST) Received: from delenn.bartv.net (unknown [212.13.207.199]) by snape.ecoscentric.com (Postfix) with ESMTP id 2E9F7DC80E6 for ; Wed, 30 Jul 2008 16:54:44 +0100 (BST) Date: Wed, 30 Jul 2008 15:55:00 -0000 Message-Id: From: Bart Veer To: gdb-patches@sourceware.org Subject: minor doc fix Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00561.txt.bz2 Current docs for the remote protocol file I/O extension state that a struct timeval is 8 bytes. It is actually 12, a 4-byte time_t tv_sec and an 8-byte long tv_usec. It is not clear why tv_usec was made a long rather than an int, but that is what has been implemented in remote_fileio_to_fio_timeval() and hence what current server implementations expect. Bart 2008-07-30 Bart Veer * gdb.texinfo: gettimeofday() involves a 12-byte transfer, not 8 bytes. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.509 diff -u -p -r1.509 gdb.texinfo --- gdb.texinfo 18 Jul 2008 20:55:33 -0000 1.509 +++ gdb.texinfo 30 Jul 2008 14:55:06 -0000 @@ -26636,7 +26636,7 @@ struct timeval @{ The integral datatypes conform to the definitions given in the appropriate section (see @ref{Integral Datatypes}, for details) so this -structure is of size 8 bytes. +structure is of size 12 bytes. @node Constants @subsection Constants