aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
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
commit2315ffec021c6c665bb4bfade30c21dba72e6018 (patch)
treea061ba2042a5daac938ab4d393fe46e7e49dcf22 /gdb/doc
parent917c78fc592d071fd1d2ab80d1700129efdf690e (diff)
downloadgdb-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/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo13
2 files changed, 18 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 346324b..bed3073 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-10 Randolph Chung <tausq@debian.org>
+
+ * gdb.texinfo: Document set/show backtrace past-entry commands.
+ Rearrange index entries for set/show backtrace past-main.
+
2004-11-10 Jon Beniston <jon@beniston.com>
Committed by Andrew Cagney <cagney@gnu.org>.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f603384..8a77b29 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -4120,6 +4120,19 @@ default.
@kindex show backtrace
Display the current user entry point backtrace policy.
+@item set backtrace past-entry
+@itemx set backtrace past-entry on
+Backtraces will continue past the internal entry point of an application.
+This entry point is encoded by the linker when the application is built,
+and is likely before the user entry point @code{main} (or equivalent) is called.
+
+@item set backtrace past-entry off
+Backtraces will stop when they encouter the internal entry point of an
+application. This is the default.
+
+@item show backtrace past-entry
+Display the current internal entry point backtrace policy.
+
@item set backtrace limit @var{n}
@itemx set backtrace limit 0
@cindex backtrace limit