From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31693 invoked by alias); 4 Jul 2003 03:07:31 -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 31685 invoked from network); 4 Jul 2003 03:07:31 -0000 Received: from unknown (HELO mail01.idc.renesas.com) (202.234.163.13) by sources.redhat.com with SMTP; 4 Jul 2003 03:07:31 -0000 Received: from mail01.idc.renesas.com (localhost [127.0.0.1]) by mail01.idc.renesas.com with ESMTP id h6437Td7000358 for ; Fri, 4 Jul 2003 12:07:29 +0900 (JST) Received: from guardian02.idc.renesas.com ([172.20.8.133]) by mail01.idc.renesas.com with ESMTP id h6437THb000354 for ; Fri, 4 Jul 2003 12:07:29 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id h6437RhU002253 for gdb-patches@sources.redhat.com; Fri, 4 Jul 2003 12:07:27 +0900 (JST) Received: from unknown [172.20.8.68] by guardian02.idc.renesas.com with SMTP id NAA02252 ; Fri, 4 Jul 2003 12:07:26 +0900 Received: from mta01.idc.renesas.com (localhost [127.0.0.1]) by mta01.idc.renesas.com with ESMTP id h6437Rn5012537 for ; Fri, 4 Jul 2003 12:07:27 +0900 (JST) Received: from rnsmtp01.hoku_r.renesas.com ([10.145.246.51]) by mta01.idc.renesas.com with ESMTP id h6437RKB012534 for ; Fri, 4 Jul 2003 12:07:27 +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 MAA27091 for ; Fri, 4 Jul 2003 12:07:27 +0900 (JST) Received: from KEI (unknown [10.145.105.81]) by mrkaisv.hoku.renesas.com (Postfix) with SMTP id D2CC679849A for ; Fri, 4 Jul 2003 12:07:26 +0900 (JST) Message-ID: <013e01c341d9$b364eb30$5169910a@KEI> From: "Kei Sakamoto" To: Subject: [patch/testcase] fix gdb.objc/basicclass.exp Date: Fri, 04 Jul 2003 03:07:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-07/txt/msg00100.txt.bz2 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. Kei === 2003-07-04 Kei Sakamoto * gdb.objc/basicclass.exp: Execute load command before re-running program in case of sim.