> I have 2 questions about UML gdb: > > 1.how to get the address of current process UML gdb? > It seems "esp & 0xffffe000" is not the correct address.
For most applications, the mention address-space is mapped to linux-gate.so, which to my understanding is a part of sysenter/tls implementation in glibc. Either make gdb breakpoint (since processes doing any system calls appear with this setup, or disable tls libraries. Atleast that works for my setup). To disable tls: mv /lib/tls /lib/tls-old and later to re-enable mv /lib/tls-old /lib/tls Hopes this gives any help. Stian ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel