From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16687 invoked by alias); 6 Sep 2010 18:21:27 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 16678 invoked by uid 22791); 6 Sep 2010 18:21:26 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_XC,T_RP_MATCHES_RCVD,URIBL_RHS_DOB X-Spam-Check-By: sourceware.org Date: Mon, 06 Sep 2010 18:21:00 -0000 From: Oleg Nesterov To: Jan Kratochvil Cc: archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v8 Message-ID: <20100906181808.GA22839@redhat.com> References: <20100903224047.GA8917@redhat.com> <20100905194101.GA31584@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100905194101.GA31584@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00149.txt.bz2 On 09/05, Jan Kratochvil wrote: > > On Sat, 04 Sep 2010 00:40:47 +0200, Oleg Nesterov wrote: > > - implement qXfer:siginfo:read > > > > - implement continue with signal. > > OK, thanks, just it was a bit premature to ask for it I see. I miss at least > memory writes Yes. This is simple. > (also to put in breakpoints): And this is not clear to me, I need your help ;) What should ugdb know about breakpoints? I played with the real gdbserver, and afaics gdb just changes the tracee's memory and inserts 0xcc (int 3). But gdb.info mentions "Z TYPE,ADDR,KIND" packets. So, what should ugdb do? Just implement memory write (M or X) and then report SIGTRAP like gdbserver does? Oleg.