I tested everything with in CLI with mingw32.exe and it all works fine. Knowing that I had this issue, I tried several things, adding xtensa itself to windows environmental variables PATH, adding the IDF_PATH there too. None of these seemed to fix the issue. Eventually I opened up Windows Cmd Prompt, navigating into the folder directly and running the command I get no output. If I check the error code I got "-1073741819" (or 0xC000 0005).
However, the app appears to work fine in mingw32.exe and in "bash (MINGW64 - installed with git)" to give:
Code: Select all
Ryan@DESKTOP-BEAST MINGW64 /c/msys32/opt/xtensa-esp32-elf/bin $ xtensa-esp32-elf-gdb.exe --version GNU gdb (crosstool-NG esp32-2019r1) 126.96.36.19980627-git Copyright (C) 2018 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-host_w64-mingw32 --target=xtensa-esp32-elf". 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".
I downloaded the lastest minw32 installation as suggested by the wiki from their link supplied.
Microsoft Windows (Pro) [Version 10.0.17763.557]
Version: Photon Release (4.8.0)
Build id: 20180619-1200
gcc (GCC) 7.4.0 (if this is how I get the version...stackoverflow seems to think so)