public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Adding support for VxWorks target
Date: Sun, 25 Apr 2010 15:47:00 -0000	[thread overview]
Message-ID: <1272210447-13895-1-git-send-email-brobecker@adacore.com> (raw)

Hello,

The following series of patches adds support for cross debugging
VxWorks targets (version 5.x, 6.x and limited support for VxWorks 653).
It's a lot of code overall, and many patches, but it is almost
completely contained in dedicated files, and we've split the changes
in modules/patches, hoping to make it easier for anyone wanting to
look at them.

With VxWorks systems, we communicate with the target by establishing
a connection with the "target server".  The target server is a server
running on a host which acts as a multiplexer.  The protocol used
between the target server and the target itself is undocumented, and
extremely version/system dependent. The protocol used to talk to the
target server is not documented per se, but WindRiver provides an API
that allows us to do the communication.

What we do, in this port, is use the API to send the various request.
The one problem with the API is that it is not all that stable across
versions - compatibility of the API between WTX versions (we support
versions 2, 3 and 4) is not guaranteed.  As a result, we created a thin
abstraction on top of the WTX API that Wind River provides which allowed
us to have that consistent API, making the real code a *LOT* simpler.

As you will see if you read the description of some of the patches,
there are a couple of things that we implemented one way which is
definitly on the quick-and-dirty how-else-could-I-do-it-without-
making-changes-everywhere side.  I've pulled these changes out for now,
and we intend to discuss those issues separately in order to find
the proper way to fix them.  The only side-effect of pulling these
changes out, as it turns out, is that we are losing support for
partitions in VxWorks 653 systems.

Lastly, these patches were tested on VxWorks 5.x and VxWorks 6.x
using AdaCore's testsuite. We were actually quite surprised at
the almost clean results we got! :)

Documentation will of course follow if the patches make it in the FSF
tree...

             reply	other threads:[~2010-04-25 15:47 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 15:47 Joel Brobecker [this message]
2010-04-25 15:47 ` [vxworks 01/14] Some ada-lang/ada-tasks routines needed by the " Joel Brobecker
2010-04-25 15:48 ` [vxworks 10/14] Add new "wtx" target Joel Brobecker
2010-04-25 15:48 ` [vxworks 14/14] Configury and Makefile updates for VxWorks Joel Brobecker
2010-04-25 15:48 ` [vxworks 02/14] New command_post observer Joel Brobecker
2010-04-26 18:51   ` Tom Tromey
2010-04-27 14:22     ` Joel Brobecker
2010-04-27 17:16       ` Tom Tromey
2010-04-25 15:48 ` [vxworks 03/14] New module remote-wtx-utils Joel Brobecker
2010-04-26 18:55   ` Tom Tromey
2010-04-27 16:27     ` Joel Brobecker
2010-04-25 15:48 ` [vxworks 08/14] Partition support Joel Brobecker
2010-04-25 15:48 ` [vxworks 11/14] WTX-TCL support module Joel Brobecker
2010-04-25 15:48 ` [vxworks 13/14] Add tdep files for x86 and powerpc Joel Brobecker
2010-04-25 20:45   ` Mark Kettenis
2010-04-26 16:41     ` Joel Brobecker
2010-04-25 15:48 ` [vxworks 09/14] remote-wtx-hw / register fetch/store support Joel Brobecker
2010-04-25 15:56 ` [vxworks 05/14] Add options to control Vxworks related settings Joel Brobecker
2010-05-04 15:25   ` Joel Brobecker
2010-04-25 15:56 ` [vxworks 06/14] VxWorks breakpoint-handling module Joel Brobecker
2010-04-25 15:56 ` [vxworks 07/14] "multi-tasks-mode" support Joel Brobecker
2010-04-25 15:56 ` [vxworks 12/14] Add support for VxWorks 6 Joel Brobecker
2010-04-25 16:01 ` [vxworks 04/14] remote-wtxapi: The WTX API abstraction layer Joel Brobecker
2010-05-04 14:58 ` Adding support for VxWorks target Joel Brobecker
2010-05-04 15:43   ` Stan Shebs
2010-05-04 18:30     ` one big unit or several smaller units? (was: "Re: Adding support for VxWorks target") Joel Brobecker
2010-11-25  0:53 ` Adding support for VxWorks target Joel Brobecker

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=1272210447-13895-1-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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).