Oldham, Adam wrote:
At the risk of sounding increcibly inept....
For those of you that have modified the GPC source, how do you go about debugging it? I've built it with debugging symbols, but GDB doesn't recognize any of the functions names, I've never had this problem before....
I'm not sure exactly what's the problem. But perhaps it's the following:
The `gpc' executable is only the compiler driver which doesn't do much work and is rarely the cause of problems. The real compiler is `gpc1' in the directory <prefix>/lib/gcc-lib/<target>/<version>/. So perhaps you only have to specify this executable when calling gdb.
Frank