Generating a symbol-file for a release version.
Ian Lance Taylor
iant@google.com
Thu Nov 11 15:12:00 GMT 2010
tom <tompotts@madtom1999.bbmax.co.uk> writes:
> I ran objump -d on the two executables as suggested but found the
> object names were different (longer in the -ggdb version)- is this
> down to name mangling? This may explain why the debug version works -
> or rather fails to fail?
Do you mean symbol names or object names? I can't really see why either
would change. -ggdb does not affect name mangling at all. It just adds
debugging information. In any case, changes in symbol or object names
should not affect whether the programs runs or not, as long as the
changes are consistent. What I was hoping you could see from objdump -d
is changes in the instructions.
Ian
More information about the Gcc-help
mailing list