|
From: Chris J. <ch...@at...> - 2004-02-20 11:27:55
|
> In message <ICE...@at...> > Chris January <ch...@at...> wrote: > > > Plain old MAP_SHARED isn't supported on Linux so that would > mean using POSIX > > shm (shm_open, /dev/shm) instead. I'm not sure how portable that is. > > What do you mean by "plain old" exactly? I wasn't aware of any problem > with MAP_SHARED on linux. I just wrote a small test program and it appears MAP_SHARED does work. I don't know where I got the idea it didn't from! However it is probably best to avoid the use of shared memory altogether (since it means GDB needs to know about Valgrind's internal structures) and use something like gdbstub instead as someone else suggested. Chris |