From: Joel Brobecker <brobecker@adacore.com>
To: kus Kusche Klaus <kus@keba.com>
Cc: gdb@sourceware.org
Subject: Re: GDB for VxWorks?
Date: Thu, 01 Mar 2007 23:30:00 -0000 [thread overview]
Message-ID: <20070301233016.GB5147@adacore.com> (raw)
In-Reply-To: <AAD6DA242BC63C488511C611BD51F367014575BA@MAILIT.keba.co.at>
> In the GDB mailing list archives, I've found two postings from you
> regarding GDB for Vxworks.
>
> I've several questions concerning that:
> * Will this be committed to GDB mainstream? Any time soon?
The answer unfortunately is no. It is true that we do have a version
of GDB that works with Tornado 2.x and 653, but it is simply nowhere
near submitable. I am not going to enumerate all the reasons for this,
but although I'm still planning on submitting all the other ports we
made (native win32 and ia64-hpux), this one is not in our plans at all.
> * Is the patch kept current w.r.t. the latest GDB release? How much work
> would be necessary to port it to GDB 6.6?
Way too much work. It would most probably be less work to do the port
again from scratch. It's a bit of work, but I don't think it's all
that difficult. The port itself uses ELF and DWARF, so a lot of standard
pieces can be reused. Support for the various chips you mentions is
also already there. So all you really need to do is implement support
for WTX. From our experience, the only tricky parts are:
. Implement the main event loop
. Get some of the information we need, such as the list of task
(aka "threads"). You'll need to poke directly in the memory
for that using gopher, at least with 653. There is not support
for that that's provided by the system. Check "gdb.tcl" in
the tornado install files, this gives a bit of insight on that.
> * Does this work with VxWorks 5, VxWorks 6, or both?
VxWorks 5 and 653.
> * What target hardware platforms does it support (we use Pentium, PPC
> and XScale)?
We only support x86 and ppc. The patch we inherited supported many
platforms, such as hppa, or m68k, but we are not testing on these,
so I don't know. I don't think xscale is supported, however.
> * How can I download it (our firewall does not allow CVS access, only
> http and ftp)?
At the present moment, we do not provide public access to this patch.
I don't think it would be much use to you either. I recommend instead
that you contact WindRiver directly; they should be able to provide you
the debugger and their sources - they were the original implementors of
that port.
--
Joel
prev parent reply other threads:[~2007-03-01 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 23:14 kus Kusche Klaus
2007-03-01 23:30 ` Joel Brobecker [this message]
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=20070301233016.GB5147@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=kus@keba.com \
/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