* doc/inlining_stacktrace.txt: Added warning about signedness.
authoredwin <none@none>
Sun, 5 Feb 2006 17:36:59 +0000 (17:36 +0000)
committeredwin <none@none>
Sun, 5 Feb 2006 17:36:59 +0000 (17:36 +0000)
Fixed copy&paste errors.

doc/inlining_stacktrace.txt

index 234e8eaddaa0882f42cd1abec5d8e46ca1f1f0eb..7b3de7a45cab8b3ddbd446facf3abcee80129c7a 100644 (file)
@@ -28,7 +28,7 @@ X, the table looks like this:
     +----------+----------------------+
     | ln 1     | start PC of line 1   |
     +----------+----------------------+
-    | ln 2     | start PC of line 1   |
+    | ln 2     | start PC of line 2   |
     +----------+----------------------+
                      ...
     +----------+----------------------+
@@ -36,7 +36,7 @@ X, the table looks like this:
     +----------+----------------------+
     | ln 1'    | start PC of line 1'  |  \
     +----------+----------------------+  |
-    | ln 2'    | start PC of line 1'  |  |
+    | ln 2'    | start PC of line 2'  |  |
     +----------+----------------------+  |--- these refer to lines within the body of
                      ...                    |    the inlined callee
     +----------+----------------------+  |
@@ -53,6 +53,10 @@ X, the table looks like this:
     | ln N     | start PC of line N   |
     +----------+----------------------+
 
+CAUTION: line numbers are stored as unsigned ptrint! You need
+         to cast them (to s4) in order to test <0, etc.
+         (The ptrint values are created by casting a s4 to ptrint.)
+
 
 # vim: et sw=4 sts=4 ts=4