Could somebody, please, recommend a stable combination of
the host/guest that was successfully debugged with gdb.
I've looked through blaisorblade's site that this mailing list archive
and tried the following combinations:
1. First of all it seems that CONFIG_FRAME_POINTER became
supported for UML starting with 2.6.11. So I tried 2.6.11+bs4
and 2.6.12+bs9
2. For the guest file system, I used fc3 image from
http://www.stearns.org/uml-root/
Also, I moved /usr/lib/tls to /usr/lib/tls.away inside the image.
3. For the host, I've tried FC3, FC4 and FC4 with latest updates.
Usually I run smp image, but I've tried single-processor versions
as well. On FC3 I've also tried renaming /lib/tls and /usr/lib/tls.
On FC4 I tried running guest with LD_LIBRARY_PATH=/lib/obsolete/linuxthreads
4. I used 6.1 gdb on FC3 and 6.1.1, 6.2.1 and 6.3 gdb on FC4
(6.3 is really bad... crashes as soon as you try to do list).
Basically, I was able to bring up and successfully use guest in any
of the above combinations. But when I try to bring it up under
gdb, I get various problems.
I follow instruction from UML site for debugging:
ddd gdb &
./linux debug gdb-pid=<gdb-pid>
then in gdb "att 1" and "c".
With FC4 host/2.6.12 guest all of the above would succeed. But as soon as I
interrupt execution or it stops on a breakpoint, it's impossible to
continue...
gdb just freezes.
With FC3 host/2.6.11 guest, gdb would freeze right after "att 1".
Other combinations of host/guest would produce one of the above results.
I'm able to debug 2.4.27 guest on RH9, but there is not frame pointers
in 2.4.27 UML. That is my goal. So any suggestions on getting host/guest
setup for debugging guest with frame pointer will be greatly appreciated.
Thank you
Alexei
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user