From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30396 invoked by alias); 30 Mar 2015 20:31:16 -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 30369 invoked by uid 48); 30 Mar 2015 20:31:15 -0000 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending Date: Mon, 30 Mar 2015 23:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org 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 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: 2015-q1/txt/msg00565.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18183 Bug ID: 18183 Summary: saving and restoring breakpoints -vs- pending Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org I saved my breakpoints to a file, then in a new session, "source"d the file to recreate them. However, they weren't recreated, because I had neglected to "set breakpoint pending on": (gdb) source /tmp/B Function "nsDOMWindowUtils::SendMouseEventCommon" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] No source file named EventBinding.cpp. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] One way around this would be to arrange for this to be handled explicitly in the saved script. -- You are receiving this mail because: You are on the CC list for the bug.