From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13755 invoked by alias); 22 Nov 2005 23:20:53 -0000 Received: (qmail 13747 invoked by uid 22791); 22 Nov 2005 23:20:52 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 22 Nov 2005 23:20:51 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EehRQ-0008Oc-OT; Tue, 22 Nov 2005 18:20:48 -0500 Date: Tue, 22 Nov 2005 23:45:00 -0000 From: Daniel Jacobowitz To: Stefan =?iso-8859-1?Q?Burstr=F6m?= Cc: gdb@sources.redhat.com Subject: Re: info types question Message-ID: <20051122232047.GA32223@nevyn.them.org> Mail-Followup-To: Stefan =?iso-8859-1?Q?Burstr=F6m?= , gdb@sources.redhat.com References: <20051122083855.GH1635@adacore.com> <3477723caab.6257669c@mail.m.bonet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3477723caab.6257669c@mail.m.bonet.se> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00505.txt.bz2 On Wed, Nov 23, 2005 at 12:01:54AM +0100, Stefan Burström wrote: > I was wondering what kind of output I can expect from 'info types'? > I am getting some sensible output such as > > typedef int mytype; > > but I am also getting output such as > > typedef double; > > and > > typedef long long unsigned int; > > The former I guess doesn't really matter, but the later really defines int > to be an unsigned 64 bit type. Which cannot be what is desired? > Of course I can ignore all types defined int libgcc2.c but I'd like to find > out the 'logic' behind this. These probably indicate "typedefs" without a name, probably definitions of base types. -- Daniel Jacobowitz CodeSourcery, LLC