This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] fix gdb.base/remote.c and h8300


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]