Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] Don't print saved registers with no name
@ 2003-09-22 16:22 Daniel Jacobowitz
  2003-09-22 16:28 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-09-22 16:22 UTC (permalink / raw)
  To: gdb-patches

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  <drow@mvista.com>

	* 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.  */


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-25 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22 16:22 [patch] Don't print saved registers with no name Daniel Jacobowitz
2003-09-22 16:28 ` Andrew Cagney
2003-09-23 20:30   ` Daniel Jacobowitz
2003-09-23 21:23     ` Andrew Cagney
2003-09-25 16:12       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox