From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2586 invoked by alias); 4 Oct 2010 18:14:44 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 2552 invoked by uid 22791); 4 Oct 2010 18:14:43 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Mon, 04 Oct 2010 18:14:00 -0000 From: Oleg Nesterov To: archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v12 Message-ID: <20101004181053.GA30217@redhat.com> References: <20100930182320.GA17475@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100930182320.GA17475@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q4/txt/msg00001.txt.bz2 On 09/30, Oleg Nesterov wrote: > > Right now $G doesn't change FPU registers. It turns out, $G can't even set the REGSET_GENERAL reg correctly. I noticed this only because the tracee sometimes dies during the single-stepping inside the dynamic linker. Indeed, $G passes the wrong fs_index==0 to genregs_set(). > Next: watchpoints. While trying to understand what does this mean, I hit another bug in ugdb. A multithreaded tracee can "hang" if gdb simulates watchpoints with single-steps + mem-fetch/compare. Still can't understand why this happens, this should be resolved. This never happens if the tracee is single-threaded. Oleg.