cs01 / cs01/gdbgui

Problems arise using gdbgui with mingw64 on Windows 10 x64

Open
#258 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

gdbgui doesn't seem to work as expected.

**To Reproduce**

Steps to reproduce the behavior:

1. Click on 'Load Binary' to load 'output.exe' (a simple hello world c project compiled with mingw64):

![image](https://user-images.githubusercontent.com/13739892/52284787-6259d180-2965-11e9-9ae9-33bddf50dd9b.png)

The following error appears after having clicked on "Load binary":

![image](https://user-images.githubusercontent.com/13739892/52284822-756ca180-2965-11e9-9333-51b4f7093da0.png)

![image](https://user-images.githubusercontent.com/13739892/52284862-89b09e80-2965-11e9-8e23-8f0f6bbed553.png)

2. Click on 'Fetch source files'. The following appears:

![image](https://user-images.githubusercontent.com/13739892/52284850-84535400-2965-11e9-9db1-d933d2048a77.png)

I can't see any reference to the source file where the main has been originally declared (e.g. Out_Converter.c)

3. Click on winnt.h source file. the following error appears:

![image](https://user-images.githubusercontent.com/13739892/52285035-eca23580-2965-11e9-9288-69065e29576a.png)

**Expected behavior**

I would expect gdbgui to correctly load the Out_Converter.c source file to start debugging the program (output.exe).

**Please complete the following information:**
* OS: Windows 10 Pro x64
* gdbgui version (`gdbgui -v`): 0.13.1.1
* gdb version (`gdb -v`): GNU gdb (GDB) 8.2
* browser [e.g. chrome, safari]: Chrome x64 v72.0.3626.81
* python packages (`pip freeze`):

intelhex==2.2.1
numpy==1.15.2
Pygments==2.3.1

* Python version (`python -v`): 2.7.15

**Additional context**

Add any other context about the problem here.

mingw64 is currently installed into C:\msys64:

![image](https://user-images.githubusercontent.com/13739892/52285446-a00b2a00-2966-11e9-9db4-b0b4f77a738e.png)

I'm running gdbgui_0.13.1.1.exe with no arguments.

'Out_Converter.c' is placed into its project folder.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.