Hello. Zhou Rui wrote:
> I'm using ELDK4.1 for development on PowerPC405EP board, which is > PPChameleonEVB. For kernel 2.6.19.2 provided with ELDK4.1, it seems no > appropriate KGDB patch from http://kgdb.linsyssoft.com/ for this version of > kernel. So I use the option: > Kernel hacking ---> > [*] Include kgdb kernel debugger > Serial Port (ttyS0) ---> > While I'm using GDB to debug, I always got error message "Can't send signals > to this remote system. SIGILL not sent." as below. So is there any advice to > solve this problem? Well, that seems normal -- KGDB just can't handle this packet. There's no point sending signals to the kernel -- they're only for userspace, IIUC. > I also have tried to patch KGDB 2.4 for 2.6.15.5 kernel on 2.6.15 provided > with ELDK4.0. The patching procedure seems okay, but when I compile for > PowerPC405 and 440 board, it always fails like this: > For 405: > CC arch/ppc/syslib/gen550_dbg.o > LD arch/ppc/syslib/built-in.o > AS arch/powerpc/sysdev/dcr.o > LD arch/powerpc/sysdev/built-in.o > CC arch/powerpc/lib/bitops.o > LD arch/powerpc/lib/built-in.o > CC arch/ppc/platforms/4xx/ppchameleon.o > arch/ppc/platforms/4xx/ppchameleon.c: In function 'platform_init': > arch/ppc/platforms/4xx/ppchameleon.c:252: error: 'struct machdep_calls' has > no member named 'early_serial_map' > make[1]: *** [arch/ppc/platforms/4xx/ppchameleon.o] Error 1 > make: *** [arch/ppc/platforms/4xx] Error 2 > > For 440: > LD arch/ppc/syslib/built-in.o > CC arch/powerpc/sysdev/indirect_pci.o > AS arch/powerpc/sysdev/dcr.o > LD arch/powerpc/sysdev/built-in.o > CC arch/powerpc/lib/bitops.o > LD arch/powerpc/lib/built-in.o > CC arch/ppc/platforms/4xx/yosemite.o > arch/ppc/platforms/4xx/yosemite.c: In function 'yosemite_early_serial_map': > arch/ppc/platforms/4xx/yosemite.c:288: warning: implicit declaration of > function 'gen550_init' > arch/ppc/platforms/4xx/yosemite.c: In function 'platform_init': > arch/ppc/platforms/4xx/yosemite.c:349: error: 'struct machdep_calls' has no > member named 'early_serial_map' > make[1]: *** [arch/ppc/platforms/4xx/yosemite.o] Error 1 > make: *** [arch/ppc/platforms/4xx] Error 2 > Would anyone like to give me some informaiton to solve this error? I'm going to post a patch I have for arch/ppc/ -- we'll see if it fixes the complilation issues. WBR, Sergei ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
