This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/15814] New: Improve "skip file X" behaviour in .gdbinit to allow quiet adding of skip entries


http://sourceware.org/bugzilla/show_bug.cgi?id=15814

            Bug ID: 15814
           Summary: Improve "skip file X" behaviour in .gdbinit to allow
                    quiet adding of skip entries
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: richardg.work at gmail dot com

Created attachment 7134
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7134&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]