|
From: Tom H. <th...@cy...> - 2004-08-18 17:02:29
|
In message <412...@cc...>
Guy Incognito <tky...@cc...> wrote:
> This is also my first contact with the valgrind list, so bear with me.
> It seems that some of the Sys V ipc syscall checkes are
> incorrect in coregrind/vg_syscalls.c atleast in version 2.1.2.
>
> msgctl return value checks are faulty (res == 0 indicates success
> and that the buf has been touched by the kernel).
>
> semctl lacked manipulation altogether, I added this only partially
> but if the patch (below) seems ok, I can also write support
> for the rest of the semctl functionality (namely the GETALL is
> still missing, which is also quite a bit trickier to implement).
I fixed all these at the weekend - checking CVS would have saved
you some work ;-)
> ps. without looking into it, it seems rather nasty that
> valgrind dumps core when ran on -gstabs+ compiled binaries
> (given that stabs are info for gdb and when valgrind
> is being used so is usually gdb)
Use DWARF, it's so much nicer ;-)
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|