From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16262 invoked by alias); 7 Sep 2010 02:59:53 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 16250 invoked by uid 22791); 7 Sep 2010 02:59:52 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: Oleg Nesterov Cc: Jan Kratochvil , utrace-devel@redhat.com, archer@sourceware.org Subject: Re: gdbstub initial code, v8 References: <20100903224047.GA8917@redhat.com> <20100905194101.GA31584@host1.dyn.jankratochvil.net> <20100906181808.GA22839@redhat.com> <20100906183142.GA3256@host1.dyn.jankratochvil.net> <20100906204446.GA29925@redhat.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 07 Sep 2010 02:59:00 -0000 In-Reply-To: <20100906204446.GA29925@redhat.com> (Oleg Nesterov's message of "Mon, 6 Sep 2010 22:44:46 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q3/txt/msg00155.txt.bz2 Oleg Nesterov writes: > [...] >> Therefore until you track some ugdb-specific software(*) >> breakpoints ugdb does not need to support Z0 IMO. I guess ugdb >> will never have to support these: thread-related(?) and tracepoint >> ones. > Good! I thought ugdb should somehow handle this all "transparently" > for gdb. I thought (I don't know why) that writing "int 3" from gdb > side should be avoided in favour of some "better" method unknown to me. Please note that last year's gdbstub prototype used kernel uprobes as an optional gdb breakpoint implementation (i.e., a backend for the Z packets). When/if the lkml uprobes patches actually get merged, ugdb should also use them. - FChE