This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gloss patch for argc/argv retrieval



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]