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 Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".
(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
ptrace: Operation not permitted. ******** After this nothing is workable
********
The ps output :
/mnt/space/umlkernel # ps a
PID TTY STAT TIME COMMAND
--- snip-----
19137 pts/1 S+ 0:00 gdb ./linux
19138 pts/2 R+ 0:00 ps a
-- snip end ---
Thanks,
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user