Troubleshooting GDB Debug Core file function name display as question mark

Source: Internet
Author: User

About GDB Debugging a core file is always a question of a bunch of question marks

Problem Description: You have added-G to the compilation option, but when you view the core file, it is a bunch of question marks, using the command: Gdb-c core


Solution: Since the use of gdb-c core is not very well supported in some systems, the following two methods are recommended:

1) gdb exe

(GDB) Core-file core


2) Gdb-c Core

(gdb) file exe



Troubleshooting GDB Debug Core file function name display as question mark

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.