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

Kevin Buettner kevinb@cygnus.com
Tue Aug 28 18:41:00 GMT 2001


On Aug 28,  8:14pm, Andrew Cagney wrote:

> > 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.

You're right.  (How is the preprocessor to know what sizeof (int) means?)

Well, what about Jeff's idea then?

Kevin



More information about the Gdb-patches mailing list