From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4800 invoked by alias); 8 Jul 2003 00:58:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4793 invoked from network); 8 Jul 2003 00:58:14 -0000 Received: from unknown (HELO mail04.idc.renesas.com) (202.234.163.13) by sources.redhat.com with SMTP; 8 Jul 2003 00:58:14 -0000 Received: from mail04.idc.renesas.com (localhost [127.0.0.1]) by mail04.idc.renesas.com with ESMTP id h680wBo0007972 for ; Tue, 8 Jul 2003 09:58:12 +0900 (JST) Received: from guardian01.idc.renesas.com ([172.20.8.132]) by mail04.idc.renesas.com with ESMTP id h680wAHT007969; Tue, 8 Jul 2003 09:58:10 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id h680w94M014344; Tue, 8 Jul 2003 09:58:09 +0900 (JST) Received: from unknown [172.20.8.73] by guardian01.idc.renesas.com with SMTP id KAA14343 ; Tue, 8 Jul 2003 09:58:08 +0900 Received: from mta05.idc.renesas.com (localhost [127.0.0.1]) by mta05.idc.renesas.com with ESMTP id h680w9gO024784; Tue, 8 Jul 2003 09:58:10 +0900 (JST) Received: from rnsmtp01.hoku_r.renesas.com ([10.145.246.51]) by mta05.idc.renesas.com with ESMTP id h680w98I024781; Tue, 8 Jul 2003 09:58:09 +0900 (JST) Received: from mrkaisv.hoku.renesas.com ([10.145.105.245]) by rnsmtp01.hoku_r.renesas.com (8.9.3/3.7W) with ESMTP id JAA05769; Tue, 8 Jul 2003 09:58:08 +0900 (JST) Received: from KEI (unknown [10.145.105.81]) by mrkaisv.hoku.renesas.com (Postfix) with SMTP id 0572879849A; Tue, 8 Jul 2003 09:58:08 +0900 (JST) Message-ID: <005101c344ec$5bfbb8e0$5169910a@KEI> From: "Kei Sakamoto" To: "Daniel Jacobowitz" Cc: References: <013e01c341d9$b364eb30$5169910a@KEI> <20030707141226.GB27227@nevyn.them.org> Subject: Re: [patch/testcase] fix gdb.objc/basicclass.exp Date: Tue, 08 Jul 2003 00:58:00 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004E_01C34537.CBA96520" X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-07/txt/msg00147.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_004E_01C34537.CBA96520 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-length: 999 > On Fri, Jul 04, 2003 at 12:09:36PM +0900, Kei Sakamoto wrote: > > The attached patch fixes gdb.objc.basicclass.exp. > > > > The current test always fail with sim because of libobjc's error. > > > > (gdb) PASS: gdb.objc/basicclass.exp: continue until method breakpoint > > run > > The program being debugged has been started already. > > Start it from the beginning? (y or n) y > > Starting program: > > /project/m32r-tools/insight-20030703/build/gdb/testsuite/gdb.objc/basicclass > > Virtual memory exhausted > > > > *** EXIT code 4242 > > > > Program exited with code 0157255. > > [Switching to process 0] > > (gdb) FAIL: gdb.objc/basicclass.exp: resetting breakpoints when rerunning > > > > I assume this is not libobjc's bug. Please tell me if my > > assumption is wrong. > > > > Anyway, I inserted load command before run command. I checked > > this patch with m32r-elf, arm-elf, and sh-elf. > > You missed the patch - would you mind posting it? I'm sorry about that. This is the patch. Kei ------=_NextPart_000_004E_01C34537.CBA96520 Content-Type: application/octet-stream; name="basicclass.exp.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="basicclass.exp.patch" Content-length: 504 --- insight-20030703.orig/src/gdb/testsuite/gdb.objc/basicclass.exp Tue Jun= 24 05:20:31 2003=0A= +++ insight-20030703/src/gdb/testsuite/gdb.objc/basicclass.exp Mon Jul 7 1= 2:15:23 2003=0A= @@ -125,6 +125,10 @@=0A= #=0A= # Test resetting breakpoints when re-running program=0A= #=0A= +if { [target_info protocol] =3D=3D "sim" } {=0A= + send_gdb "load\n"=0A= + exp_continue=0A= +}=0A= send_gdb "run\n"=0A= gdb_expect {=0A= -re "The program .* has been started already.*y or n. $" {=0A= ------=_NextPart_000_004E_01C34537.CBA96520--