From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7744 invoked by alias); 8 Jul 2003 19:45:44 -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 7723 invoked from network); 8 Jul 2003 19:45:43 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Jul 2003 19:45:43 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h68JjgH20533 for ; Tue, 8 Jul 2003 15:45:42 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h68JjPS08984; Tue, 8 Jul 2003 15:45:25 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h68JjOK24363; Tue, 8 Jul 2003 12:45:24 -0700 Message-ID: <3F0B1F54.3090305@redhat.com> Date: Tue, 08 Jul 2003 19:45:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Evans CC: gdb-patches@sources.redhat.com, drow@mvista.com Subject: Re: [patch/testcase] fix gdb.objc/basicclass.exp References: <013e01c341d9$b364eb30$5169910a@KEI> <20030707141226.GB27227@nevyn.them.org> <005101c344ec$5bfbb8e0$5169910a@KEI> <16138.11193.836930.926051@casey.transmeta.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00158.txt.bz2 Doug Evans wrote: > Kei Sakamoto writes: > > > 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. > > I'm curious. Why is this now necessary? > Way back when run did an implicit load, among other things > (at least for sims I remember). Really? I don't remember that. I don't think I'd like it, either. What if I wanted to patch memory, and then run?