This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to connect ARM-DS debugger to Qemu

Hi All,

Qemu is a machine emulator software with inbuilt GDB server support for remote debugging through TCP.

I am trying emulate VerstailePB board and boot linux kernel over it . I am freezing the execution of cpu after restart and connecting it from a gdb client . In my case am using ARM DS-5 as gdb client to start the connection to Qemu .

I am get following error after connecting to Qemu from ARM DS-5 when i run the command "continue" to start the execution of cpu to boot linux kernel over VersatilePB board.

ERROR(CMD441-TAD8-NAL60):

! Continuing failed

! Unable to run device gdbserver

! Remote gdbserver did not recognize message

Regards,

shabarish

Parents
  • Hi Shabarish,

    It looks like the version mismatch between gdb client and gdb server. But I also notice that you are trying to do kernel debug, aren't you? gdb solution is more suitable for application debug.

    And DS-5 was not designed to work with Qemu officially. With some hacks, it might be able to do application level debug via gdb/gdbserver routine with Qemu. If you want to do kernel debug, you might want to build in gdb stub into the kernel.

    The official supported emulator/simulator is Fast Models/FVP(Fixed Virtual Platform). Not sure which DS-5 version you are using, but certain DS-5 editions include a FVP which you can have a try.

    Best regards,

    George

Reply
  • Hi Shabarish,

    It looks like the version mismatch between gdb client and gdb server. But I also notice that you are trying to do kernel debug, aren't you? gdb solution is more suitable for application debug.

    And DS-5 was not designed to work with Qemu officially. With some hacks, it might be able to do application level debug via gdb/gdbserver routine with Qemu. If you want to do kernel debug, you might want to build in gdb stub into the kernel.

    The official supported emulator/simulator is Fast Models/FVP(Fixed Virtual Platform). Not sure which DS-5 version you are using, but certain DS-5 editions include a FVP which you can have a try.

    Best regards,

    George

Children
No data