This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
AW: insight-5.3
- From: "Dorwig, Martin" <dorwig at tetronik dot com>
- To: 'Keith Seitz' <keiths at redhat dot com>
- Cc: "Insight mailing list (E-Mail)" <insight at sources dot redhat dot com>
- Date: Thu, 10 Jul 2003 09:54:41 +0200
- Subject: AW: insight-5.3
-----Ursprüngliche Nachricht-----
Von: Keith Seitz [mailto:keiths@redhat.com]
Gesendet: Mittwoch, 9. Juli 2003 18:09
An: Dorwig, Martin
Cc: Insight "mailing list (E-Mail)
Betreff: Re: insight-5.3
On Wed, 2003-07-09 at 02:48, Dorwig, Martin wrote:
> Hello,
> i have build insight-5.3 on cygwin and added a bdm (M68332) target.
> it works with gdb,
> but with insight the items in the run-control-menu like step ... and the
> buttons are disabled.
This is usually an indication that you forgot to set inferior_ptid to
something non-zero.
Yes, you are right.
I startet with the patch "gdb-5.0-bdm-patches-pi2" i found on the web.
the type for PID's has changed from 'int' to 'ptid_t'
the original bdm_wait-function returnd 0 so i returned a zero ptid.
Another thing is, i would like to adapt the targetselection dialogbox to
display a portlist-Combo
which is filled with the names of all the parallel-ports
'lpt1','lpt2','lpt3' so the user can select a port.
i hacked the targetselection.itb and added
set gdb_target(bdm,pretty-name) "bdm"
set gdb_target(bdm,defbaud) ""
set gdb_target(bdm,baud-rates) {}
set gdb_target(bdm,cmd) "bdm lpt1"
set gdb_target(bdm,runlist) {1 1 1 0}
set gdb_target(bdm,options) ""
set gdb_target(bdm,after_attaching) {}
but that limits me to lpt1
can sone help ?
Thank's
Martin