Here's what I know so far.  Example x09ocaml.

(gdb) bt
#0  0x000000002009f810 in ?? ()
#1  0x00000000100305a8 in .caml_interprete ()
#2  0x000000001002bf14 in .caml_callbackN_exn ()
#3  0x000000001002c090 in .caml_callback2_exn ()
#4  0x000000001002c0c0 in .caml_callback2 ()
#5  0x0000000010017ff8 in ml_plotter (x=4, y=4, tx=0xfffffe08c08, 
ty=0xfffffe08c28,
     pltr_data=<value optimized out>) at plplot_impl.c:64
#6  0x0000040000065828 in .pldrawcn ()
    from 
/builddir/build/BUILD/plplot-5.9.0-svn8747/fedora/src/libplplotd.so.9
#7  0x0000040000065658 in .plcntr ()
    from 
/builddir/build/BUILD/plplot-5.9.0-svn8747/fedora/src/libplplotd.so.9
#8  0x0000040000065370 in .plfcont ()
    from 
/builddir/build/BUILD/plplot-5.9.0-svn8747/fedora/src/libplplotd.so.9
#9  0x0000040000065158 in .c_plcont ()
    from 
/builddir/build/BUILD/plplot-5.9.0-svn8747/fedora/src/libplplotd.so.9
#10 0x0000000010017c68 in ml_plcont (f=0x10081e00, nx=35, ny=46, kx=1, 
lx=35, ky=1,
     ly=46, clevel=0x10093d40, nlevel=11) at plplot_impl.c:203
#11 0x000000001001067c in camlidl_plplot_ml_plcont (_v_f=4398052624808, 
_v_kx=3,
     _v_lx=71, _v_ky=3, _v_ly=93, _v_clevel=4398052624472) at 
plplot_stubs.c:3261
#12 0x000000001001071c in camlidl_plplot_ml_plcont_bytecode (
     argv=<value optimized out>, argn=<value optimized out>) at 
plplot_stubs.c:3268
#13 0x0000000010031db0 in .caml_interprete ()
#14 0x0000000010033ea4 in .caml_main ()
#15 0x0000000010018834 in .main ()
(gdb) list
59          if (pltr == NULL)
60              pltr = caml_named_value(CAML_PLPLOT_PLOTTER_FUNC_NAME);
61
62          // No check to see if a callback function has been 
designated yet,
63          // because that is checked before we get to this point.
64          result =
65              caml_callback2(*pltr, caml_copy_double(x), 
caml_copy_double(y));
66          double new_x, new_y;
67          new_x = Double_val( Field(result, 0) );
68          new_y = Double_val( Field(result, 1) );
(gdb) print *pltr
$1 = 4398052556888
(gdb) print x
$2 = 4
(gdb) print y
$3 = 4
(gdb) print pltr
$4 = (value *) 0x100813f0



-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to