From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15979 invoked by alias); 15 Nov 2012 14:21:06 -0000 Received: (qmail 15956 invoked by uid 48); 15 Nov 2012 14:21:04 -0000 From: "qiyao at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/14844] Tracepoints are not reinserted in reloaded libraries. Date: Thu, 15 Nov 2012 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qiyao at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q4/txt/msg00246.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14844 Yao Qi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qiyao at gcc dot gnu.org --- Comment #1 from Yao Qi 2012-11-15 14:21:03 UTC --- First of all, the test case is great! Thanks. Running 'run-test.sh' can expose the problem on GDB trunk, but a little bit differently, --------------------------------------- $ ./run-test.sh make: Nothing to be done for `all'. Process ./bar created; pid = 26114 Listening on port 7777 Python Exception No module named gdb: warning: Could not load the Python gdb module from `/usr/local/share/gdb/python'. warning: Limited Python support is available from the _gdb module. Remote debugging from host 127.0.0.1 0x4ce4c2b0 in _start () from /lib/ld-linux.so.2 Breakpoint 1 at 0x80485cc: file bar.c, line 15. Breakpoint 1, load_lib () at bar.c:15 15 printf("Loading libfoo.so\n"); Loading libfoo.so main () at bar.c:42 42 Tracepoint 2 at 0xb7ffb416: file foo.c, line 5. Breakpoint 3 at 0x80486ba: file bar.c, line 45. 1 2 Unloading libfoo.so warning: Temporarily disabling breakpoints for unloaded shared library "./libfoo.so" Loading libfoo.so Error in re-setting breakpoint 2: Target returns error code '01'. Error in re-setting breakpoint 3: Target returns error code '01'. gdb-script:9: Error in sourced command file: Target returns error code '01'. Killing all inferiors ---------------------------------------------------------- It is related to breakpoint re-setting, afaics. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.