This is a cut-down test case that demonstrates, regardless of optimization
options, the cause of the failure of the user_event_shallow test case
with intermodule optimization: the fact that the current implementation
ignores user events in procedures if they are exported from the module
that is shallow traced.
tests/debugger/user_event_shallow_exported.{m,exp}:
As above. The .exp file will be filled in once the bug has been fixed.
tests/debugger/user_event_spec_3:
Add the event specification file for the new test.
tests/debugger/Mercury.options:
Specify that event specification file for the new test.
tests/debugger/user_event_spec:
tests/debugger/user_event_spec_2:
Expand out tabs.
Estimated hours taken: 3
Branches: main
Fix a syntax error in the event set descriptions being generated in the
module layout data.
compiler/prog_event.m:
Don't put parentheses around the arguments for zero-arity user
defined types.
tests/debugger/Mercury.options:
tests/debugger/Mmakefile:
tests/debugger/user_event_2.exp:
tests/debugger/user_event_2.inp:
tests/debugger/user_event_2.m:
tests/debugger/user_event_spec_2:
Test case.