Lots of warnings from gdb 7.2

Rainer Müller raimue at macports.org
Tue Apr 12 14:08:11 PDT 2011

On 2011-04-11 19:04 , Richard Stanton wrote:
> I just installed gcc 4.5 and gdb 7.2 on my Snow Leopard machine (which
> also has Xcode installed), and used gcc_select to make gcc 4.5 the default
> compiler. I can now compile and run programs fine, but when I try to debug
> them using gdb 7.2, while the debugging itself seems to work OK, I get a
> huge number of warnings about missing files.

Actually I have no solution for this. I guess this is due the fact that
the libraries include information from which object files they were
linked. But as the work directory is automatically cleaned after
installation, these object files are gone now.

I have no idea why /usr/bin/gdb doesn't show the same behavior, but be
aware that it is much older and has been patched by Apple.


More information about the macports-users mailing list