Re: UML related query

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

 



Hi!

On 17:32 Thu 24 Feb     , mohit verma wrote:
> hi all
> 
> if i put a break point on a function in UML and want to pass arguments to it
> , how can it be done?

You can start uml in gdb e.g. like this:
gdb --args ./linux ubda=root.img
Then use the gdb same commands you would when you debug a user space program.
If you encounter segfauls during the boot of the uml, just ignore them and
type "cont". They are caught by a signal handler in the uml process and do not
cause any harm. But gdb will display them anyway.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://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