Re: [U-Boot] [PATCH 08/21] sandbox: Allow running from valgrind

2018-11-26 Thread Christian Borntraeger
On 24.11.2018 22:31, Alexander Graf wrote: > > > On 24.11.18 05:29, Simon Glass wrote: >> It is useful to run sandbox from valgrind to find memory errors, etc. At >> present this works OK until U-Boot jumps into the next phase (e.g. from >> SPL to U-Boot). Update os_jump_to_file() to use

Re: [U-Boot] [PATCH 08/21] sandbox: Allow running from valgrind

2018-11-24 Thread Alexander Graf
On 24.11.18 05:29, Simon Glass wrote: > It is useful to run sandbox from valgrind to find memory errors, etc. At > present this works OK until U-Boot jumps into the next phase (e.g. from > SPL to U-Boot). Update os_jump_to_file() to use valgrind for each > subsequent phase also. > >

[U-Boot] [PATCH 08/21] sandbox: Allow running from valgrind

2018-11-23 Thread Simon Glass
It is useful to run sandbox from valgrind to find memory errors, etc. At present this works OK until U-Boot jumps into the next phase (e.g. from SPL to U-Boot). Update os_jump_to_file() to use valgrind for each subsequent phase also. Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c | 37