diff options
author | Randolph Chung <tausq@debian.org> | 2004-11-10 21:17:58 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-11-10 21:17:58 +0000 |
commit | 2315ffec021c6c665bb4bfade30c21dba72e6018 (patch) | |
tree | a061ba2042a5daac938ab4d393fe46e7e49dcf22 /gdb/blockframe.c | |
parent | 917c78fc592d071fd1d2ab80d1700129efdf690e (diff) | |
download | gdb-2315ffec021c6c665bb4bfade30c21dba72e6018.zip gdb-2315ffec021c6c665bb4bfade30c21dba72e6018.tar.gz gdb-2315ffec021c6c665bb4bfade30c21dba72e6018.tar.bz2 |
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.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index d752c8d..4387a68 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. |