Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb fix powerpc support.
details: https://anonhg.NetBSD.org/src/rev/ce65944e1c1c
branches: trunk
changeset: 770241:ce65944e1c1c
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 09 02:07:24 2011 +0000
description:
fix powerpc support.
diffstat:
external/gpl3/gdb/dist/gdb/ppcnbsd-nat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 8fa2e5990b01 -r ce65944e1c1c external/gpl3/gdb/dist/gdb/ppcnbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/ppcnbsd-nat.c Sun Oct 09 02:03:30 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/ppcnbsd-nat.c Sun Oct 09 02:07:24 2011 +0000
@@ -167,14 +167,14 @@
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.sf-fixreg[i]);
+ &sf.sf_fixreg[i]);
- read_memory(sf.sp, (gdb_byte *)&cf, sizeof(cf));
+ 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));
+ 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, gdbarch_pc_regnum (gdbarch), &cf.cf_lr);
Home |
Main Index |
Thread Index |
Old Index