Alastair’s Place

Software development, Cocoa, Objective-C, life. Stuff like that.

Pre-compiled Symbol Files

I’ve been getting annoying warnings from Apple’s GDB recently about out-of-date symbol files that it is ignoring, and I couldn’t find any way to sort it out… until today, I noticed that one of them had a path associated with it, so I went snooping.

Anyway, to cut a long story short, if you start getting these warnings, the command you need is

sudo /usr/libexec/gdb/cache-symfiles