Man Linux: Main Page and Category List


       GP2C-DBG - The GP to C debugger driver


       gp2c-dbg [gp2c options] []

       Compile with gp2c and launch a debugger session of gp where the
       functions of 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()


       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.

FILES 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.


       GP2C   Path to the gp2c compiler, default: /usr/bin/gp2c

       GP_DBG Path to the gp calculator, default: /usr/bin/gp

              Command to start the debugger, default: "gdb --args"


       Copyright 2000-2006 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)