This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Is CLONE_VM really needed in gdbserver?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GDB <gdb at sourceware dot org>
- Date: Tue, 26 Jan 2010 15:51:38 -0800
- Subject: Is CLONE_VM really needed in gdbserver?
Hi,
There is a race condition between gdbserver and ld.so on Linux/x86-64:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=11214
Is CLONE_VM really needed? In general, CLONE_VM is a very bad
idea if there is any symbol lookup in both parent and child processes.
Thanks.
H.J.
---