URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-old/gdb-6.8/gdb/doc/images
- from Rev 157 to Rev 816
- ↔ Reverse comparison
Rev 157 → Rev 816
/stack-frame.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
stack-frame.png
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Index: stack-frame.pdf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: stack-frame.pdf
===================================================================
--- stack-frame.pdf (nonexistent)
+++ stack-frame.pdf (revision 816)
stack-frame.pdf
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: stack-frame.svg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = image/svg
Index: stack-frame.svg
===================================================================
--- stack-frame.svg (nonexistent)
+++ stack-frame.svg (revision 816)
stack-frame.svg
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+image/svg
\ No newline at end of property
Index: stack-frame.txt
===================================================================
--- stack-frame.txt (nonexistent)
+++ stack-frame.txt (revision 816)
@@ -0,0 +1,39 @@
+ ^ ->| |
+Frame | | | |
+Number - | | |============| int fact (int n)
+ | | | | i = 3 | {
+ | | | |------------| if (0 == n) {
+ | | | | f = ? | return 1; <-------- PC
+ #4 main() < | | |------------| }
+ | | | | | else {
+ | | -+->|------------| ---> return n * fact (n - 1);
+ | -+-+--+-----o | | }
+ = | | |============| | }
+ | | | | n = 3 | |
+ | | | |------------| | main ()
+ #3 fact (3) < | | | o---------+- {
+ | -+-+->|------------| | | int i;
+ | | | --+-----o | | |
+ = | | |============| | | for (i = 0; i < 10; i++) {
+ | | | | n = 2 | | -> int f = fact (i);
+ | | | |------------| | printf ("%d! = %d\n", i , f);
+ #2 fact (2) < | | | o------+--| }
+ | | | ->|------------| | }
+ | | -+--+-----o | |
+ = | | |============| |
+ | | | | n = 1 | |
+ | | | |------------| |
+ #1 fact (1) < | | | o------+--|
+ | | | |------------| |
+ | ---|--+-----o |<-+------- FP
+ = | |============| | |
+ | | | n = 0 | | |
+ | | |------------| | |
+ #0 fact (0) < | | o--------- |
+ | | |------------| |
+ | --+-----o |<--------- SP |
+ = |============| |
+ | | Red Zone | v
+ | \/\/\/\/\/\/\/ Direction of
+ #-1 < \/\/\/\/\/\/\/ stack growth
+ | | |
stack-frame.txt
Property changes :
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property