This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: gloss patch for argc/argv retrieval
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: bje at redhat dot com (Ben Elliston)
- Cc: sid at sources dot redhat dot com
- Date: 25 Jan 2002 18:14:54 -0500
- Subject: Re: gloss patch for argc/argv retrieval
- References: <20020125113743.C23105@redhat.com><15441.55603.150572.158514.cygnus.project.sid@scooby.brisbane.redhat.com>
bje wrote:
> FChE> I suspect a single system call, like ARM ANGEL's "get entire command
> FChE> line as a string" would be sufficient. [...]
>
> For some targets like the SH, it is not sufficient. If you inspect
> the newlib source, you'll see SYS_argn, SYS_argnlen, etc. [...]
Sure .. but has this code ever been *run*? Does it matter enough to
make this basic facility more complex? The initial input is a single
plain string. If some targets are willing to undertake parsing it
(arm, analogously linux) into argc/argv in target code, we can let the
others do that too.
- FChE