[ELDK] target mpcbdm in ELDK 4.2

Afanasev Vladimir afanasevvg at mail.ru
Tue Jun 17 15:14:21 CEST 2008


Dear all.
When I use target mpcbdm in gdb, then I receive:
Program received signal SIGSEGV, Segmentation fault.
bdm_ppc_fetch_registers (regno=138850552) at ../../gdb/mpcbdm.c:2440
2440           val = ppc_read_bdm_register(bdm_regmap[i]);

In file mpcbdm.c
mpcbdm_ops.to_fetch_registers = bdm_ppc_fetch_registers;

In other source files (target.h)
void ( *to_fetch_registers) (struct regcache *,int);

The parameters of function are different.
How to improve this and related functions

With best regards
Vladimir Afanasev



More information about the eldk mailing list