From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 949 invoked by alias); 5 Oct 2011 14:56:06 -0000 Received: (qmail 940 invoked by uid 22791); 5 Oct 2011 14:56:05 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Oct 2011 14:55:48 +0000 Received: by vws16 with SMTP id 16so1734400vws.0 for ; Wed, 05 Oct 2011 07:55:48 -0700 (PDT) Received: by 10.52.100.99 with SMTP id ex3mr2525911vdb.116.1317826548118; Wed, 05 Oct 2011 07:55:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.178.4 with HTTP; Wed, 5 Oct 2011 07:55:28 -0700 (PDT) In-Reply-To: <20111005141522.GA4395@host1.jankratochvil.net> References: <20111005121524.GA28249@host1.jankratochvil.net> <20111005141522.GA4395@host1.jankratochvil.net> From: Kevin Pouget Date: Wed, 05 Oct 2011 14:56:00 -0000 Message-ID: Subject: Re: Regression (or a new FAIL?): gdb.python/py-events.exp [Re: [PATCH] PR/12691 Add the inferior to Python exited event] To: Jan Kratochvil Cc: Tom Tromey , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00140.txt.bz2 On Wed, Oct 5, 2011 at 4:15 PM, Jan Kratochvil wrote: > On Wed, 05 Oct 2011 14:36:36 +0200, Kevin Pouget wrote: >> How do you test gdbserver? I'm working on a Fedora 15/X86_64, I should >> be able to reproduce it > > There is: > =A0 =A0 =A0 =A0http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserve= r_in_a_native_configuration > > I use it with my copy: > =A0 =A0 =A0 =A0git clone git://vps.jankratochvil.net/nethome > =A0 =A0 =A0 =A0mv nethome/src/runtest-gdbserver ~/src/runtest-gdbserver > =A0 =A0 =A0 =A0~/src/runtest-gdbserver/runtest-gdbserver gdb.python/py-ev= ents.exp > > Reproducible with `CFLAGS=3D-O0 ./configure ;make' on f15-x86_64. > > > Thanks, > Jan > So I can confirm, it's not a regression but a gdbserver failure: > $ cat fork.c > int main (){ > =A0fork(); > } > (gdb) target remote :2346 > 0x0000003c47a016b0 in _start () from /lib64/ld-linux-x86-64.so.2 > (gdb) b mainBreakpoint 1 at 0x4004c8: file fork.c, line 2. > (gdb) cont > Breakpoint 1, main () at fork.c:22 =A0fork(); > (gdb) set detach-on-fork off > (gdb) n > -------------------> Expected: [New process 26420] > 3 } > (gdb) quit what do you want me to do with that, certainly fill a bug report, shall I change anything in my patch? Cordially, Kevin