Hi,

If the goal is only to understand tftp and it's not something hardware dependend I would debug it on my normal desktop system/notebook. My distro (debian) has a busybox package. It does not provide the symlinks to change the ARGV[0] but you can create them manually and then debug locally as usually with your prefered tool (emacs recommended :) ).

If it has to be in quemu, I see no reason against it, the normal rules for remote debugging apply.

-- Richard Sailer

On 07/07/2022 11:27, Chan Kim wrote:
Hi all,

I'm trying to track how tftp program runs when I run tftp provided by
busybox on qemu virtual machine.
I can debug the linux source but I cannot debug tftp (busybox) program.
Can I debug busybox program using gdb in this case?
Any hint or advice will be very appreciated.
Thank you!

Chan Kim





_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to