>>   gcc -g --all-warnings -Wall -Wextra -o p1.exe main.c
>
> -g produces debug information in the default format, maybe you need to use 
> -ggdb to get "debug information in default extended format". (It might also 
> be useful to try the build with the additional switches 
> -feliminate-unused-debug-symbols and -feliminate-unused-debug-types.)

I've just tried to compile like this:
  gcc -ggdb --all-warnings -Wall -Wextra
-feliminate-unused-debug-symbols -feliminate-unused-debug-types -o
p1.exe main.c

But that does not help.  Same result.

Thank you.

-- 
Dani Moncayo

Reply via email to