------- Comment #18 from joel at gcc dot gnu dot org 2008-02-22 22:35 ------- (In reply to comment #17) > If you have it on CFARM let me know where and what command to launch to gdb > your testcase.
I have been building and running it on my laptop but there is now enough on CFARM to run it. qemu -M isapc -m 8 -boot a -fda /home/joel/qemu/pc386_fda \ -hda fat:/home/joel/qemu/hd -serial stdio will run the program without a debugger. It pops up an xterm-ish thing and shows a srub menu before the output switches to the serial port which is redirected to stdio. Just copy /home/joel/qemu from gcc12 and change paths as appropriate. Add "-s" on the end of the qemu command line and it has a gdb server. Start qemu and quickly in another window do this: gdb --command g t.exe g has a "target remote" command in it which attaches to the qemu. qemu has some debug trace which is interesting and how I got started. Add "-d in_asm,cpu" and will dump a lot of info on assembly instructions and cpu state into /tmp/qemu.log. For your convenience, there is a pr35284-a/ subdirectory under ~/qemu which is a copy of my current build directory. > What does RTEMS ada_pthread_minimum_stack_size returns in both case (under > gdb)? > 16K. Just like a good one line routine should. :-D I will email you from my gmail account so if you need to ping me this weekend you can. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35284