GP2C-DBG(1) | PARI | GP2C-DBG(1) |
GP2C-DBG - The GP to C debugger driver
gp2c-dbg [gp2c options] [file.gp]
Compile file.gp with gp2c and launch a debugger session of gp where the functions of file.gp are loaded. [gp2c options] are passed to gp2c.
gp2c-dbg file.c
Compile file.c and launch a debugger session of gp where the functions of file.c are loaded. The file file.c must have suitable GP;install() lines.
Since there is no debugger for the GP language, gp2c-dbg allows to debug GP scripts with the C debugger. To catch PARI errors, you can set a break point on the function "pari_err". Note that your functions will not be loaded until gp read the .run file.
file.gp.c The C output of gp2c.
Copyright 2000-2018 The PARI Group
GP2C is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for GP2C.
The GP2C manual, gp2c-run(1), gp2c(1), gp(1), gdb(1)
November 2001 | GP to C compiler driver |