From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4262 invoked by alias); 9 Sep 2010 16:37:31 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 3891 invoked by uid 22791); 9 Sep 2010 16:37:25 -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: Thu, 09 Sep 2010 16:37:00 -0000 From: Oleg Nesterov To: "Frank Ch. Eigler" Cc: archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v9 Message-ID: <20100909163400.GB23799@redhat.com> References: <20100908191838.GA27120@redhat.com> <20100909152937.GA21586@redhat.com> <20100909155047.GA22403@redhat.com> <20100909160700.GA26765@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100909160700.GA26765@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00167.txt.bz2 On 09/09, Frank Ch. Eigler wrote: > Hi - > > On Thu, Sep 09, 2010 at 05:50:47PM +0200, Oleg Nesterov wrote: > > > Probably I need to implement G/P first, otherwise gdb can't change ip. > > Perhaps. > > > Still, I'd appreciate if someone can explain me what gdb needs/expects > > to handle breakpoints before I start to read the sources. > > It'd be simpler if the normal all-stop mode was what you first focused > on. That mode works fine with Z/z and with M/m based breakpoint > insertion/removal and c/s continue/singlestep. (This stuff was all > working in the earlier gdbstub code.) > > Re. non-stop mode, see > http://www.codesourcery.com/publications/non_stop_multi_threaded_debugging_in_gdb.pdf Thanks a lot, downloaded. Oleg.