Files
binutils-gdb/gdb/gdb-gdb.gdb.in
Simon Marchi 3e7d7f6001 gdb/gdb-gdb.gdb.in: skip gdb::ref_ptr<.*>::get
I think it's uninteresting to step into gdb::ref_ptr::get, so add a skip
entry for it.  I am adding just one to get the party started, but there
are certainly more like this that we could skip.

Change-Id: Ib074535c96a62137de63bbe58ff168a1e913688f
Approved-By: Tom Tromey <tom@tromey.com>
2025-08-28 13:36:30 -04:00

43 lines
781 B
Plaintext

echo Setting up the environment for debugging gdb.\n
if !$gdb_init_done
set variable $gdb_init_done = 1
set complaints 1
b internal_error_loc
# This provides an easy way to break into the top-level GDB by
# typing "info".
b info_command
commands
silent
# This avoids the voluminous output of "info".
return
end
# Commands below are not fully compatible with wrapping into an 'if' block.
end
set prompt (top-gdb)
define pdie
if $argc == 1
call $arg0->dump (1)
else
if $argc == 2
call $arg0->dump ($arg1)
else
printf "Syntax: pdie die [depth]\n"
end
end
end
document pdie
Pretty print a DWARF DIE.
Syntax: pdie die [depth]
end
# Trivial and uninteresting functions to skip.
skip -rfu "^gdb::ref_ptr<.*>::get"