This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: minor doc fix
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Bart Veer <bartv at ecoscentric dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 30 Jul 2008 20:54:56 +0300
- Subject: Re: minor doc fix
- References: <pnbq0ffjuk.fsf@delenn.bartv.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 30 Jul 2008 16:54:43 +0100
> From: Bart Veer <bartv@ecoscentric.com>
>
> 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.
You are on a 64-bit machine, right? On a 32-bit machine, a long takes
4 bytes, like an int.
So if you want to get this text right, you will need to rewrite it
such that it is correct on both architectures.
Thanks.