public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: "Robert S. Grimes" <rsg@ll.mit.edu>
Cc: insight@sourceware.org
Subject: Re: Adding new target type
Date: Wed, 05 Sep 2007 20:44:00 -0000	[thread overview]
Message-ID: <46DF1505.4070107@redhat.com> (raw)
In-Reply-To: <46DF127A.4050905@ll.mit.edu>

Robert S. Grimes wrote:
> <snip>
>   # Remote
> <snip>
>   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

  reply	other threads:[~2007-09-05 20:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 19:32 Robert S. Grimes
2007-09-05 19:39 ` Keith Seitz
2007-09-05 20:33   ` Robert S. Grimes
2007-09-05 20:44     ` Keith Seitz [this message]
2007-09-05 20:56       ` Robert S. Grimes
2007-09-05 21:07         ` Keith Seitz
2007-09-05 21:46           ` Robert S. Grimes
2007-09-05 22:15             ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DF1505.4070107@redhat.com \
    --to=keiths@redhat.com \
    --cc=insight@sourceware.org \
    --cc=rsg@ll.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).