Re: memset (0, 0, 0);

Andrew Cagney
2003-04-04T15:16:38Z

> This conflicts with gdb usage of memset (0, 0, 0); in some places.
> There are three practical questions here:
> - should gdb use this idiom?
> - should all target-specific variants of newlib's memset implement it?
> - should all target-specific variants of glibc's memset implement it?

I'm not sure why you're refering to GDB here. GDB assumes ISO C and
hence should never use memset in ways that violate the ISO C spec. If
it is, then someone gets to fix it.

Andrew