NetBSD-Bugs archive

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

Re: toolchain/40300 ('target kvm' doesn't work on alpha)



On Tuesday 03 January 2012 18:21:28 Christos Zoulas wrote:
> On Jan 3,  2:42pm, dholland%NetBSD.org@localhost 
> (dholland%NetBSD.org@localhost) wrote:
> -- Subject: Re: toolchain/40300 ('target kvm' doesn't work on alpha)

This diff fixes live kernel target kvm for me - haven't tried crash dump.

Not sure if it's right.

Nick
Index: alphabsd-nat.c
===================================================================
RCS file: /cvsroot/src/external/gpl3/gdb/dist/gdb/alphabsd-nat.c,v
retrieving revision 1.3
diff -u -p -u -r1.3 alphabsd-nat.c
--- alphabsd-nat.c      10 Oct 2011 22:18:08 -0000      1.3
+++ alphabsd-nat.c      4 Jan 2012 07:50:37 -0000
@@ -180,6 +180,7 @@ alphabsd_supply_pcb (struct regcache *re
     return 0;
 
   regcache_raw_supply (regcache, ALPHA_SP_REGNUM, &pcb->pcb_hw.apcb_ksp);
+  regcache_raw_supply (regcache, ALPHA_GCC_FP_REGNUM, &pcb->pcb_hw.apcb_ksp);
 
   for (regnum = ALPHA_S0_REGNUM; regnum < ALPHA_A0_REGNUM; regnum++)
     regcache_raw_supply (regcache, regnum,


Home | Main Index | Thread Index | Old Index