From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29025 invoked by alias); 5 Sep 2007 20:44:07 -0000 Received: (qmail 29017 invoked by uid 22791); 5 Sep 2007 20:44:07 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Sep 2007 20:44:03 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l85KhqMc015366; Wed, 5 Sep 2007 16:43:52 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l85KhqfQ018840; Wed, 5 Sep 2007 16:43:52 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l85KhoKS026936; Wed, 5 Sep 2007 16:43:51 -0400 Message-ID: <46DF1505.4070107@redhat.com> Date: Wed, 05 Sep 2007 20:44:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: "Robert S. Grimes" CC: insight@sourceware.org Subject: Re: Adding new target type References: <46DF045C.2080806@ll.mit.edu> <46DF05C6.7060409@redhat.com> <46DF127A.4050905@ll.mit.edu> In-Reply-To: <46DF127A.4050905@ll.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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/msg00049.txt.bz2 Robert S. Grimes wrote: > > # 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) {} That looks correct. > 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. Hmm... Odd... [BTW, it's tcl: just reinstall or copy the changed targetselection.itb to the install directory.] The only thing I can think of off the top of my head (other than an installation error) is TargetSelection::valid_target, which will attempt to do the cli command "help target rtems-remote". Does this return something valid for your target? If it errors, your target will not show up in the dialog. Keith