DESCRIPTIONgp2c-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.
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.
FILESfile.gp.c The C output of gp2c.
- The GP loadable module.
- The commands to load the module. Once a module is compiled, you can load it inside a gp session by running this script.
- Path to the gp2c compiler, default: /usr/bin/gp2c
- Path to the gp calculator, default: /usr/bin/gp
- Command to start the debugger, default: "gdb --args"
COPYINGCopyright 2000-2015 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.