Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: actually use loop index
@ 2004-05-10 16:54 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-05-10 16:54 UTC (permalink / raw)
  To: gdb-patches

Committed as obvious.

2004-05-09  Jim Blandy  <jimb@redhat.com>

	* rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
	collect all the gprs.

*** gdb/rs6000-tdep.c	2004-05-07 17:50:47.000000000 -0500
--- gdb/rs6000-tdep.c	2004-05-09 05:37:20.000000000 -0500
*************** ppc_collect_gregset (const struct regset
*** 262,268 ****
    for (i = 0; i < 32; i++, offset += 4)
      {
        if (regnum == -1 || regnum == i)
! 	ppc_collect_reg (regcache, regnum, gregs, offset);
      }
  
    if (regnum == -1 || regnum == PC_REGNUM)
--- 262,268 ----
    for (i = 0; i < 32; i++, offset += 4)
      {
        if (regnum == -1 || regnum == i)
! 	ppc_collect_reg (regcache, i, gregs, offset);
      }
  
    if (regnum == -1 || regnum == PC_REGNUM)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-10 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-10 16:54 PATCH: actually use loop index Jim Blandy

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