From 5779c099854ef6a635613c0dc9c7ea1cff6288dc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 1 Feb 2006 20:58:50 +0000 Subject: [PATCH] Attempting to pass command-line arguments before they've been implemented will fail. Thanks to Josh Wiseman for pointing this out. --- doc/userprog.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/userprog.texi b/doc/userprog.texi index 7512384..880fe46 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -468,6 +468,11 @@ in @func{setup_stack}. That will work for any test program that doesn't examine its arguments, although its name will be printed as @code{(null)}. +Until you implement argument passing, you should only run programs +without passing command-line arguments. Attempting to pass arguments to +a program will include those arguments in the name of the program, which +will probably fail. + @item User memory access (@pxref{Accessing User Memory}). All system calls need to read user memory. Few system calls need to write to user -- 2.30.2