Created attachment 7134 [details] Patch for "server skip file X" I want my gdb to always skip the system headers. But adding (say) "skip file /usr/include/c++/4.6/debug/safe_iterator.h" to the .gdbinit file will get ignored as there's nothing loaded at that point. The attached patch changes the default behaviour to assume you want the skip to apply to future loads. Also if you use "server skip file X", it will hide the "File X will be skipped when stepping" message so you can quietly add skips.
See the contribution checklist for info on submitting patches: http://sourceware.org/gdb/wiki/ContributionChecklist Thanks.
Looks like this is obsolete now.
The skip is no longer ignored. It's still noisy but you can suppress it: | skip file /usr/include/blah.h | cat > /dev/null