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


> 
> Yeah.  Or maybe just check sizeof (int)?
> 
> #if sizeof (int) <= 2
> # define RANDOM_DATA_SIZE (1024)
> #else
> ...
> #endif

I'm 98% certain you can't do that using ISO-C.

	Andrew



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