summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-01 11:24:51 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-01 11:24:51 -0500
commitd75c88defaa18c164a283525e260bf38c1763d7d (patch)
tree8336b1a4abd0e8163410b7db3e57ac760e341d60 /doc/SystemTap_Beginners_Guide
parent7471ea1f77971b814bc366a3e09d99aaddcfb0f7 (diff)
downloadsystemtap-steved-d75c88defaa18c164a283525e260bf38c1763d7d.tar.gz
systemtap-steved-d75c88defaa18c164a283525e260bf38c1763d7d.tar.xz
systemtap-steved-d75c88defaa18c164a283525e260bf38c1763d7d.zip
Minor editing of Errors chapter.
Diffstat (limited to 'doc/SystemTap_Beginners_Guide')
-rw-r--r--doc/SystemTap_Beginners_Guide/en-US/Errors.xml20
1 files 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 3f89ce0c..63f466b8 100644
--- a/doc/SystemTap_Beginners_Guide/en-US/Errors.xml
+++ b/doc/SystemTap_Beginners_Guide/en-US/Errors.xml
@@ -113,8 +113,8 @@
<para>
It results in the following error message showing that the parser was
- expecting something other than the <command>probe</command> in column 1 of
- line 2:
+ expecting something other than the <command>probe</command> keyword in
+ column 1 of line 2:
</para>
<para>
<programlisting>
@@ -290,8 +290,8 @@ probe syscall.open
</indexterm>
<para>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 <command>printf</command> statement while no other
- function in the script can assign a value to it.</para>
+ variable in a <command>printf</command> statement while
+ the script never assigns a value to the variable.</para>
</formalpara>
<formalpara>
@@ -374,7 +374,7 @@ probe syscall.open
</formalpara>
<formalpara>
- <title>semantic error: array locals not supported:</title>
+ <title>semantic error: array locals not supported, missing global declaration?</title>
<!-- next 2 indexterms for non-global arrays -->
<indexterm>
@@ -411,7 +411,7 @@ probe syscall.open
</formalpara>
<formalpara>
- <title>semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’</title>
+ <title>semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’ iteration</title>
<!-- next 2 indexterms for variable modified during 'foreach' -->
<indexterm>
@@ -550,7 +550,11 @@ probe syscall.open
<secondary>parse/semantics error</secondary>
<tertiary>understanding SystemTap errors</tertiary>
</indexterm>
- <para>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. </para>
+ <para>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.</para>
</formalpara>
<formalpara>
@@ -748,7 +752,7 @@ An array containing aggregate values contains too many distinct key pairs at thi
<formalpara><title>MAXACTION exceeded</title>
<para>
- The probe handler attempted to execute too many statements.
+ The probe handler attempted to execute too many statements in the probe handler.
</para>
</formalpara>