Home > OS >  [for] u - the boot GDB debugging to consult
[for] u - the boot GDB debugging to consult

Time:10-13

I can now use GDB on qemu - multiarch normal debug uboot, but in the process of uboot start would be to copy itself to another address and then run, GDB can't debugging. At this time to find a circle, can feel the command symbol - the file [filename [- o offset]] to solve. But using the command symbol - the file u - the boot -o 0 XXXXXXX, has been submitted to the "Unrecognized argument" -o ". "excuse me everybody presence of solution, or is there a better solution, thank you!

CodePudding user response:

Qemu + u - DGB debugging boot, u - the boot redirection after use the add - symbol - the file u - the boot 0 XXXXXXXXX, this need by u - 0 XXXXXXXXX address boot entry address + the relocate offset (r4 register recording the relocate offset),
  • Related