From d75c88defaa18c164a283525e260bf38c1763d7d Mon Sep 17 00:00:00 2001 From: William Cohen Date: Mon, 1 Dec 2008 11:24:51 -0500 Subject: [PATCH] Minor editing of Errors chapter. --- .../en-US/Errors.xml | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/SystemTap_Beginners_Guide/en-US/Errors.xml b/doc/SystemTap_Beginners_Guide/en-US/Errors.xml index 3f89ce0c6..63f466b8e 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Errors.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Errors.xml @@ -113,8 +113,8 @@ It results in the following error message showing that the parser was - expecting something other than the probe in column 1 of - line 2: + expecting something other than the probe keyword in + column 1 of line 2: @@ -290,8 +290,8 @@ probe syscall.open The identifier (e.g. a variable) was used, but no type (integer or string) could be determined. This occurs, for instance, if you use a - variable in a printf statement while no other - function in the script can assign a value to it. + variable in a printf statement while + the script never assigns a value to the variable. @@ -374,7 +374,7 @@ probe syscall.open - semantic error: array locals not supported: + semantic error: array locals not supported, missing global declaration? @@ -411,7 +411,7 @@ probe syscall.open - semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’ + semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’ iteration @@ -550,7 +550,11 @@ probe syscall.open parse/semantics error understanding SystemTap errors - A handler in the script references a target variable, but the value of the variable could not be resolved. This error could also mean that a handler is referencing a target variable that is not valid at all in the context when it was referenced. + A handler in the script references a target variable, but the + value of the variable could not be resolved. This error could also mean + that a handler is referencing a target variable that is not valid + in the context when it was referenced. This may be a result of compiler + optimization of the generated code. @@ -748,7 +752,7 @@ An array containing aggregate values contains too many distinct key pairs at thi MAXACTION exceeded - The probe handler attempted to execute too many statements. + The probe handler attempted to execute too many statements in the probe handler. -- 2.43.5