From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24142 invoked by alias); 6 Feb 2002 17:34:03 -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 24023 invoked from network); 6 Feb 2002 17:33:56 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 6 Feb 2002 17:33:56 -0000 Received: by fw-cam.cambridge.arm.com; id RAA06510; Wed, 6 Feb 2002 17:33:55 GMT Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma006184; Wed, 6 Feb 02 17:33:41 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 RAA06024 for ; Wed, 6 Feb 2002 17:33:40 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 RAA03457; Wed, 6 Feb 2002 17:33:40 GMT Message-Id: <200202061733.RAA03457@cam-mail2.cambridge.arm.com> X-Mailer: exmh version 2.0.2 2/24/98 To: gdb@sources.redhat.com cc: Richard.Earnshaw@arm.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: multi-arch debug doesn't dump definitions as requested Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 Feb 2002 09:34:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-02/txt/msg00115.txt.bz2 According to http://sources.redhat.com/gdb/papers/multi-arch/howto.html 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. At this stage must are still being taken from hardwired definitions in your tm-XXX.h file. Failing that, an internal error message reporting an uninitialised architecture vector member will be reported. Except that that doesn't happen. All I get is (gdb) set archdebug 1 Warning: command 'set archdebug' is deprecated. Use 'set debug arch'. (gdb) file gdb gdbarch_update: info.bfd_arch_info arm gdbarch_update: info.byte_order 1 (little) gdbarch_update: info.abfd 0x1d2e00 gdbarch_update: info.tdep_info 0x0 gdbarch_update: Architecture 0x001d3000 (arm) unchanged Reading symbols from gdb...done. Note, "set debug arch 1" doesn't do anything different either. How about a "maint" (or maint info) command? R.