View | Details | Raw Unified | Return to bug 215868
Collapse All | Expand All

(-)devel/gdb/files/kgdb/ppcfbsd-kern.c (-1 / +1 lines)
Lines 58-64 ppcfbsd_supply_pcb(struct regcache *regcache, CORE_ADDR pcb_addr) Link Here
58
58
59
	tdep = gdbarch_tdep (target_gdbarch());
59
	tdep = gdbarch_tdep (target_gdbarch());
60
60
61
	if (target_read_memory(pcb_addr, &pcb, sizeof(pcb)) != 0)
61
	if (target_read_memory(pcb_addr, (gdb_byte *)&pcb, sizeof(pcb)) != 0)
62
		memset(&pcb, 0, sizeof(pcb));
62
		memset(&pcb, 0, sizeof(pcb));
63
63
64
	/*
64
	/*

Return to bug 215868