I am attempting to compile GDB 7.4 (the version that is on the gdb website) under Mac OSX and I receive the following error:
mach-o.c: In function 'bfd_mach_o_header_p': mach-o.c.2978: warning: 'header.reserved' may be used uninitialized in this function
While trying to figure out the cause of this problem I came across the following article:
http://www.puredarwin.org/blockers
which claims that the cause of this problem is that the normal version of gdb doesn't work on the Darwin OS (when I do ./configure the "system type" comes up as i386-apple-darwin9.8.0). Is this corret, and if so, where do I get the "Apple version" which does work on Mac OSX?