From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23683 invoked by alias); 11 Oct 2004 01:07:54 -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 23571 invoked from network); 11 Oct 2004 01:07:51 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 11 Oct 2004 01:07:51 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 65D1D47D98; Sun, 10 Oct 2004 18:07:51 -0700 (PDT) Date: Mon, 11 Oct 2004 01:07:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [PATCH/mips] mips16 frame code simplification Message-ID: <20041011010751.GC24257@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/msg00174.txt.bz2 (Andrew, if you could look at this change, just to make sure there's no obvious screwup. Thanks!) This is the mips16 counterpart of a simplification I made on 2004-09-14 for mips32: http://sources.redhat.com/ml/gdb-patches/2004-09/msg00245.html 2004-10-10 Joel Brobecker * mips-tdep.c (mips16_decode_reg_save): Delete, no longer used. (mips_insn16_frame_cache): Pass frame cache in call to heuristic_proc_desc. Move some code to mips16_heuristic_proc_desc. Remove code that became redundant as a consequence. (mips32_heuristic_proc_desc): No longer compute a fake procedure descriptor. Compute the full frame cache instead. Some minor comment reformatting. Not having a mips16 target handy, I couldn't test this change. However, it just basically did the same work than I did for mips32, with extra care as to what I was doing. And I also verified that this code still builds. This should open the door to further cleanups in this file. Comitted, -- Joel