On Sunday 30 April 2006 14:00, [EMAIL PROTECTED] wrote: > On Fri, 28 Apr 2006, wangji wrote: > > I remark in the IDEintegration.html,a hint to run host_debugger_wrapper > > as ddd --debugger `/scratchbox/login -d $HOME armeb-linux-gdb ./progr ` > > Did anyone run his ,say armeb-gdbserver under emulation_qemu mode? Or it > > is assumed cpu_transparency mode !! (+ nfsmount of course) I got qemu not > > supporting syscall 26 ! > > Anyone got scratchbox working with anjuta_IDE ? details,please ! > > Thanks. > > The qemu doesn't support all neccessary syscalls that gdb uses. Qemu > should support gdb server mode though, try to start your program with > "qemu-arm -g your_prog" and then connect to it with ddd (used port was > 1234 if I remember it correctly, check it from qemu site). This way the > qemu replaces the gdb server part of ide integration page. Following > example should work: > > 1) Run qemu in sbox: > qemu-arm -g ./a.out > > 2) Start ddd: > ddd --debugger `/scratchbox/login -d $HOME armeb-linux-gdb ./a.out` > > 3) Connect to qemu: > (gdb) target remote HOST-IP:PORT > (gdb) break main > (gdb) cont > > It may have some instabilities, sometimes the program didn't segfault > because it was incorrect but because of qemu. I have witnessed situation > where program running normally with qemu segfaulted but worked when qemu > was single stepping it ;) Of course these situations are quite rare and > most of the time the gdb server mode is really usefull. hello, I did try as from sbox-armeb [sbox-armeb:~ ]qemu -g 1234 ./hello then from hostpc $> ddd --debugger `/scratchbox/login -d $HOME gdb` The graphic_ddd_popup does not appear ! while if I do $>ddd \ --debugger /scratchbox/compilers/armv5b-softfloat-linux/arch_tools/bin/gdb then it comes up normally ! I did check that execution of `/scratchbox/login -d $HOME which gdb` gave me the correct path! To be sure ,it 's not due to my home_made_armeb_toolchain,I did the same thing with arm-toolchain (from scratchbox'site) : I got blocked again at no GUI_ddd appearance. Where should I look more ? thanks
_______________________________________________ Scratchbox-devel mailing list [email protected] http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
