Ckpyt
@Ckpyt

Отладка на CenotOS7 через VS2017. Как указать файлы символов и где их брать?

День добрый!
Создал тестовый проект, пытаюсь отладиться на виртуалке - и не получается. вот что оно выводит:
=thread-group-added,id="i1"
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Loaded 'shared libraries loaded at this time.'. Cannot find or open the symbol file.
[Inferior 1 (process 33399) exited with code 01]
Программа "" завершилась с кодом 0 (0x0).


сам код программы:
#include <cstdio>
#include <stdlib.h>
#include <stddef.h>
#include <cstdint>
#include <chrono>
#include <thread>
#include <mutex>

using namespace std;
int main()
{
	printf("Создали ССalculation, запускаем расчёт...\n");
	char msgBuf[1024];
	char logBuf[20 * 1024];
	printf("Произвели расчет. Код окончания выполнения: %d (%s)\nЛог расчета:\n%s", 0, msgBuf, logBuf);
	printf("Нажмите любую кнопку для выхода\n");

	return 0;
}


gcc проапргрейжен до версии 5,4 по инструкции с 14-ю плюсами:
https://stackoverflow.com/questions/36327805/how-t...
  • Вопрос задан
  • 372 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы