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
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies