winedbg can't find symbol in module notepad

Questions about Wine on Linux
Post Reply
yhm
Newbie
Newbie
Posts: 1
Joined: Tue Nov 12, 2019 1:39 am

winedbg can't find symbol in module notepad

Post by yhm » Thu Jan 07, 2021 8:11 am

Hi:

I am trying to debug the native notepad.exe, and I have notepad.pdb.
When I run winedbg --gdb --with-xterm ./notepad.exe , I'm sure that the notepad.pdb has loaded.
The trace like this:
0100:trace:dbghelp_msc:path_find_symbol_file (pcs = 0000000000014D30, full_path = "notepad.pdb", guid = {9963946b-9503-4b35-aa1d-5fd34dd11afc}, dw1 = 0x00000000, dw2 = 0x00000002, buffer = 000000000021E190)
0100:trace:dbghelp_msc:pdb_init PDB(notepad.pdb): "Microsoft C/C++ MSF 7.00\r\n\x1aDS\x00\
0100:warn:dbghelp_msc:pdb_init Found notepad.pdb, but wrong age: 00000003 00000002
0100:trace:dbghelp_msc:pdb_init found DS for notepad.pdb: age=3 guid={9963946b-9503-4b35-aa1d-5fd34dd11afc}
0100:trace:dbghelp_msc:pdb_fetch_file_info ret:1 matched:2
0100:trace:dbghelp_msc:module_find_cb matched:2 mf->matched:0
0100:trace:dbghelp_msc:pdb_init PDB(notepad.pdb): "Microsoft C/C++ MSF 7.00\r\n\x1aDS\x00\
0100:warn:dbghelp_msc:pdb_init Found notepad.pdb, but wrong age: 00000003 00000002
0100:trace:dbghelp_msc:pdb_init found DS for notepad.pdb: age=3 guid={9963946b-9503-4b35-aa1d-5fd34dd11afc}

But, winedbg can't find symbol in module notepad, like this:
Wine-gdb> bt
#0 0x0000000100009092 in ?? ()
#1 0x0000000000000000 in ?? ()

What's the matter with it ? Please hlep me.

Post Reply