Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb6/gdb Change to reflect switchframe/callframe ch...



details:   https://anonhg.NetBSD.org/src/rev/904a61def03c
branches:  trunk
changeset: 760983:904a61def03c
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 18 01:28:19 2011 +0000

description:
Change to reflect switchframe/callframe changes.

diffstat:

 gnu/dist/gdb6/gdb/ppcnbsd-nat.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (34 lines):

diff -r 32dc11cd09d0 -r 904a61def03c gnu/dist/gdb6/gdb/ppcnbsd-nat.c
--- a/gnu/dist/gdb6/gdb/ppcnbsd-nat.c   Tue Jan 18 01:27:16 2011 +0000
+++ b/gnu/dist/gdb6/gdb/ppcnbsd-nat.c   Tue Jan 18 01:28:19 2011 +0000
@@ -157,20 +157,20 @@
     return 0;
 
   read_memory (pcb->pcb_sp, (gdb_byte *)&sf, sizeof sf);
-  regcache_raw_supply (regcache, tdep->ppc_cr_regnum, &sf.cr);
-  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 2, &sf.fixreg2);
+  regcache_raw_supply (regcache, tdep->ppc_cr_regnum, &sf.sf_cr);
+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 2, &sf.sf_fixreg2);
   for (i = 0 ; i < 19 ; i++)
     regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 13 + i,
-                        &sf.fixreg[i]);
+                        &sf.sf_fixreg[i]);
 
-  read_memory(sf.sp, (gdb_byte *)&cf, sizeof(cf));
-  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 30, &cf.r30);
-  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 31, &cf.r31);
-  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 1, &cf.sp);
+  read_memory(sf.sf_sp, (gdb_byte *)&cf, sizeof(cf));
+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 30, &cf.cf_r30);
+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 31, &cf.cf_r31);
+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 1, &cf.cf_sp);
 
-  read_memory(cf.sp, (gdb_byte *)&cf, sizeof(cf));
-  regcache_raw_supply (regcache, tdep->ppc_lr_regnum, &cf.lr);
-  regcache_raw_supply (regcache, PC_REGNUM, &cf.lr);
+  read_memory(cf.cf_sp, (gdb_byte *)&cf, sizeof(cf));
+  regcache_raw_supply (regcache, tdep->ppc_lr_regnum, &cf.cf_lr);
+  regcache_raw_supply (regcache, PC_REGNUM, &cf.cf_lr);
 
   return 1;
 }



Home | Main Index | Thread Index | Old Index