I'm debugging Nix's reboot code.  The good news is that a straight reboot
now works.  The bad news is that jumping to a new kernel does not.  It
looks like it's dying in the reboot trampoline, which points to some
mis-managed expectation about machine state (page table, gdt?).

I'm trying to debug this with qemu and gdb, but though the elf generated by
'mk 9pc64.elf' is enough to run gdb and connect to the qemu-hosted kernel,
it has no debug symbols.  Operating with addresses gleaned from a .lst file
is less than pleasant.

Is there a way to generate symbols for functions in the .elf?

Thanks,
  Paul

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tf354217cf219d308-M62a7f89df970d81a846c9950
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to