Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Chris Johns <chris@contemporary.net.au>
To: "Edward L. Hepler" <hepler@vlsi-concepts.com>
Cc: Bart Veer <bartv@ecoscentric.com>, gdb@sourceware.org
Subject: Re: proposed extension for jtag debugging
Date: Fri, 18 Jul 2008 01:55:00 -0000	[thread overview]
Message-ID: <487FF808.5010505@contemporary.net.au> (raw)
In-Reply-To: <Pine.GSO.4.62.0807172027360.28354@manx.misty.com>

Edward L. Hepler wrote:
> 
> I'd very much like to hear about this as it sounds similar to what I
> have done.   I added a target to the "mips" code to directly control
> a JTAG cable connected to a PC parallel port.   It did not use
> gdbserver.   As an aside, I also use GDB to control a "C" based
> emulator and a VHDL based simulator.
> 
> Since then, I have been looking into using gdbserver so I won't have
> to apply patches to GDB...  I'm also hoping that since gdbserver is
> a separate process, some of the control issues that arise when trying
> to control a separate VHDL simulator may be more easy handled...
> 

The move to the remote protocol and a gdbserver has all been positive and 
worth the effort. For us the key feature added to gdb that enabled a smooth 
transition has been the ability to define registers overs the remote protocol. 
As new processors are added we can add support without the need to rebuild gdb.

Our gdbserver code is in CVS in a directory m68k/gdbserver. The project link 
was posted earlier but here it is again:

  http://bdm.sourceforge.net/

The gdbserver code was taken from a recent gdb and has a number of changes to 
suite an embedded target rather than a host OS like Linux. They are:

  1. Builds for Unix and Windows (MinGW).
  2. Supports the GDB remote pipe mode.
  3. Ability to control the XML register definition based on the
     detected processor.
  4. Register cache changes to support hardware mapped register. The
     register cache only updated the hardware when a go, step etc
     was issues and this causes problems when initialising hardware.
     The cache has been extended to allow a back end to define which
     registers need to be passed directly to hardware.

I am sure there are other things I have forgotten.

I plan to get paper work in place and to send patches but time has been limited.

Regards
Chris


      reply	other threads:[~2008-07-18  1:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07 21:17 Bart Veer
2008-07-17 21:57 ` Daniel Jacobowitz
2008-07-17 23:35   ` Chris Johns
2008-07-18  0:40     ` Edward L. Hepler
2008-07-18  1:55       ` Chris Johns [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=487FF808.5010505@contemporary.net.au \
    --to=chris@contemporary.net.au \
    --cc=bartv@ecoscentric.com \
    --cc=gdb@sourceware.org \
    --cc=hepler@vlsi-concepts.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