Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sourceware.org
Subject: Re: GDB support for Flash memory programming
Date: Thu, 25 May 2006 00:22:00 -0000	[thread overview]
Message-ID: <vt2odxnule9.fsf@theseus.home.> (raw)
In-Reply-To: <4473BEC6.7050308@netspace.net.au> (Russell Shaw's message of "Wed, 24 May 2006 12:02:46 +1000")


Russell Shaw <rjshaw@netspace.net.au> writes:
> Jim Blandy wrote:
>> One of the problems GDB has in the embedded development world is its
>> lack of support for loading programs into flash memory.  After some
>> conversation amongst ourselves to weed out patently stupid stuff (none
>> of the text below is mine... hey), we at CodeSourcery put together the
>> following proposal for general comments and criticism.  We'd like to
>> reach consensus on what the user interface should be
>> before we worry about implementation details --- possible remote
>> protocol changes, and so on --- so let's leave those topics aside for
>> the time being.
>> What do folks think?
>> ---
>> Background
>> Flash memory is a popular form of non-volatile memory...
>
> I've done all this stuff for the AVR by adding my own comms handling
> and memory-space/type handling code to gdb for communicating with a
> specific jtag ice.
>
> IMO, the generic stub thing should only be used for targets that
> receive the commands without any intermediate ICE/debugger hardware
> (these targets interpret gdb commands with their own software).
>
> IMO, every supported hardware device (jtag debuggers etc) should
> have their own directory in gdb. It is much easier to take advantage
> of specific debugger features, instead of relying on lowest common
> denominator features of the generic gdb stub shim thing. Shims add
> unnecessary delay and cludginess because of the extra layer of comms
> overhead.

Well, how the solution should be structured in the code is going to be
an interesting point of discussion.  But as I say to Steven, we'd like
to get feedback on the user interface first.  Would the interface as
proposed be useful in the work you're doing now?


  reply	other threads:[~2006-05-24 22:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24  1:44 Jim Blandy
2006-05-24  2:03 ` Steven Johnson
2006-05-24 22:07   ` Jim Blandy
2006-05-25  2:35     ` Steven Johnson
2006-05-24  4:43 ` Nathan J. Williams
2006-05-24 22:17   ` Jim Blandy
2006-05-24  8:03 ` Russell Shaw
2006-05-25  0:22   ` Jim Blandy [this message]
2006-05-25  3:05     ` Russell Shaw
2006-05-25  0:39   ` GDB and remote protocols Daniel Jacobowitz
2006-05-25  3:04     ` Russell Shaw
2006-05-25  0:52 ` GDB support for Flash memory programming Steven Johnson
2006-05-25  1:11   ` Peter Barada
2006-05-25  2:18   ` Jim Blandy
2006-05-25  3:29     ` Steven Johnson
2006-05-26 18:42       ` Jim Blandy
2006-05-27  0:02         ` Steven Johnson
2006-06-17 20:07 ` Mark Kettenis
2006-06-18  9:55   ` Jim Blandy

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=vt2odxnule9.fsf@theseus.home. \
    --to=jimb@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=rjshaw@netspace.net.au \
    /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