Hi all,
I saw Scott’s responses below about how to add types to existing public symbols,
Title: !sysptes 4 and Windows 2003 R2 32bit Std/Ent
URL: http://www.osronline.com/showthread.cfm?link=193747h
Title: Is it possible to add missing symbols to public symbols in a windbg debugging session?
URL: http://stackoverflow.com/questions/4278146/is-it-possible-to-add-missing-symbols-to-public-symbols-in-a-windbg-debugging-ses
So I added some types(e.g. _IMAGE_DOS_HEADER) to existing ntdll.pdb using Scott’s way,however,I got the following error messages:
ntdll.c
ntdll.c(4): error C2011: ‘_IMAGE_DOS_HEADER’ : ‘struct’ type redefinition
ntdll.c(32): error C2011: ‘_IMAGE_FILE_HEADER’ : ‘struct’ type redefinition
…
I know " _IMAGE_DOS_HEADER: ‘struct’ type redefinition" means ‘_IMAGE_DOS_HEADER’ has been defined,
However, I still got the following error message (it means ‘_IMAGE_DOS_HEADER’ doesn’t exist. ) when I am trying to see the IMAGE_DOS_HEADER structure using the ‘dt’ command
0:000> dt _image_dos_header
Symbol _image_dos_header not found.
If anyone know how to solve the problem, please tell me know. thanks.
Best regards,
Matt