Re: [uml-user] debugging

2008-03-10 Thread rajesh R
On 3/7/08, Jeff Dike <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 07, 2008 at 05:56:48PM +0530, rajesh R wrote: > > (gdb) set args debug=parent gdb-pid=19137 > > (gdb) show args > > Argument list to give program being debugged when it is started is > > "debug=parent gdb-pid=19137". > > (gdb) att 1 >

Re: [uml-user] Question regarding possibility of porting of User Mode Linux on Minix

2008-03-10 Thread Pravin
> > The first thing to do is make sure you have a way of virtualizing > Linux (int 0x80/sysenter/syscall) system calls, which means that you > can prevent them from executing on the host, you can read the system > call and the arguments, and make it return with the result of your > choice, inc

Re: [uml-user] debugging

2008-03-10 Thread Jeff Dike
On Mon, Mar 10, 2008 at 05:46:05PM +0530, rajesh R wrote: > > Follow these instructions instead - > >http://user-mode-linux.sourceforge.net/hacking.html > > > > Now, it's no different from debugging anything else. > > > >Jeff > > > > > > -- > > Work email - jdike at

Re: [uml-user] Question regarding possibility of porting of User Mode Linux on Minix

2008-03-10 Thread Jeff Dike
On Mon, Mar 10, 2008 at 07:30:04PM +0530, Pravin wrote: > > > > You also need to be able to intercept and nullify signals. > > I am not very clear about this, But how does UML deals with interrupts > or how they r simulated ? ptrace allows child signals to be intercepted and nullified. Signals

Re: [uml-user] Question regarding possibility of porting of User Mode Linux on Minix

2008-03-10 Thread Pravin
> > ptrace allows child signals to be intercepted and nullified. Signals > from the host are the equivalent of hardware interrupts. The UML > kernel makes its own decisions about signals to its own processes, and > those are delivered in the same way as any other architecture. > > > > Is the