Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [RFC] upload/download command
@ 2003-11-17 15:18 Kris Warkentin
  2003-11-17 15:26 ` Daniel Jacobowitz
  2003-11-17 15:42 ` Andrew Cagney
  0 siblings, 2 replies; 10+ messages in thread
From: Kris Warkentin @ 2003-11-17 15:18 UTC (permalink / raw)
  To: Gdb@Sources.Redhat.Com

Our QNX pdebug protocol supports an upload/download command.  This is handy
for putting binaries onto target system and getting back things like
corefiles.  Andrew had wanted me to start a discussion on the subject.

I would like to keep these things in our protocol but it might be useful to
generalize the interface out to core gdb.  What I'm thinking is that I
create a general upload/download command that uses a hook into the target's
code for any special functionality.  We could have a general one for native
targets which would basically be 'copy' (probably not all that useful but
there for completeness) and just print 'not implemented' for targets which
don't define the hooks.

Any ideas, comments, suggestions, etc.?

cheers,

Kris



^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [RFC] upload/download command
@ 2003-11-17 16:22 Ken Dyck
  2003-11-17 18:01 ` Kris Warkentin
  0 siblings, 1 reply; 10+ messages in thread
From: Ken Dyck @ 2003-11-17 16:22 UTC (permalink / raw)
  To: kewarken, gdb

>Our QNX pdebug protocol supports an upload/download command.  
>This is handy
>for putting binaries onto target system and getting back things like
>corefiles.

Out of curiosity, which way is up? In some circles, particularly in DSP
development, which I am most familiar with (I'm not sure if it extends
to the rest of the embedded community), the term 'download' usually
refers to pushing data down onto the target from the host machine. In
the internet world, on the other hand, the term is used to mean pulling
some data down from a remote machine onto a local host. In what sense is
the pdebug protocol using the terms?

Ken


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-18 15:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17 15:18 [RFC] upload/download command Kris Warkentin
2003-11-17 15:26 ` Daniel Jacobowitz
2003-11-17 15:34   ` Kris Warkentin
2003-11-17 15:39     ` Daniel Jacobowitz
2003-11-17 15:51     ` Andrew Cagney
2003-11-17 15:42 ` Andrew Cagney
2003-11-17 16:22 Ken Dyck
2003-11-17 18:01 ` Kris Warkentin
2003-11-18  3:08   ` Andrew Cagney
2003-11-18 15:03     ` Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox