https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #14) From https://sourceware.org/gdb/current/onlinedocs/gdb/Skipping-Over-Functions-and-Files.html#Skipping-Over-Functions-and-Files it looks like you want skip -rfu; it gives the example skip -rfu ^std::(allocator|basic_string)<.*>::~?\1 *\( to skip string constructors and destructors.