From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22489 invoked by alias); 10 Jan 2011 13:39:21 -0000 Received: (qmail 22444 invoked by uid 22791); 10 Jan 2011 13:39:20 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_40,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; Mon, 10 Jan 2011 13:39:16 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0ADd6po000520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Jan 2011 08:39:06 -0500 Received: from fche.csb (vpn-8-67.rdu.redhat.com [10.11.8.67]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0ADd54g021047; Mon, 10 Jan 2011 08:39:05 -0500 Received: by fche.csb (Postfix, from userid 2569) id DF24E58153; Mon, 10 Jan 2011 08:39:04 -0500 (EST) To: Doug Evans Cc: Yao Qi , "gdb-patches@sourceware.org" Subject: Re: duplicated code in gdb and gdbserver References: <4D272FF6.3070402@codesourcery.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 10 Jan 2011 13:39:00 -0000 In-Reply-To: (Doug Evans's message of "Fri, 7 Jan 2011 08:37:04 -0800") 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-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00185.txt.bz2 Doug Evans writes: > [...] > What I'd like to see (repeated here for the list's sake, with > apologies to the irc crowd :-)), is a publicly usable library (or > collection of libraries) used by gdb and gdbserver. [I'd like to see > more of the gnu tools made available as libraries, btw.] A differently aimed step toward this could be to remove duplication between gdb native and gdbserver by gradually *deprecating gdb native support*. A library API for the remote protocol would be a natural non-symbolic/process-control programming interface. - FChE