From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11780 invoked by alias); 22 Sep 2010 19:18:55 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 11768 invoked by uid 22791); 22 Sep 2010 19:18:54 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 22 Sep 2010 19:18:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Oleg Nesterov , archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v11 Message-ID: <20100922191837.GA25002@host1.dyn.jankratochvil.net> References: <20100922022226.GA27400@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-SW-Source: 2010-q3/txt/msg00212.txt.bz2 On Wed, 22 Sep 2010 21:09:12 +0200, Tom Tromey wrote: > I think it would be good to implement a feature that shows how this > approach is an improvement over the current state of gdb+ptrace or > gdb+gdbserver. > > Exactly what feature this should be... I don't know :-) > I would imagine something performance-related. I would bet on a massive threads creating/deleting testcase signalling tasks around, together with watchpoints. There are races in the linux-nat code and IIRC even gdbserver code. OTOH if one tries hard one can probably manage one day to fix all the corner cases in the ptrace based linux-nat and gdbserver. Regards, Jan