win32: pe dwarf sections & option -g.pdb
commit452045422bdc0d25acdae2ffe688796c2dcb2516
authorgrischka <grischka>
Sun, 18 Jun 2023 17:58:16 +0000 (18 19:58 +0200)
committergrischka <grischka>
Wed, 6 Sep 2023 20:42:44 +0000 (6 22:42 +0200)
tree86c625763463e74b1acf9117ae370924f336a54b
parentcd75ca692a38466d1ff08ac9b60018695735d871
win32: pe dwarf sections & option -g.pdb

On windows, create a .pdb file with option "-g.pdb"
Such executables created by tcc can be debugged with
"ollydbg" or "x64dbg"

This currently relies on the 3rd party tool cv2pdb from
    https://github.com/rainers/cv2pdb
which again relies on
    mspdbsrv.exe mspdbcore.dll msobj80.dll mspdb80.dll
from a MSVC installation.

cv2pdb.exe + the ms* files may be put in the path or in the
same directory as tcc.exe.
libtcc.c
tcc.c
tccdbg.c
tccgen.c
tccpe.c