From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17204 invoked by alias); 9 Feb 2002 15:38: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 17063 invoked from network); 9 Feb 2002 15:38:04 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 9 Feb 2002 15:38:04 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16ZZZk-0003u8-00; Sat, 09 Feb 2002 10:38:04 -0500 Date: Sat, 09 Feb 2002 07:38:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: parse Sun's STABS syntax for prototyped function types Message-ID: <20020209103804.A14857@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sources.redhat.com References: <20020209070157.DA50C5E9DE@zwingli.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020209070157.DA50C5E9DE@zwingli.cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00265.txt.bz2 On Sat, Feb 09, 2002 at 02:01:57AM -0500, Jim Blandy wrote: > > GCC doesn't emit this --- yet. :) > > Note the 'to do' items; that's why this is an RFA and not a patch. > > 2002-02-08 Jim Blandy > > * stabsread.c (read_type): Add code to parse Sun's syntax for > prototyped function types. How do you get a Sun compiler to emit these? I tried two function pointers: .stabs "bar:G(0,27)=*(0,28)=f(0,3)",32,0,4,0 !(/tmp/acompAAA6Qaajn:84) .stabs "foo:G(0,29)=*(0,30)=f(0,3)",32,0,4,0 !(/tmp/acompAAA6Qaajn:87) Those're both unprototyped but the last one shouldn't be. There are no 'g' types at all. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer