This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: enum { BFD_ENDIAN_BIG, ...}



While we're on this subject, note that initialising pointers (and FP) to
all-bits-zero via memset is not strictly portable.  Not all architectures
represent a NULL pointer as all-bits-zero.  The C-FAQ mentions a number
of such machines.  http://www.eskimo.com/~scs/C-faq/top.html

Alan


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