The configuration method of embedded Linux remote debugging with ECLIPSE+GDB for ARM board __linux

Source: Internet
Author: User

1. Install Eclipse plugin: Zylin Embedded CDT
Go to Help menu-> Software Updates-> Available Software Add Site
Input HTTP://OPENSOURCE.ZYLIN.COM/ZYLINCDT
Install

2, on the target board running Gdbserver
Gdbserver 192.168.4.244:2345 foo
Where 192.168.4.244 is the remote host's ip,2345 is the port used by the target board. Foo is the executable file to debug.
You can debug a program in an NFS partition directly by mounting an NFS partition so that you avoid copying the program to the target board every time you debug.

3. Configure Zylin
Go to the Run menu-> Debug Configurations-> zylin Embedded Debug (Native)
Create a new Debug configuration
Enter the main tab and select the C + + project to be debugged;
Go to the Debugger tab and select the cross compiled GDB path, for example, my:/opt/nxp/gcc-4.3.2-glibc-2.7/gdb/bin/arm_v5t_le-gdb;
Enter the Commands tab to fill in the IP and port of the target board in the initialization command, such as Target remote 192.168.4.247:2345;

This article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/ZatoNeedHelp/archive/2010/08/13/5808291.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.