Forum Discussion
Altera_Forum
Honored Contributor
15 years agoelf2flt usage
I have problem to convert compiled by nios2-ide elf-file to flat. It is easy to compile single c file using nios2-linux-uclibc-gcc hello.c -o hello -elf2flt but its hard when there are i...
Altera_Forum
Honored Contributor
15 years agoDrivers can't be debugged with gdb. Here kgdb needs to be used, but AFAIK, most developers don't use a debugger with this stuff, but just log file output.
Of course you can use Eclipse to edit Kernel drivers and you can configurte Eclipse to compile them AFAIK, technically, it is possible to use KGDB with a serial interface to debug Kernel drivers and configure eclipse to remote-control KGDB, but I am not aware of anybody doing this. It might be possible to run the komplete system (Kernel and applications) with nios2-ide but I don't know if this makes much sense. Maybe someone who tried it might jump in here. -Michael