Debugging with gdbserver slow
Hi everyone,
Im using gdbserver to debug Linux apps on my embedded board, but it takes like 3-6 sec to step one line of code. Its about the same to go from breakpoint to breakpont. Im using TCP to connect the host to the target. Is this typical or is there some setting wrong or was it built wrong. Its a PPC405 in a Xilinx FPGA.
Thanks
khollan
Signature · 2 lines
View this message in context: http://www.nabble.com/Debugging-with-gdbserver-slow-tf4846374.html#a13865715 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 9 lines · khollan
Hi everyone,
Im using gdbserver to debug Linux apps on my embedded board, but it takes like 3-6 sec to step one line of code. Its about the same to go from breakpoint to breakpont. Im using TCP to connect the host to the target. Is this typical or is there some setting wrong or was it built wrong. Its a PPC405 in a Xilinx FPGA.
Quoted 4 lines
Thanks
khollan
How long does it take everyone else to step through code serial or TCP?
Signature · 2 lines
View this message in context: http://www.nabble.com/Debugging-with-gdbserver-slow-tf4846374.html#a13951808 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Fixed. It turns out it was because I'm using VMWare to run Linux on my windows computer. I booted up Linux natively and it stepped through code very fast even in multi threaded apps.
Signature · 2 lines
View this message in context: http://www.nabble.com/Debugging-with-gdbserver-slow-tf4846374.html#a13980499 Sent from the linuxppc-embedded mailing list archive at Nabble.com.