From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 899 invoked by alias); 3 Mar 2003 02:47:08 -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 887 invoked from network); 3 Mar 2003 02:47:06 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 3 Mar 2003 02:47:06 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h232l6q32675 for ; Sun, 2 Mar 2003 21:47:06 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h232l6V02559 for ; Sun, 2 Mar 2003 21:47:06 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h232l5C00801 for ; Sun, 2 Mar 2003 21:47:05 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id 105D0FF7A; Sun, 2 Mar 2003 21:51:07 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15970.49947.911895.343469@localhost.redhat.com> Date: Mon, 03 Mar 2003 02:47:00 -0000 To: Adam Fedor , mec@shout.net Cc: GDB Patches Subject: Re: [RFA]: ObjC Testsuite In-Reply-To: <3E543B47.1010208@doc.com> References: <3E543B47.1010208@doc.com> X-SW-Source: 2003-03/txt/msg00042.txt.bz2 Adam Fedor writes: > 2003-02-19 Adam Fedor > > * Makefile.in (ALL_SUBDIRS): Add gdb.objc > * configure.in (AC_OUTPUT): Add gdb.objc/Makefile. > * gdb.objc, gdb.objc/Makefile.in, gdb.objc/myclass.exp, > gdb.objc/myclass.m: New files. > > Index: testsuite/Makefile.in > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/Makefile.in,v > retrieving revision 1.5 > diff -u -p -r1.5 Makefile.in > --- testsuite/Makefile.in 9 Jan 2003 18:50:21 -0000 1.5 > +++ testsuite/Makefile.in 14 Feb 2003 04:24:47 -0000 > @@ -36,7 +36,7 @@ EXEEXT = @EXEEXT@ > SUBDIRS = @subdirs@ > RPATH_ENVVAR = @RPATH_ENVVAR@ > ALL_SUBDIRS = gdb.arch gdb.asm gdb.base gdb.c++ gdb.disasm gdb.java gdb.mi \ > - gdb.threads gdb.trace $(SUBDIRS) > + gdb.objc gdb.threads gdb.trace $(SUBDIRS) > > EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \ > echo $${rootme}/../../expect/expect ; \ > Index: testsuite/configure.in > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/configure.in,v > retrieving revision 1.8 > diff -u -p -r1.8 configure.in > --- testsuite/configure.in 4 Jan 2003 15:37:36 -0000 1.8 > +++ testsuite/configure.in 14 Feb 2003 04:24:48 -0000 > @@ -115,4 +115,4 @@ AC_EXEEXT > AC_CONFIG_SUBDIRS($configdirs) > AC_OUTPUT([Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile \ > gdb.c++/Makefile gdb.disasm/Makefile gdb.java/Makefile gdb.mi/Makefile \ > - gdb.threads/Makefile gdb.trace/Makefile]) > + gdb.objc/Makefile gdb.threads/Makefile gdb.trace/Makefile]) I looked at the test files. I wouldn't call the tests 'myclass.*'. Maybe something more descriptive like objc-class.exp objc-class.m ? You may want to look at the gdb_compile_pthreads function in gdb.exp. Also, when you set breakpoints, the patterns to match are very generic, how can you be sure the breakpoints have been set in the correct spot? I'll let MichaelC comment more. elena