memset (0, 0, 0);
Andrew Cagney
ac131313@redhat.com
Fri Apr 4 15:16:00 GMT 2003
> 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
More information about the Newlib
mailing list