Name
backtrace
Synopsis
set backtrace limit count
show backtrace limit
set backtrace past-main
show backtrace past-main
The first syntax limits the number of stack frames shown in
a backtrace to count. The default is
unlimited. The second syntax controls whether GDB shows
information about frames that precede the main()
function. Such
startup code is usually not of interest,
thus the default is off
.
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.