avoid NULL pointer ambiguity in mn10300 sim

Alexandre Oliva aoliva@redhat.com
Wed Jun 2 20:58:00 GMT 2004


GDB gets thoroughly confused if the address of the start symbol looks
like a NULL pointer.  ISO C requires no other pointer to compare equal
to the NULL pointer as well, so make sure we don't have any objects at
address zero.

Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgloss-mn10300-skip-address-zero.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20040602/f2e6f52e/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Newlib mailing list