|
From: Salvador E. T. <sal...@in...> - 2004-09-27 18:18:46
|
Hi All! From what I see in the code there is no easy way to do it. What I want is to control valgrind from another program, something like=20 a valgrind front-end. I find the memcheck tool very useful but visiting the reported stack=20 frames manually is annoying. I could parse the output of valgrind but that=B4s too oriented to humans.= An output like the one you get from gdb in MI mode could be really cool. SET --=20 Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie...=20 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2004-09-28 07:55:19
|
Hi, > From what I see in the code there is no easy way to do it. > What I want is to control valgrind from another program, something like > a valgrind front-end. There are already a few valgrind front-ends out there: http://valgrind.kde.org/related.html I've been using Alleyoop: http://alleyoop.sourceforge.net/ Dimitri |
|
From: Salvador E. T. <sal...@in...> - 2004-09-28 13:52:13
|
Dimitri Papadopoulos-Orfanos wrote: > Hi, > >> From what I see in the code there is no easy way to do it. >> What I want is to control valgrind from another program, something=20 >> like a valgrind front-end. > > > There are already a few valgrind front-ends out there: > http://valgrind.kde.org/related.html > > I've been using Alleyoop: > http://alleyoop.sourceforge.net/ Thanks, but the problem I see is that valgrind generates a human=20 readable output instead of a machine readable output. This is a problem for the front-end that could be easily confused or=20 need upgrades when a simple change in valgrind is done. GDB people solved this old issue adding a special mode where gdb=20 generates machine readable messages. They did it by abstracting the=20 output routines. They came up to this methode after various fails (i.e.=20 annotations). Another option is to use an intermediate program to parse=20 valgrind output and generate such an output. Then only one program needs = changes when the output of valgrind changes. BTW: what I have in mind is a TUI program that could be used in the=20 console and X and not just X. My text editor have a gdb front-end=20 integrated (looks like the old Borland C++ IDE), I would like to also=20 integrate a valgrind front-end. That=B4s an idea for the future, not=20 something I=B4ll do right now. Regards, SET --=20 Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie...=20 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |