From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23516 invoked by alias); 5 May 2010 00:17:49 -0000 Received: (qmail 23503 invoked by uid 22791); 5 May 2010 00:17:48 -0000 X-SWARE-Spam-Status: No, hits=-5.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 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 May 2010 00:17:42 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o450HNlm025147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 May 2010 20:17:23 -0400 Received: from fche.csb (vpn-240-72.phx2.redhat.com [10.3.240.72]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o450HM1g022056; Tue, 4 May 2010 20:17:22 -0400 Received: by fche.csb (Postfix, from userid 2569) id CF70E5812D; Tue, 4 May 2010 20:17:21 -0400 (EDT) To: Stan Shebs Cc: gdb@sourceware.org Subject: Re: [RFC] Global breakpoints References: <4BE0A112.8080503@codesourcery.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 05 May 2010 00:17:00 -0000 In-Reply-To: <4BE0A112.8080503@codesourcery.com> (Stan Shebs's message of "Tue, 04 May 2010 15:34:58 -0700") 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 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00022.txt.bz2 Stan Shebs writes: > [...] Implementation in Linux is going to be kind of freaky. It's > not desirable to have GDB attach to every process in sight > preemptively, nor to have GDBserver do it, which means that we're > talking about something like a mini GDB stub embedded in a kernel > module. [...] You could check out our gdbstub-in-kernel prototype. It has the benefit that it is not a 'mini' stub but in time a full gdbserver substitute. It has the unbenefit that it is built on utrace, which is a source of controversy. OTOH, gdb embracing it could just blow out the flames, which would be oh so nice. http://lkml.org/lkml/2009/11/30/173 git://elastic.org/~fche/utrace-ext.git branch utrace-gdbstub-uprobes - FChE