This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding new target type


Keith Seitz 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) {}
>
> That looks correct.

Thanks for the confirmation.
>
> Hmm... Odd... [BTW, it's tcl: just reinstall or copy the changed
> targetselection.itb to the install directory.]

Oh!
>
> 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.
Yes, here is what I get from the console window:

  (gdb) help target rtems-remote
  rtems target; specify link: <serial_dev> | <host>:<port>

I also tried this, just in case:

  (gdb) help target rtems-remote tcpX
  rtems target; specify link: <serial_dev> | <host>:<port>

And of course, this works:

  (gdb) target rtems-remote 192.168.1.55:2159

at least with gdb only.

Any other ideas?

Thanks!
-Bob
>
> Keith
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]