From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1665 invoked by alias); 16 May 2012 19:06:05 -0000 Received: (qmail 1656 invoked by uid 22791); 16 May 2012 19:06:04 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 May 2012 19:05:52 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 43D041C6F71; Wed, 16 May 2012 15:05:51 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O-dA1WH+zeyU; Wed, 16 May 2012 15:05:51 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id EC0791C6F6E; Wed, 16 May 2012 15:05:50 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 483DD145616; Wed, 16 May 2012 12:05:39 -0700 (PDT) Date: Wed, 16 May 2012 19:06:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Thomas Schwinge , gdb-patches@sourceware.org, Kevin Buettner , "Maciej W. Rozycki" Subject: Re: [SH] regs command Message-ID: <20120516190539.GZ10253@adacore.com> References: <87ehqkrzzw.fsf@schwinge.name> <20120516142633.GV10253@adacore.com> <87zk98qe8t.fsf@schwinge.name> <20120516165730.GY10253@adacore.com> <87pqa4qbzp.fsf@schwinge.name> <87r4ukox0y.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r4ukox0y.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00618.txt.bz2 > This means you registered "regs" before the thing it aliases was > registered. This can happen because _initialize_xxx order is not > defined. > > There's no easy fix :(. You could move "regs" initialization to a > better spot but then it will be visible in all builds of gdb, not just > those with this target compiled in. It seems better in that case to just go with what Thomas had initially, maybe just adding a comment why we don't use an alias? It's only for a few weeks... -- Joel