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 21:07:00 -0000 [thread overview]
Message-ID: <46DF1A96.3010603@redhat.com> (raw)
In-Reply-To: <46DF17B6.9020907@ll.mit.edu>
Robert S. Grimes wrote:
> And of course, this works:
>
> (gdb) target rtems-remote 192.168.1.55:2159
>
> at least with gdb only.
Fooey.
> Any other ideas?
Ah, I think I know what it could be... You wrote:
# 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) {}
This isn't going to work. Take a look at TargetSelection::fill_targets
and TargetSelection::get_target_list. If you type "help target", you
should get your target in the output. I'm guessing a line that looks
like "target rtems-remote -- BLAH BLAH". The "rtems-remote" is the
actual name of the target, and the one you need to use as the lead index
in the target database instead of "rtemsremotetcp". The dummy "tcp"
targets are for targets which have multiple connection possibilities.
See if that fixes anything. [It might help to put a "dbug" statement in
TargetSelection::fill_targets so that you tell what it is doing.]
Keith
next prev parent reply other threads:[~2007-09-05 21:07 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
2007-09-05 20:56 ` Robert S. Grimes
2007-09-05 21:07 ` Keith Seitz [this message]
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=46DF1A96.3010603@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).