Great! addr2line does exactly what I need. It will speed up my debugging. Now, what is run-gpc? I don't find anything about it in the gpc documentation, and it is not part of the gpc sources on my system... Thanks a lot! Pascal Viandier pascal@accovia.com -----Message d'origine----- De : gpc-owner@gnu.de [mailto:gpc-owner@gnu.de] De la part de Frank Heckenbach Envoyé : July 26, 2005 10:28 À : gpc@gnu.de Objet : Re: Cryptic runtime error Pascal Viandier wrote:
I am currently converting many SUN Pascal programs to GPC (on Solaris for now). I must say, the operation goes pretty well for now (with the help of a Perl translation program I build progressively when I encounter syntax issues). In this context, the first time I ran my second translated program, I got the following runtime error:
run.shell: Value out of range (error #300 at 4692b)
Here comes my point: - That is true, there was an error, but I had to browse the code a lot to find it!
addr2line and run-gpc (you can search the archives for details). Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8