|
From: Nigel S. <nig...@ho...> - 2011-06-29 09:10:06
|
I have two questions: 1> Is valgrind capable of assessing software that contains interrupts ? (hardware or software interrupts) If so, How to set this up? 2> Has any work been done regarding running valgrind under simulated environments? Such as within TSIM ( http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=38&Itemid=56 ) If so, How to set this up? Thanks, Nigel Sewell. |
|
From: John R. <jr...@bi...> - 2011-06-29 12:48:03
|
> 1> Is valgrind capable of assessing software that contains interrupts ? (hardware or software interrupts) If so, How to set this up? It just works, right out-of-the-box. valgrind is a user-mode program for Linux, and the subject [analyzed] programs are also user-mode programs for Linux, and "interrupt" means "signal". Signals "just work". > 2> Has any work been done regarding running valgrind under simulated environments? Such as within TSIM ( http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=38&Itemid=56 ) If so, How to set this up? Valgrind is a user-mode application that processes another user-mode application for the same CPU architecture. So, just run valgrind inside the simulated environment. -- |
|
From: Bjoern D. <bjo...@go...> - 2011-07-01 01:58:21
|
2011/6/29 John Reiser <jr...@bi...>: [..] >> 2> Has any work been done regarding running valgrind under simulated environments? Such as within TSIM ( http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=38&Itemid=56 ) If so, How to set this up? > > Valgrind is a user-mode application that processes another user-mode application > for the same CPU architecture. So, just run valgrind inside the simulated > environment. Although TSIM is actually a SPARC simulator and as such Valgrind won't work on any Linux that has been installed inside the sim. Bjoern |