mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
Estimated hours taken: 2
Branches: main
Fix the failure of the debugger/uci test case with intermodule optimization
in asm_fast.gc. The problem was that we used to get a garbage value for the
call number of the index predicate, which shouldn't have had debugging enabled
in the first place.
compiler/trace_params.m:
Always compile index predicates without any form of debugging, since
they are only an implementation detail.
tests/debugger/uci_index.{m,inp,exp}:
tests/debugger/Mmakefile:
Add this cut-down version of the uci test case.
tests/debugger/Mercury.options:
Make sure that uci_index is always run with the options required to
demonstrated the presence of the bug if in fact it is present.
10 lines
59 B
Plaintext
10 lines
59 B
Plaintext
echo on
|
|
context none
|
|
step
|
|
step
|
|
step
|
|
step
|
|
step
|
|
step
|
|
quit -y
|