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....
Any suggestions?
Adam
----------------------------------------------------------------------- C. Adam Oldham Marconi Commerce Systems Inc. Software Engineer 7300 West Friendly Ave. adam.oldham@marconi.com Greensboro, NC 27420-2087 Phone : 336.547.5952 Fax : 336.547.5079 ----------------------------------------------------------------------- This document contains confidential information of Marconi Commerce Systems Inc. In consideration of the receipt of this document, the recipient agrees not to reproduce, copy, use or transmit this document and/or the information contained herein, in whole or in part, or to suffer such actions by others, for any purpose except with written permission, first obtained, of Marconi Commerce Systems Inc., and further agrees to surrender the same to Marconi Commerce Systems Inc. upon demand. -----------------------------------------------------------------------
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