From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12140 invoked by alias); 27 Oct 2009 02:40:33 -0000 Received: (qmail 12128 invoked by uid 22791); 27 Oct 2009 02:40:32 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from etinternational-gw.customer.alter.net (HELO etinternational.com) (63.125.108.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Oct 2009 02:40:21 +0000 Received: by etinternational.com (Postfix, from userid 5001) id D95DCF001C; Mon, 26 Oct 2009 22:40:19 -0400 (EDT) Received: from pixie (pixie.xmen.eti [192.168.9.76]) by etinternational.com (Postfix) with ESMTP id 90C59138033 for ; Mon, 26 Oct 2009 22:40:19 -0400 (EDT) Received: by pixie (Postfix, from userid 10026) id 4C4B1A42A2; Mon, 26 Oct 2009 22:39:53 -0400 (EDT) Date: Tue, 27 Oct 2009 07:17:00 -0000 From: "Joshua D. Boyd" To: gdb@sourceware.org Subject: Re: Extended a new target from target remote Message-ID: <20091027023953.GA11541@pixie> References: <20091026234202.GK1461@pixie> <20091026234505.GA6521@caradoc.them.org> <20091027001148.GL1461@pixie> <20091027022155.GA20914@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091027022155.GA20914@caradoc.them.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes 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: 2009-10/txt/msg00384.txt.bz2 On Mon, Oct 26, 2009 at 10:21:55PM -0400, Daniel Jacobowitz wrote: > On Mon, Oct 26, 2009 at 08:11:48PM -0400, Joshua D. Boyd wrote: > > What version of GDB was that added in? I should have mentioned that I > > picked up hacking on the internal GDB 6.1, which I realize is extremely > > old and I should have mentioned that up front, and is a little > > embarassing. > > That version probably *has* extended-remote, but don't use it. If you > are interested in anything remotely current, update to GDB 7.0 just > released. It does have extended-remote, but I will refrain from using it. I tried briefly to move this work up to GDB 7.0, but I got trying to move the bfd changes forward and had to put the upgrade to the side for now. GDB 7.0 certainly looks great though. This is the first time I've ran around installing a new version of GDB from source on every linux machine I use. > So you are making changes to GDB, just not to the remote target? I'm not certain if you mean a remote target in terms of something new compared to "target remote" or "target core", or if you mean a remote target as in what is being debugged on the cluster. I have added a new target (-tdep.[ch] + configuration/build changes), a few new commands, a GDB server in the middle to hide from the GDB client the fact that multiple connections are involved and as well as protocol differences (this does not use TCP), and a GDB "server" embedded in the compute kernel (the system uses a lightweight compute kernel instead of linux.). I am new to working on GDB as anything other than a user and am trying to come up to speed quickly on the parts it looks like I need to complete a first implementation.