Re: Can I debug busybox program running on a qemu virtual machine using gdb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux