From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9695 invoked by alias); 15 Oct 2004 07:30:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9685 invoked from network); 15 Oct 2004 07:30:46 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 15 Oct 2004 07:30:46 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id ADEF947D9A; Fri, 15 Oct 2004 00:30:45 -0700 (PDT) Date: Fri, 15 Oct 2004 07:30:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [PATCH/mips] small code reordering... Message-ID: <20041015073045.GP1375@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-10/txt/msg00269.txt.bz2 Hello, The attached patch does a bit of code reordering. The idea was to get rid of the following FIXME introduced in the previous change (to avoid bloating the patch with code-moving changes): /* FIXME: brobecker/2004-10-15: I suspect these two declarations can be removed by a better ordering of the functions below. But I want to do that as a separate change later in order to separate real changes and changes that just move some code around. */ It turns out that I find the new location to be more natural anyway, so I think the move was more than worthwhile. Sorry for the obfuscated diff. It's just all cut, move, paste actions. 2004-10-15 Joel Brobecker * mips-tdep.c (mips32_scan_prologue): Move the implementation up a bit to avoid the necessity of an advance declaration. Remove declaration. (set_reg_offset): Move implemenation up. (mips16_get_imm): Likewise. (mips16_scan_prologue): Likewise. (reset_saved_regs): Likewise. (mips32_scan_prologue): Likewise. Comitted. -- Joel