From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20559 invoked by alias); 9 Sep 2010 15:54:07 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 20550 invoked by uid 22791); 9 Sep 2010 15:54:07 -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 15:54: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: <20100909155047.GA22403@redhat.com> References: <20100908191838.GA27120@redhat.com> <20100909152937.GA21586@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100909152937.GA21586@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00162.txt.bz2 On 09/09, Oleg Nesterov wrote: > > the tracee hits this bp and reports SIGTRAP > > => vStopped > <= OK > => g > <= 00000000000000000006400000000000401f207d007f000000000000000000... > => P10=ba05400000000000 > <= > => G00000000000000000006400000000000401f207d007f00000000000000000... > <= May be this can explain... Probably I need to implement G/P first, otherwise gdb can't change ip. Still, I'd appreciate if someone can explain me what gdb needs/expects to handle breakpoints before I start to read the sources. Oleg.