From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20069 invoked by alias); 6 Nov 2011 22:47:55 -0000 Received: (qmail 20046 invoked by uid 22791); 6 Nov 2011 22:47:55 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Nov 2011 22:47:43 +0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug threads/10729] non-stop && hw-watchpoint: Couldn't write debug register: No such process. Date: Sun, 06 Nov 2011 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 6.8 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: 2011-q4/txt/msg00234.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D10729 --- Comment #1 from cvs-commit at gcc dot gnu.org 2010-08-25 14:40:43 UTC --- Subject: Bug 10729 CVSROOT: /cvs/src Module name: src Changes by: palves@sourceware.org 2010-08-25 14:40:22 Modified files: gdb/gdbserver : ChangeLog i386-low.c i386-low.h linux-low.c=20 linux-low.h linux-x86-low.c win32-i386-low.c=20 Log message: PR threads/10729 =09 * linux-x86-low.c (update_debug_registers_callback): New. (i386_dr_low_set_addr): Use it. (i386_dr_low_get_addr): New. (i386_dr_low_set_control): Use update_debug_registers_callback. (i386_dr_low_get_control): New. (i386_dr_low_get_status): Adjust. * linux-low.c (linux_stop_lwp): New. * linux-low.h (linux_stop_lwp): Declare. =09 * i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as argument instead of a i386_debug_reg_state. (I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of a i386_debug_reg_state. (i386_insert_aligned_watchpoint): Adjust. (i386_remove_aligned_watchpoint): Adjust. (i386_low_stopped_data_address): Read the debug registers from the inferior instead of from the mirrors. * i386-low.h (struct i386_debug_reg_state): Extend comment. (i386_dr_low_get_addr): Declare. (i386_dr_low_get_control): Declare. (i386_dr_low_get_status): Change prototype. =09 * win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals. (i386_dr_low_get_addr): New. (i386_dr_low_get_control): New. (i386_dr_low_get_status): Adjust prototype. Return dr_status_mirror. (i386_initial_stuff): Clear dr_status_mirror and dr_control_mirror. (i386_get_thread_context): Adjust. (i386_set_thread_context): Adjust. (i386_thread_added): Adjust. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?c= vsroot=3Dsrc&r1=3D1.406&r2=3D1.407 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/i386-low.c.diff?= cvsroot=3Dsrc&r1=3D1.3&r2=3D1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/i386-low.h.diff?= cvsroot=3Dsrc&r1=3D1.2&r2=3D1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.c.diff= ?cvsroot=3Dsrc&r1=3D1.153&r2=3D1.154 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.h.diff= ?cvsroot=3Dsrc&r1=3D1.45&r2=3D1.46 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-x86-low.c.= diff?cvsroot=3Dsrc&r1=3D1.20&r2=3D1.21 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/win32-i386-low.c= .diff?cvsroot=3Dsrc&r1=3D1.20&r2=3D1.21 --- Comment #2 from Jan Kratochvil 2011-= 11-06 22:47:12 UTC --- Reproducible with: 7.3.50.20111105-cvs kernel-3.1.0-7.fc16.x86_64 --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.