This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] fix gdb.base/remote.c and h8300
- To: Jeff Holcomb <jeffh at redhat dot com>
- Subject: Re: [RFA] fix gdb.base/remote.c and h8300
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Tue, 28 Aug 2001 15:20:11 -0700
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat
- References: <Pine.SOL.3.91.1010828110631.25088T-100000@taarna.cygnus.com>
Jeff Holcomb wrote:
>
> 2001-08-28 Jeff Holcomb <jeffh@redhat.com>
>
> * gdb.base/remote.c: Define RANDOM_DATA_SIZE if target is a
> h8300.
Jeff, can't this go in the tm-h8300.h file, instead of
in a common source file?
>
> Index: remote.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/remote.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 remote.c
> --- remote.c 2001/07/17 21:47:19 1.2
> +++ remote.c 2001/08/28 18:09:27
> @@ -27,6 +27,10 @@ BEGIN {
> # define RANDOM_DATA_SIZE (1024)
> #endif
>
> +#ifdef __H8300__
> +# define RANDOM_DATA_SIZE (1024)
> +#endif
> +
> /* Use a character buffer to avoid byte order problems. 48k is
> chosen so that the buffer required at least 3 16k packets but
> targets often have no more than 64k of data. */
>
> --
> Jeff Holcomb
> jeffh@redhat.com
> GDB Engineering
> Red Hat, Inc.