tom <tompotts@xxxxxxxxxxxxxxxxxxxxxx> 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