-----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 you just do it from the console after boot?

>  So I need to
> start a xterm inside UML kernel to start gdb and attach to my
> application. How do I do that?
That's not really specific to UML, but there are a few options, the most
common ones being:
* ssh forwarding
* export DISPLAY=yourhostip:0

Antoine
> When I do xterm in UML, it says can't do
> display. How to I configure xterm in UML?
> If there is another process to debug such applications in UML?
>  
> Thanks,
> Pranjal
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> User-mode-linux-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGNz8FGK2zHPGK1rsRCsVBAJ9nNmbqyw+ex6iexcudAiIZ8mn+tQCfUYB3
beOUSvTcaeSdyErsX7PmOuw=
=Ps9K
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to