Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb@sources.redhat.com
Subject: Re: [RFC] File-I/O, target access to host file system via gdb , remote protocol enhancement
Date: Tue, 12 Nov 2002 00:40:00 -0000	[thread overview]
Message-ID: <20021112093959.B10395@cygbert.vinschen.de> (raw)
In-Reply-To: <Pine.SUN.3.91.1021112075810.15374E@is>

On Tue, Nov 12, 2002 at 08:01:13AM +0200, Eli Zaretskii wrote:
> On Mon, 11 Nov 2002, Corinna Vinschen wrote:
> > this RFC tries to introduce a remote protocol enhancement, which
> > already has been implemented at Red Hat.  The idea is to allow
> > the remote target (which likely has no own file system at all)
> > to access the host file system to store and retrieve data from
> > a gdb session, as if the hosts filesystem is local to the target.
> 
> I think you will eventually want `dup' and `dup2' primitives in addition 
> to what you described.

Sure.  As I wrote, it's easy to add more system calls at some
later point.  The proposal introduces what is already implemented.

> I'm also wondering why do you need `stat' in addition to `fstat'.

These are the calls which seem to server best to implement first
applications.  I think it's hard to find a collection of "best" 
calls from the beginning.

> Other than that, sounds like a very good idea to me.

Thanks!

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


  reply	other threads:[~2002-11-12  8:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-11  4:14 [RFC] File-I/O, target access to host file system via gdb " Corinna Vinschen
2002-11-11 22:01 ` [RFC] File-I/O, target access to host file system via gdb , " Eli Zaretskii
2002-11-12  0:40   ` Corinna Vinschen [this message]
2002-11-12 13:24 ` [RFC] File-I/O, target access to host file system via gdb " Daniel Jacobowitz
     [not found]   ` <20021113143522.T10395@cygbert.vinschen.de>
2002-11-13  6:30     ` Daniel Jacobowitz
2002-11-13  6:52       ` Corinna Vinschen
2002-11-13  7:08         ` Daniel Jacobowitz
2002-11-13  7:44           ` Corinna Vinschen
2003-02-26 21:19   ` Andrew Cagney

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=20021112093959.B10395@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb@sources.redhat.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