summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-11-10 21:17:58 +0000
committerRandolph Chung <tausq@debian.org>2004-11-10 21:17:58 +0000
commite0da20f4a8c2d8775bcd2eaea9eb3192c23fa769 (patch)
tree9f0009314f68dd7de4a436be90a89a6686920d77 /gdb/blockframe.c
parent50cb3501ec1c0318413d68cdca36a8e927465729 (diff)
downloadgdb-e0da20f4a8c2d8775bcd2eaea9eb3192c23fa769.tar.gz
2004-11-10 Randolph Chung <tausq@debian.org>
* blockframe.c (inside_entry_func): Move to ..... * frame.c (inside_entry_func): ... here, and make static. (backtrace_past_entry): New flag. (get_prev_frame): Stop backtrace at the entry function if enabled by flag. Update comments. (_initialize_frame): Add command to set backtrace_past_entry flag. * defs.h (inside_entry_func): Remove prototype. doc/ * gdb.texinfo: Document set/show backtrace past-entry commands. Rearrange index entries for set/show backtrace past-main.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index d752c8dd27f..4387a68f151 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -43,14 +43,6 @@
void _initialize_blockframe (void);
-/* Test whether THIS_FRAME is inside the process entry point function. */
-
-int
-inside_entry_func (struct frame_info *this_frame)
-{
- return (get_frame_func (this_frame) == entry_point_address ());
-}
-
/* Return the innermost lexical block in execution
in a specified stack frame. The frame address is assumed valid.