From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28700 invoked by alias); 11 Apr 2010 16:04:41 -0000 Received: (qmail 28314 invoked by uid 22791); 11 Apr 2010 16:04:37 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 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; Sun, 11 Apr 2010 16:04:30 +0000 Received: by vws15 with SMTP id 15so1085374vws.0 for ; Sun, 11 Apr 2010 09:04:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Sun, 11 Apr 2010 09:04:28 -0700 (PDT) In-Reply-To: <201004110252.35997.pedro@codesourcery.com> References: <201004110252.35997.pedro@codesourcery.com> Date: Sun, 11 Apr 2010 16:04:00 -0000 Received: by 10.220.108.41 with SMTP id d41mr1406985vcp.60.1271001868150; Sun, 11 Apr 2010 09:04:28 -0700 (PDT) Message-ID: Subject: Re: Fix solib-disc.exp regression with x86 gdbserver From: "H.J. Lu" To: Pedro Alves Cc: 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: 2010-04/txt/msg00324.txt.bz2 On Sat, Apr 10, 2010 at 6:52 PM, Pedro Alves wrote: > The testsuite shows a couple of new regression with x86 gdbserver: > > This is losing any register changes done before "disconnect" in > the previous session. > > > (H.J., in case you don't know yet, here's how one easily > tests against gdbserver on localhost: > =A0 > ) I got following extra failures with native gdbserver on Linux/x86-64. Are they expected? FAIL: gdb.ada/tasks.exp: continue to breakpoint (the program exited) FAIL: gdb.ada/tasks.exp: continue until end of program (the program is no longer running) FAIL: gdb.ada/tasks.exp: info tasks after hitting breakpoint FAIL: gdb.ada/tasks.exp: info tasks before inserting breakpoint FAIL: gdb.base/break-entry.exp: running to *0x4002e0 in runto FAIL: gdb.base/randomize.exp: fixed addresses should match FAIL: gdb.base/recurse.exp: second instance watchpoint deleted when leaving scope FAIL: gdb.base/watch-vfork.exp: Watchpoint triggers after vfork (sw) (the program exited) FAIL: gdb.cp/exception.exp: continue to second throw FAIL: gdb.mi/mi-var-cmd.exp: in-and-out-of-scope: in scope now FAIL: gdb.threads/attach-stopped.exp: threaded: attach2, exit leaves process sleeping FAIL: gdb.threads/execl.exp: continue across exec FAIL: gdb.threads/fork-child-threads.exp: get to the spawned thread (the program exited) FAIL: gdb.threads/fork-child-threads.exp: next over fork FAIL: gdb.threads/fork-child-threads.exp: two threads found FAIL: gdb.trace/backtrace.exp: 1.13: trace in recursion: depth not equal to= 3 FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect args and locals FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect noth= ing FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect regs FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect stack mem expr FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect stack mem expr FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect stack mem expr FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 1, collect stack mem expr FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 2, collect args and locals FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 2, collect noth= ing FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 2, collect regs FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 3, collect args and locals FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 3, collect noth= ing FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 3, collect regs FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 4, collect args and locals FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 4, collect noth= ing FAIL: gdb.trace/backtrace.exp: 8.6: Backtrace, depth =3D=3D 4, collect regs FAIL: gdb.trace/backtrace.exp: 8.6: find frame 1 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 10 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 11 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 12 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 14 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 15 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 16 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 17 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 19 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 2 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 4 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 5 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 6 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 7 FAIL: gdb.trace/backtrace.exp: 8.6: find frame 9 FAIL: gdb.trace/backtrace.exp: 8.6: find start frame FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/backtrace.exp: printf "TDP %d:\n", $tracepoint FAIL: gdb.trace/collection.exp: collect argarray collectively: cease trace debugging FAIL: gdb.trace/collection.exp: collect argarray collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect argarray collectively: tfind test f= rame FAIL: gdb.trace/collection.exp: collect argarray individually: define actio= ns FAIL: gdb.trace/collection.exp: collect args collectively: cease trace debu= gging FAIL: gdb.trace/collection.exp: collect args collectively: collected arg ch= ar FAIL: gdb.trace/collection.exp: collect args collectively: collected arg do= uble FAIL: gdb.trace/collection.exp: collect args collectively: collected arg fl= oat FAIL: gdb.trace/collection.exp: collect args collectively: collected arg int FAIL: gdb.trace/collection.exp: collect args collectively: collected arg struct member char FAIL: gdb.trace/collection.exp: collect args collectively: collected arg struct member double FAIL: gdb.trace/collection.exp: collect args collectively: collected arg struct member float FAIL: gdb.trace/collection.exp: collect args collectively: collected arg struct member int FAIL: gdb.trace/collection.exp: collect args collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect args collectively: tfind test frame FAIL: gdb.trace/collection.exp: collect args individually: collected arg ch= ar FAIL: gdb.trace/collection.exp: collect args individually: collected arg do= uble FAIL: gdb.trace/collection.exp: collect args individually: collected arg fl= oat FAIL: gdb.trace/collection.exp: collect args individually: collected arg int FAIL: gdb.trace/collection.exp: collect args individually: collected arg struct member char FAIL: gdb.trace/collection.exp: collect args individually: collected arg struct member double FAIL: gdb.trace/collection.exp: collect args individually: collected arg struct member float FAIL: gdb.trace/collection.exp: collect args individually: collected arg struct member int FAIL: gdb.trace/collection.exp: collect args individually: define actions FAIL: gdb.trace/collection.exp: collect argstruct collectively: cease trace debugging FAIL: gdb.trace/collection.exp: collect argstruct collectively: collected arg struct member char FAIL: gdb.trace/collection.exp: collect argstruct collectively: collected arg struct member double FAIL: gdb.trace/collection.exp: collect argstruct collectively: collected arg struct member float FAIL: gdb.trace/collection.exp: collect argstruct collectively: collected arg struct member int FAIL: gdb.trace/collection.exp: collect argstruct collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect argstruct collectively: tfind test = frame FAIL: gdb.trace/collection.exp: collect argstruct individually: collected arg struct member char FAIL: gdb.trace/collection.exp: collect argstruct individually: collected arg struct member double FAIL: gdb.trace/collection.exp: collect argstruct individually: collected arg struct member float FAIL: gdb.trace/collection.exp: collect argstruct individually: collected arg struct member int FAIL: gdb.trace/collection.exp: collect argstruct individually: define acti= ons FAIL: gdb.trace/collection.exp: collect auto locals collectively: cease trace debugging FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local char FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local double FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local float FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local int FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local member char FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local member double FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local member float FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected local member int FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected locarray #0 FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected locarray #1 FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected locarray #2 FAIL: gdb.trace/collection.exp: collect auto locals collectively: collected locarray #3 FAIL: gdb.trace/collection.exp: collect auto locals collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect auto locals collectively: tfind test frame FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local char FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local double FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local float FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local int FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local member char FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local member double FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local member float FAIL: gdb.trace/collection.exp: collect auto locals individually: collected local member int FAIL: gdb.trace/collection.exp: collect auto locals individually: collected locarray #0 FAIL: gdb.trace/collection.exp: collect auto locals individually: collected locarray #1 FAIL: gdb.trace/collection.exp: collect auto locals individually: collected locarray #2 FAIL: gdb.trace/collection.exp: collect auto locals individually: collected locarray #3 FAIL: gdb.trace/collection.exp: collect auto locals individually: define ac= tions FAIL: gdb.trace/collection.exp: collect register locals collectively: cease trace debugging FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions FAIL: gdb.trace/collection.exp: collect static locals collectively: cease trace debugging FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local char FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local double FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local float FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local int FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local member char FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local member double FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local member float FAIL: gdb.trace/collection.exp: collect static locals collectively: collected local member int FAIL: gdb.trace/collection.exp: collect static locals collectively: collected locarray #0 FAIL: gdb.trace/collection.exp: collect static locals collectively: collected locarray #1 FAIL: gdb.trace/collection.exp: collect static locals collectively: collected locarray #2 FAIL: gdb.trace/collection.exp: collect static locals collectively: collected locarray #3 FAIL: gdb.trace/collection.exp: collect static locals collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect static locals collectively: tfind test frame FAIL: gdb.trace/report.exp: 11.1: test $trace_frame FAIL: gdb.trace/report.exp: 11.2: test $tracepoint FAIL: gdb.trace/report.exp: 11.3: test $trace_line FAIL: gdb.trace/report.exp: 11.4: test $trace_file FAIL: gdb.trace/report.exp: 11.x, 12.1: find start frame FAIL: gdb.trace/report.exp: 12.1: trace report #1 FAIL: gdb.trace/report.exp: 12.2: find first TDP #2 frame FAIL: gdb.trace/report.exp: 12.2: trace report #2 FAIL: gdb.trace/report.exp: 12.3: find first TDP #3 frame FAIL: gdb.trace/report.exp: 12.3: trace report #3 FAIL: gdb.trace/report.exp: 12.4: find first TDP #6 frame FAIL: gdb.trace/report.exp: 12.4: trace report #4 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 2 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 3 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 4 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 5 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 6 FAIL: gdb.trace/report.exp: 9.1: find frame for TP 7 FAIL: gdb.trace/report.exp: 9.1: tdump, args collected FAIL: gdb.trace/report.exp: 9.1: tdump, global variables collected FAIL: gdb.trace/report.exp: 9.1: tdump, locals collected FAIL: gdb.trace/report.exp: 9.1: tdump, memrange collected FAIL: gdb.trace/report.exp: 9.1: tdump, nothing collected FAIL: gdb.trace/report.exp: 9.1: tdump, regs collected FAIL: gdb.trace/while-dyn.exp: 5.12: define stepping FAIL: gdb.trace/while-dyn.exp: 5.12: define while-stepping FAIL: gdb.trace/while-dyn.exp: 5.12: define ws Thanks. --=20 H.J.