I'm looking for a very simple debugging info from a running gpc program. without getting into a debugger etc. I'm just using gp from command line.
By default, most errors get the uninformative message "Segmentation fault". I would think ther would be some compiler option for more information at time of program failure, for example, the procedure name in which the error occurred, a procedure traceback, and/or a line number at which the error occurred.
But I've searched through both the gpc and gcc manuals, and don't see this. Is it there and I'm missing it?
And, if anything like this is available, an improvement to the gpc manual would be to mention this as a simple option in:
3.2.3 How do I debug my Pascal programs?
Willett Kempton