Files
mercury/tests/debugger/shallow.exp
Zoltan Somogyi 8b0cea125e Replace bespoke make rules with existing implicit rule.
tests/debugger/Mmakefile:
    Delete the bespoke make rules for test cases that do not require
    their own special handling.

tests/debugger/all_solutions.exp:
tests/debugger/all_solutions.exp2:
tests/debugger/all_solutions.exp4:
tests/debugger/browse_packed.exp:
tests/debugger/browse_pretty.exp:
tests/debugger/class_decl.exp:
tests/debugger/cmd_quote.exp:
tests/debugger/debugger_regs.exp:
tests/debugger/field_names.exp:
tests/debugger/implied_instance.exp:
tests/debugger/label_layout.exp:
tests/debugger/list_cmd.exp:
tests/debugger/lval_desc_array.exp:
tests/debugger/multi_parameter.exp:
tests/debugger/multi_parameter.exp2:
tests/debugger/mutrec.exp:
tests/debugger/no_inline_builtins.exp:
tests/debugger/queens_rep.exp:
tests/debugger/shallow.exp:
tests/debugger/shallow.exp2:
    Expect standardized event numbers and call sequence numbers,
    since that is what the implicit rule specifies.

tests/debugger/all_solutions.m:
    Fill in missing info about which .expN file is for what situations.
2026-03-15 13:07:48 +11:00

18 lines
604 B
Plaintext

E1: C1 CALL pred shallow.main/2-0 (cc_multi) shallow.m:24
mdb> echo on
Command echo enabled.
mdb> context before
Contexts will be printed before, on the same line.
mdb> context
Contexts are printed before, on the same line.
mdb> step
E2: C2 CALL shallow_helper_1.m:17 pred shallow_helper_1.safe/1-0 (semidet)
mdb> print *
HeadVar__1 [1, 2, 3, 4, 5]
mdb> stack
0 pred shallow_helper_1.safe/1-0 (semidet) (shallow_helper_1.m:17)
1 pred shallow.queen/2-0 (nondet)
2 pred shallow.main/2-0 (cc_multi) (shallow.m:25)
mdb> c -S
[1, 3, 5, 2, 4]