Use "--keep-debuginfo=yes" for valgrind testing
This commit is contained in:
parent
dc1763bbf5
commit
26ba3f62e3
|
|
@ -23,7 +23,8 @@ def assemble_vvp_cmd(options: dict, cfg: dict) -> list:
|
|||
'''Build the vvp command line'''
|
||||
res = []
|
||||
if cfg['with-valgrind']:
|
||||
res += ["valgrind", "--leak-check=full", "--show-reachable=yes"]
|
||||
res += ["valgrind", "--leak-check=full", "--keep-debuginfo=yes",
|
||||
"--show-reachable=yes"]
|
||||
res += ["vvp"+cfg['suffix']]
|
||||
res += options['vvp_args']
|
||||
res.append(os.path.join("work", "a.out"))
|
||||
|
|
|
|||
|
|
@ -173,6 +173,7 @@ sub execute_regression {
|
|||
}
|
||||
|
||||
$cmd = $with_valg ? "valgrind --leak-check=full " .
|
||||
"--keep-debuginfo=yes " .
|
||||
"--show-reachable=yes " : "";
|
||||
$cmd .= "vvp$sfx vsim $vvp_args $plargs{$tname}";
|
||||
# print "$cmd\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue