Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
sasa
Commits
7adc4501
Commit
7adc4501
authored
4 years ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
rdbg fix: the potential was not provided at silent rdbg event for internal daemons
parent
3edf66f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/sasa/sasaRun.ml
+5
-4
5 additions, 4 deletions
lib/sasa/sasaRun.ml
with
5 additions
and
4 deletions
lib/sasa/sasaRun.ml
+
5
−
4
View file @
7adc4501
...
@@ -88,7 +88,8 @@ let (make_do: string array -> SasArg.t ->
...
@@ -88,7 +88,8 @@ let (make_do: string array -> SasArg.t ->
(
Sasacore
.
Main
.
get_outputs_rif_decl
args
pl
)
(
Sasacore
.
Main
.
get_outputs_rif_decl
args
pl
)
in
in
let
vntl_o
=
let
vntl_o
=
if
Register
.
get_potential
()
=
None
then
vntl_o
else
(
"potential"
,
Data
.
Real
)
::
vntl_o
in
if
Register
.
get_potential
()
=
None
then
vntl_o
else
(
"potential"
,
Data
.
Real
)
::
vntl_o
in
let
vntl_o
=
(
"silent"
,
Data
.
Bool
)
::
(
"legitimate"
,
Data
.
Bool
)
::
vntl_o
in
let
vntl_o
=
(
"silent"
,
Data
.
Bool
)
::
(
"legitimate"
,
Data
.
Bool
)
::
vntl_o
in
let
pre_enable_processes_opt
=
ref
None
in
let
pre_enable_processes_opt
=
ref
None
in
let
sasa_env
=
ref
e
in
let
sasa_env
=
ref
e
in
...
@@ -144,7 +145,7 @@ let (make_do: string array -> SasArg.t ->
...
@@ -144,7 +145,7 @@ let (make_do: string array -> SasArg.t ->
let
silent
=
List
.
for_all
(
fun
b
->
not
b
)
(
List
.
flatten
enab_ll
)
in
let
silent
=
List
.
for_all
(
fun
b
->
not
b
)
(
List
.
flatten
enab_ll
)
in
let
legit
=
compute_legitimate
silent
p_nl_l
e
in
let
legit
=
compute_legitimate
silent
p_nl_l
e
in
if
silent
then
(
if
silent
then
(
(
"silent"
,
Data
.
B
silent
)
::
(
"legitimate"
,
Data
.
B
legit
)
::
(
"silent"
,
Data
.
B
silent
)
::
(
"legitimate"
,
Data
.
B
legit
)
::
pot_sl
@
(
from_sasa_env
p_nl_l
e
)
@
(
get_sl_out
true
pl
enab_ll
)
(
from_sasa_env
p_nl_l
e
)
@
(
get_sl_out
true
pl
enab_ll
)
)
)
else
else
...
@@ -165,8 +166,8 @@ let (make_do: string array -> SasArg.t ->
...
@@ -165,8 +166,8 @@ let (make_do: string array -> SasArg.t ->
let
step_dbg
sl_in
ctx
cont
=
let
step_dbg
sl_in
ctx
cont
=
let
sl_out
=
step
sl_in
in
let
sl_out
=
step
sl_in
in
{
ctx
with
{
ctx
with
(*
RdbgEvent.nb = 0; *)
(* RdbgEvent.nb = 0; *)
(*
RdbgEvent.step = 0; (* we are actually in the middle of the first step! *) *)
(* RdbgEvent.step = 0; (* we are actually in the middle of the first step! *) *)
RdbgEvent
.
depth
=
ctx
.
RdbgEvent
.
depth
+
1
;
RdbgEvent
.
depth
=
ctx
.
RdbgEvent
.
depth
+
1
;
RdbgEvent
.
kind
=
RdbgEvent
.
Exit
;
RdbgEvent
.
kind
=
RdbgEvent
.
Exit
;
RdbgEvent
.
lang
=
"sasa"
;
RdbgEvent
.
lang
=
"sasa"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment