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] 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] debugging

2008-03-07 Thread Jeff Dike
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 > Attaching to program: /mnt/space/umlkernel/linux, process 1 F

[uml-user] debugging

2008-03-07 Thread rajesh R
I am trying to debug module under UML architecture, i have tried to solve it . But getting stuck where i want to "attach". Below are the steps taken : /mnt/space/umlkernel # gdb ./linux GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General

Re: [uml-user] debugging application inside UML Kernel

2007-05-01 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Pranjal Kumar Dutta wrote: > Hi, > I need to debug an application running inside a UML kernel. Now > to do gdb to the running process in side UML. My application has its own > shell (CLI) and I need to debug events caused by the CLI. Can't yo

[uml-user] debugging application inside UML Kernel

2007-04-30 Thread Pranjal Kumar Dutta
Hi, I need to debug an application running inside a UML kernel. Now to do gdb to the running process in side UML. My application has its own shell (CLI) and I need to debug events caused by the CLI. So I need to start a xterm inside UML kernel to start gdb and attach to my application. How

Re: [uml-user] Debugging Modules in SKAS Mode

2006-08-05 Thread Blaisorblade
On Friday 04 August 2006 02:03, Rick Spillane wrote: > How do I debug modules with the new UML? I searched around the old > website, and the link pointing to the handy-sounding script that does > it for you is broken > (http://user-mode-linux.sourceforge.net/dl-sf#UML%20utilities), this > link came

[uml-user] Debugging Modules in SKAS Mode: Wrong List

2006-08-03 Thread Rick Spillane
I apologize, this is the wrong list. -- Rick [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business top

[uml-user] Debugging Modules in SKAS Mode

2006-08-03 Thread Rick Spillane
How do I debug modules with the new UML? I searched around the old website, and the link pointing to the handy-sounding script that does it for you is broken (http://user-mode-linux.sourceforge.net/dl-sf#UML%20utilities), this link came from http://user-mode-linux.sourceforge.net/debugging.html und

Re: [uml-user] Debugging kernel: break on every instruction?

2005-05-02 Thread Blaisorblade
On Monday 02 May 2005 10:59, [EMAIL PROTECTED] wrote: > I tried to use gdb on the kernel to analyze the TCP/IP stack. After the > first breakpoint I get a non-ending series of SIGTRAPs (I'm not sure > whether it's for every instruction or every line of code), which makes > debugging impossible. The

[uml-user] Debugging kernel: break on every instruction?

2005-05-02 Thread urs . hunkeler
I tried to use gdb on the kernel to analyze the TCP/IP stack. After the first breakpoint I get a non-ending series of SIGTRAPs (I'm not sure whether it's for every instruction or every line of code), which makes debugging impossible. The behaviour persists also after deleting all breakpoints (ie. I

[uml-user] Debugging kernel modules under SKAS with host/guest kernel 2.6.9

2005-01-25 Thread Olivier Smeesters
Hi, I'm using linux kernel 2.6.9 for both the host and the guest. I'm trying to debug a kernel module I'm writing. Unfortunately, the procedures that are described on UML web site are not usable because they refer to structure/field/variable names which are not valid anymore in 2.6.9. As far as