[m-rev.] trivial diff: update debugger test output

Simon Taylor stayl at cs.mu.OZ.AU
Wed Jun 26 16:14:42 AEST 2002


Estimated hours taken: 0.1
Branches: main

tests/debugger/exception_cmd.exp2:
tests/debugger/print_goal.exp2:
	Update expected output for my change to variable naming.

Index: exception_cmd.exp2
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/exception_cmd.exp2,v
retrieving revision 1.3
diff -u -u -r1.3 exception_cmd.exp2
--- exception_cmd.exp2	1 Nov 2000 04:23:03 -0000	1.3
+++ exception_cmd.exp2	26 Jun 2002 06:06:17 -0000
@@ -4,7 +4,7 @@
 mdb> exception
        5:      3  3 EXCP pred require:error/1-0 (erroneous)
 mdb> print *
-       HeadVar__1             	"oops"
+       Message (arg 1)        	"oops"
 mdb> continue
 Uncaught exception:
 Software Error: oops
Index: print_goal.exp2
===================================================================
RCS file: print_goal.exp2
diff -N print_goal.exp2
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ print_goal.exp2	26 Jun 2002 06:06:52 -0000
@@ -0,0 +1,66 @@
+       1:      1  1 CALL pred print_goal:main/2-0 (det) print_goal.m:12
+mdb> echo on
+Command echo enabled.
+mdb> context none
+Contexts will not be printed.
+mdb> register --quiet
+mdb> b big_data
+ 0: + stop  interface pred print_goal:big_data/1-0 (det)
+mdb> b print_goal
+ 1: + stop  interface pred print_goal:print_goal/9-0 (det)
+mdb> c
+       2:      2  2 CALL pred print_goal:big_data/1-0 (det)
+mdb> p goal
+big_data('_')
+mdb> finish
+       3:      2  2 EXIT pred print_goal:big_data/1-0 (det)
+mdb> p goal
+big_data(big(big(big/3, 2, small), 3, big(big/3, 6, small)))
+mdb> c
+big(big(big(small, 1, small), 2, small), 3, big(big(small, 4, big(small, 5, small)), 6, small)).
+       8:      5  2 CALL pred print_goal:print_goal/9-0 (det)
+mdb> v
+        1 HeadVar__1
+        2 _W (arg 2)
+        3 X (arg 3)
+        4 Y (arg 6)
+        5 DCG_0 (arg 8)
+mdb> p goal
+print_goal(yes, 100, 101, _, _, 102, _, state(<<c_pointer>>), _)
+mdb> finish
+      10:      5  2 EXIT pred print_goal:print_goal/9-0 (det)
+mdb> v
+        1 HeadVar__1
+        2 _W (arg 2)
+        3 X (arg 3)
+        4 HeadVar__4
+        5 HeadVar__5
+        6 Y (arg 6)
+        7 HeadVar__7
+        8 DCG_1 (arg 9)
+mdb> p goal
+print_goal(yes, 100, 101, 102, 103, 102, 103, _, state(<<c_pointer>>))
+mdb> c
+103.
+103.
+      19:     10  2 CALL pred print_goal:print_goal/9-0 (det)
+mdb> v
+        1 HeadVar__1
+        2 _W (arg 2)
+        3 X (arg 3)
+        4 Y (arg 6)
+        5 DCG_0 (arg 8)
+mdb> finish
+      21:     10  2 EXIT pred print_goal:print_goal/9-0 (det)
+mdb> v
+        1 HeadVar__1
+        2 _W (arg 2)
+        3 X (arg 3)
+        4 HeadVar__4
+        5 HeadVar__5
+        6 Y (arg 6)
+        7 HeadVar__7
+        8 DCG_1 (arg 9)
+mdb> c
+104.
+104.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list