From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25045 invoked by alias); 2 Apr 2003 03:36:01 -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 25010 invoked from network); 2 Apr 2003 03:36:00 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 2 Apr 2003 03:36:00 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 98B4F2B23; Tue, 1 Apr 2003 22:35:38 -0500 (EST) Message-ID: <3E8A5A8A.3040702@redhat.com> Date: Wed, 02 Apr 2003 03:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] MIPS: Add mappings for HI and LO registers References: <1030331231105.ZM23361@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00026.txt.bz2 > I've recently submitted some gcc patches which add debug info related > mappings for the MIPS "hi" and "lo" registers. (Previously, if either of > these appeared in DWARF 2 debug output, they'd show up as -1.) > > The patch below adds the corresponding code for mapping these > registers from values that'll (hopefully soon) appear in debug info to > gdb's internal register numbers. > > The most recent patch on the gcc side is: > > http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02596.html > > Okay? (If so, I'll wait for approval on the gcc side before committing > this patch.) > > * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) > (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. > Yep. Andrew