Installation of GDB under Windows

Source: Internet
Author: User

As already mentioned in the installation of Windows gcc/g++, the MinGW Installation Manager MinGW component can be easily managed, so GDB is installed using the software.

Open MinGW Installation Manager

MinGW Installation Manager does not add a shortcut to the desktop after the installation is complete, so if you want to open MinGW Installation Manager, you can open the software from the MinGW menu in the Start menu.

If not in the Start menu, go directly to MinGW the folder under the installation directory (folder) bin . Run the file where the mingw-get.exe software opens.

If you can't find it, you can download it again and install it again, and it will remind you that you have installed the software and that you are ready to start it. runYou can also open the software by selecting the option. If you don't have a reminder, just re-install it again.

Installing the GDB Package

After opening MinGW installation Manager, locate the mingw32-gdb ( class as) option in the list bin , right-click Mark for Installation , and click on Installation the option under the top left menu Apply Changes to install.

Testing GDB

Open the command line and enter

gdb -v

Test version, if the resulting results are similar to

7.6.1Copyright <c> 2013 Free Software……

Such a large list of results indicates that GDB has been successfully installed.

At this point, GDB's installation is complete. Similarly, its command introduction will be explained later.

Installation of GDB under Windows

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.