gcd.rb:4
def gcd(a, b)
# # $Id: setshow.cmd 346 2007-11-14 01:39:05Z rockyb $
# # This tests the functioning of some set/show debugger commands
# set debuggertesting on
Currently testing the debugger is on.
# ### *******************************
# ### ***   Set/show commands     ***
# ### *******************************
# ########################################
# ###   test args and baseneme...
# ########################################
# set args this is a test
Argument list to give program being debugged when it is started is "this is a test".
# show args
Argument list to give program being debugged when it is started is "this is a test".
# show basename
basename is on.
# set basename foo
Expecting 'on', 1, 'off', or 0. Got: foo.
# show base
basename is on.
# set basename off
basename is off.
# show basename
basename is off.
# set basename 0
basename is off.
# show basename
basename is off.
# set basename 1
basename is on.
# show basename
basename is on.
# ########################################
# ###   test listsize tests...
# ########################################
# show listsize
Number of source lines to list by default is 10.
# show listsi
Number of source lines to list by default is 10.
# set listsize abc
Set listsize argument 'abc' needs to be a number.
# set listsize -20
Set listsize argument '-20' needs to at least 1.
# ########################################
# ###  test linetrace...
# ########################################
# set linetrace on
line tracing is on.
# show linetrace
line tracing is on.
# set linetrace off
line tracing is off.
# show linetrace
line tracing is off.
# ########################################
# ###  show history
# ########################################
# set history
Need two parameters for 'set history'; got 0.
# set history size 10
Debugger history size is 10
# show history size
Debugger history size is 10
# set history save off
Saving of history save is off.
# show history save
Saving of history save is off.
# set history save 1
Saving of history save is on.
# show history save
Saving of history save is on.
