From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28090 invoked by alias); 15 May 2002 14:11:54 -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 28008 invoked from network); 15 May 2002 14:11:44 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 15 May 2002 14:11:44 -0000 Received: by fw-cam.cambridge.arm.com; id PAA00730; Wed, 15 May 2002 15:11:43 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma000200; Wed, 15 May 02 15:11:20 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id PAA12671; Wed, 15 May 2002 15:11:19 +0100 (BST) 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 PAA23686; Wed, 15 May 2002 15:11:19 +0100 (BST) Message-Id: <200205151411.PAA23686@cam-mail2.cambridge.arm.com> To: Andrew Cagney cc: Eli Zaretskii , 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 and user-control of architecture flags In-reply-to: Your message of "Wed, 15 May 2002 10:04:10 EDT." <3CE26ADA.4050007@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 07:11:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-05/txt/msg00163.txt.bz2 ac131313@cygnus.com said: > Have a look at the ``(gdb) set mips'' command ;-) Another group with > the same problem are the ``info'' commands. Hmm, yep, that looks like what I want. Note, however, there's something odd here... /* Add root prefix command for all "set mips"/"show mips" commands */ add_prefix_cmd ("mips", no_class, set_mips_command, "Various MIPS specific commands.", &setmipscmdlist, "set mips ", 0, &setlist); add_prefix_cmd ("mips", no_class, show_mips_command, "Various MIPS specific commands.", &showmipscmdlist, "show mips ", 0, &showlist); Then at the end of the file: /* Debug this files internals. */ add_show_from_set (add_set_cmd ("mips", class_maintenance, var_zinteger, &mips_debug, "Set mips debugging.\n\ When non-zero, mips specific debugging is enabled.", &setdebuglist), &showdebuglist); One of these must shadow the other.... R.