From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5843 invoked by alias); 3 Sep 2010 06:40:29 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 5832 invoked by uid 22791); 3 Sep 2010 06:40:27 -0000 X-SWARE-Spam-Status: No, hits=-6.1 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: Fri, 03 Sep 2010 06:40:00 -0000 From: Jan Kratochvil To: Oleg Nesterov Cc: archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v7 Message-ID: <20100903064008.GA16249@host1.dyn.jankratochvil.net> References: <20100830185850.GA1132@redhat.com> <20100830192040.GA15431@host1.dyn.jankratochvil.net> <20100831072048.GA26362@host1.dyn.jankratochvil.net> <20100902200632.GA23692@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100902200632.GA23692@redhat.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-SW-Source: 2010-q3/txt/msg00138.txt.bz2 On Thu, 02 Sep 2010 22:06:32 +0200, Oleg Nesterov wrote: > I assume that qXfer:siginfo:read always mean Hg thread. It seems so. > It is not clear to me what should ugdb report if there is no a valid > siginfo. linux_xfer_siginfo() return E01, but gdbserver uses SIGSTOP to > stop the tracee, I find error more appropriate in such case. > Likewise, it is not clear what should ugdb do if gdb sends > $CSIG in this case. Currently GDB does not do anything special, that is if there is siginfo for signal SIGUSR1 but one does $C0B (SIGSEGV) does ptrace reset the siginfo or is left the SIGUSR1 siginfo for SIGSEGV? > But this all is minor, I think. As this is being discussed for GDB I would find enough to just make $_siginfo accessible without these details. Thanks, Jan