R-alpha: R 0.50.a1 && gdb support

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 28 Jul 1997 15:23:47 +0200


Can we have gdb support?  (I don't use xxgdb.)

Perhaps in the wrapper one could add something like

*************************************************************
if [ "$1" = "-gdb" ]
then
	shift
	DEBUGGER=gdb
fi
*************************************************************

and at the end have

*************************************************************
if [ "$DEBUGGER" = "gdb" ]
then
    exec gdb $RHOME/bin/R.binary $*
else    
    exec $DEBUGGER $RHOME/bin/R.binary -v 4 $*
fi    
*************************************************************

Or is there a way to pass command line options for the program through
gdb?

Thanks,
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-