From: <st...@ni...> - 2005-04-27 21:50:22
|
> 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 |