From owner-freebsd-questions Wed Aug 9 4:52:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id B6EFE37B50C for ; Wed, 9 Aug 2000 04:52:21 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.88.237]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000809115219.BKFX16423.mta03-svc.ntlworld.com@parish.my.domain>; Wed, 9 Aug 2000 12:52:19 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id MAA00838; Wed, 9 Aug 2000 12:51:58 +0100 (BST) (envelope-from mark) Date: Wed, 9 Aug 2000 12:51:57 +0100 From: Mark Ovens To: Ariel Burbaickij Cc: questions@freebsd.org Subject: Re: How to inhibit inline functions appearing during debugging(-g) fromshowing up ? Message-ID: <20000809125157.B251@parish> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from Ariel.Burbaickij@mni.fh-giessen.de on Wed, Aug 09, 2000 at 08:15:33AM +0200 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 09, 2000 at 08:15:33AM +0200, Ariel Burbaickij wrote: > I am debugging some programm of mine with ddd as frontend.I see > soem functions I have neither defined nor declared nor included > of the form: static __inline int > __isctype(_BSD_CT_RUNE_T_ _c, unsigned long _f) > { > return (_c < 0 || _c >= _CACHED_RUNES) ? 0 : > !!(_DefaultRuneLocale.runetype[_c] & _f); > } > or static __inline _BSD_CT_RUNE_T_ > __toupper(_BSD_CT_RUNE_T_ _c) > { > return (_c < 0 || _c >= _CACHED_RUNES) ? ___toupper(_c) : > _CurrentRuneLocale->mapupper[_c]; > } > They hinder to see the structure of programm to me and are rather > cumbersome. How can I inhibit them showing up in the listing ? > Look in /usr/include/ctype.h. The functions are implemented as macros. I had the same problem recently and couldn't find a way (either in ddd or gdb) to stop it. The only thing I can suggest is to step over calls to isspace(), toupper() etc. If there is a way to stop this I'd be interested in knowing. > > Regards, > Ariel > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message