Commit Graph

2 Commits

Author SHA1 Message Date
Zoltan Somogyi
7e5fc92acf Add tests/debugger/user_event_shallow_exported.m.
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.
2021-08-09 14:36:04 +10:00
Mark Brown
4ea8531f89 Fix a syntax error in the event set descriptions being generated in the
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.
2007-02-23 06:35:56 +00:00