mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Tools: use --track-origins=yes in valgrind for sim_vehicle.py
this allows us to find the original cause of an uninitialised variable
This commit is contained in:
parent
372eca7dad
commit
b07e95aab0
@ -550,6 +550,7 @@ def start_vehicle(binary, autotest, opts, stuff, loc=None):
|
||||
# adding this option allows valgrind to cope with the overload
|
||||
# of operator new
|
||||
cmd.append("--soname-synonyms=somalloc=nouserintercepts")
|
||||
cmd.append("--track-origins=yes")
|
||||
if opts.callgrind:
|
||||
cmd_name += " (callgrind)"
|
||||
cmd.append("valgrind")
|
||||
|
Loading…
Reference in New Issue
Block a user