UML related query
From: Michael Blizek <hidden>
Date: 2011-02-24 18:07:28
From: Michael Blizek <hidden>
Date: 2011-02-24 18:07:28
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