UML related query
Michael Blizek
michi1 at michaelblizek.twilightparadox.com
Thu Feb 24 13:07:28 EST 2011
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
More information about the Kernelnewbies
mailing list