From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8614 invoked by alias); 8 Feb 2002 10:22:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8538 invoked from network); 8 Feb 2002 10:22:26 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 8 Feb 2002 10:22:26 -0000 Received: by fw-cam.cambridge.arm.com; id KAA15940; Fri, 8 Feb 2002 10:22:24 GMT Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma015177; Fri, 8 Feb 02 10:21:43 GMT Received: from cam-mail2.cambridge.arm.com (localhost [127.0.0.1]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id KAA21402; Fri, 8 Feb 2002 10:21:42 GMT Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id KAA01070; Fri, 8 Feb 2002 10:21:41 GMT Message-Id: <200202081021.KAA01070@cam-mail2.cambridge.arm.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrew Cagney cc: Richard.Earnshaw@arm.com, gdb@sources.redhat.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: multi-arch debug doesn't dump definitions as requested In-reply-to: Your message of "Thu, 07 Feb 2002 21:38:02 EST." <3C633A0A.1040906@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 08 Feb 2002 02:22:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-02/txt/msg00128.txt.bz2 > > Try: > > (gdb) maint print architecture [ ] > > and look at sizeof.exp. > > The lack of output comes, at least in part, because it isn't possible to > print the macros/values safely. > > Andrew Thanks. Shouldn't http://sources.redhat.com/gdb/papers/multi-arch/howto.ht ml be updated to show this. At present it says: Add: #ifndef GDB_MULTI_ARCH #define GDB_MULTI_ARCH 1 #endif to the top of your tm-XXX.h file. Rebuild and then run GDB vis: gdb/gdb (gdb) (gdb) set archdebug 1 (gdb) file x-y-z .... If all goes well, gdb will report the current value of all the architecture dependent macro's. ...