PowerPC kernels are fully relocatable and may be loaded at any memory address.
In order to resolve symbols properly, GDB must load the kernel symbol file relative to the base offset where it was loaded in memory.
The backtrace command wasn't working because of the following issues:
- Wrong indexing of pcb.pcb_context
- Initial PC register was not being supplied