From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25176 invoked by alias); 5 Sep 2007 20:33:29 -0000 Received: (qmail 25138 invoked by uid 22791); 5 Sep 2007 20:33:25 -0000 X-Spam-Check-By: sourceware.org Received: from LLMAIL1.LL.MIT.EDU (HELO ll.mit.edu) (129.55.12.41) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Sep 2007 20:33:18 +0000 Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id l85KX5o0006056; Wed, 5 Sep 2007 16:33:05 -0400 (EDT) Received: from raisin.llan.ll.mit.edu( ), claiming to be "[155.34.70.97]" via SMTP by llpost, id smtpdAAA16aiKl; Wed Sep 5 16:32:54 2007 Message-ID: <46DF127A.4050905@ll.mit.edu> Date: Wed, 05 Sep 2007 20:33:00 -0000 From: "Robert S. Grimes" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Keith Seitz CC: insight@sourceware.org Subject: Re: Adding new target type References: <46DF045C.2080806@ll.mit.edu> <46DF05C6.7060409@redhat.com> In-Reply-To: <46DF05C6.7060409@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00048.txt.bz2 Keith Seitz wrote: > Robert S. Grimes wrote: >> target rtems-remote 192.168.1.55:2159 >> > > This should be pretty easy. You're essentially trying to do just what > gdb's built-in Remote/TCP target does. Take a look at this target in > the target database in gdb/gdbtk/library/targetselection.itb. > Hi Keith, Right, should be - that's what I was hoping for! I looked at the file you referenced, and made these changes # Remote set gdb_target(remotetcp,pretty-name) "Remote/TCP" set gdb_target(remotetcp,defbaud) "TCP" set gdb_target(remotetcp,baud-rates) {} set gdb_target(remotetcp,cmd) "remote tcpX" set gdb_target(remotetcp,runlist) {1 1 0 1} set gdb_target(remotetcp,after_attaching) {} # RTEMS Remote - NEW! set gdb_target(rtemsremotetcp,pretty-name) "RTEMS Remote/TCP" set gdb_target(rtemsremotetcp,defbaud) "TCP" set gdb_target(rtemsremotetcp,baud-rates) {} set gdb_target(rtemsremotetcp,cmd) "rtems-remote tcpX" set gdb_target(rtemsremotetcp,runlist) {1 1 0 1} set gdb_target(rtemsremotetcp,after_attaching) {} Then I rebuilt and installed ("make && make install"). Didn't seem to make any difference, so I did a "make clean" in the gdb/gdbtk directory, and tried again. Make worked a bit harder, but the results are the same - no new target. Looking in the file you mentioned, there are a whole lot of targets! Many more than I have ever seen. So, I must be missing the magic step where I specify which targets to include in the build, right? How is that done? Thanks! -Bob > Keith > >