Compile with debugging information.
Add kernel.c dependency for kernel.o.
Remove build target.
Add debug target.
Add .gdbinit file for debug target.
Implement I/O port and console functions.