From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22862 invoked by alias); 22 Sep 2003 16:22:04 -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 22855 invoked from network); 22 Sep 2003 16:22:03 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 22 Sep 2003 16:22:03 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A1TRq-0001IP-RS for ; Mon, 22 Sep 2003 12:22:02 -0400 Date: Mon, 22 Sep 2003 16:22:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: [patch] Don't print saved registers with no name Message-ID: <20030922162202.GA4953@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00466.txt.bz2 More cosmetic fallout from the MIPS pseudo-register handling. Register "" appeared many times in "info frame". I'll commit this in a day or two. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2003-09-22 Daniel Jacobowitz * stack.c (frame_info): Don't print saved registers with no name. --- stack.c.orig 2003-09-22 12:18:58.000000000 -0400 +++ stack.c 2003-09-22 12:19:42.000000000 -0400 @@ -1079,7 +1079,7 @@ count = 0; numregs = NUM_REGS + NUM_PSEUDO_REGS; for (i = 0; i < numregs; i++) - if (i != SP_REGNUM) + if (REGISTER_NAME (i) && REGISTER_NAME (i)[0] && i != SP_REGNUM) { /* Find out the location of the saved register without fetching the corresponding value. */