aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-19 00:46:00 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-19 00:46:00 +0000
commit85cf597a18e830baf9e3b8f6328e4e5aed5dcb12 (patch)
treee76646cc3c3aa7fa566fbe23a588b6d3092f59b1 /gdb/stack.c
parent66b7e2229f4befd0accc7f0844e08074d4e37a51 (diff)
downloadgdb-85cf597a18e830baf9e3b8f6328e4e5aed5dcb12.zip
gdb-85cf597a18e830baf9e3b8f6328e4e5aed5dcb12.tar.gz
gdb-85cf597a18e830baf9e3b8f6328e4e5aed5dcb12.tar.bz2
2002-11-18 Andrew Cagney <ac131313@redhat.com>
* stack.c (frame_relative_level): Copy function from here ... * frame.c (frame_relative_level): ...to here.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index f98c98e..aee7679 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -115,22 +115,6 @@ extern int addressprint; /* Print addresses, or stay symbolic only? */
struct frame_info *selected_frame;
-/* Level of the selected frame:
- 0 for innermost, 1 for its caller, ...
- or -1 for frame specified by address with no defined level. */
-
-/* Level of the selected frame: 0 for innermost, 1 for its caller, ...
- or -1 for NULL frame. */
-
-int
-frame_relative_level (struct frame_info *fi)
-{
- if (fi == NULL)
- return -1;
- else
- return fi->level;
-}
-
/* Zero means do things normally; we are interacting directly with the
user. One means print the full filename and linenumber when a
frame is printed, and do so in a format emacs18/emacs19.22 can