From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20052 invoked by alias); 30 Jul 2010 15:20:43 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 20039 invoked by uid 22791); 30 Jul 2010 15:20:40 -0000 X-SWARE-Spam-Status: No, hits=-6.0 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: Fri, 30 Jul 2010 15:20:00 -0000 From: Jan Kratochvil To: Oleg Nesterov Cc: "Frank Ch. Eigler" , Roland McGrath , utrace-devel@redhat.com, archer@sourceware.org Subject: Re: gdbstub initial code, another approach Message-ID: <20100730152025.GA22951@host1.dyn.jankratochvil.net> References: <20100716205147.GA26313@redhat.com> <20100721170400.GA30978@redhat.com> <20100721204203.D040C400B6@magilla.sf.frob.com> <20100723173134.GA29717@redhat.com> <20100726142759.GA17171@redhat.com> <20100728181702.GA26678@redhat.com> <20100730125755.GA6438@redhat.com> <20100730132537.GA15448@host1.dyn.jankratochvil.net> <20100730144124.GA10396@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100730144124.GA10396@redhat.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-SW-Source: 2010-q3/txt/msg00069.txt.bz2 On Fri, 30 Jul 2010 16:41:24 +0200, Oleg Nesterov wrote: > IOW, you think that it is better to shift gdbserver into kernel-space than > port the existing one to the new API or write the new one in user space ? So far I just assumed kernel-space ugdb is the plan. As I wrote before I do not know gdbserver too much. If you check gdb/gdbserver/linux-low.c it is just one big ptrace/wait/\/proc interface. I would guess it could be more simple with the utrace API at hand. Catching up with systemtap's 200x higher software-watchpoint performance over current (local) gdb (described in "[debug-list] Utrace Discussion Notes" off this list) could be easier with in-kernel gdb I thought. Thanks, Jan