From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28580 invoked by alias); 4 Aug 2013 22:06:14 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 28557 invoked by uid 48); 4 Aug 2013 22:06:13 -0000 From: "richardg.work at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug cli/15814] New: Improve "skip file X" behaviour in .gdbinit to allow quiet adding of skip entries Date: Sun, 04 Aug 2013 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: richardg.work at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00172.txt.bz2 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.