[EMAIL PROTECTED] said:
> I've been tring to use gdb within UML. Is it supported/possible? 

Sure:

usermode:~# gdb getpid
GNU gdb 19990928
Copyright 1998 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 "i686-pc-linux-gnu"...
(gdb) l
1       int main(){ 
2         int i;
3
4         for(i=0;i<1000000;i++)
5           getpid(); 
6       }
(gdb) b 5
Breakpoint 1 at 0x8048400: file getpid.c, line 5.
(gdb) r
Starting program: /root/getpid 

Breakpoint 1, main () at getpid.c:5
5           getpid(); 
(gdb) c
Continuing.

Breakpoint 1, main () at getpid.c:5
5           getpid(); 

How about some more details?

                                Jeff




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to