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.
This commit is contained in:
parent
917c78fc59
commit
2315ffec02
6 changed files with 54 additions and 21 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue