diff options
author | Mark Harmstone <mark@harmstone.com> | 2022-12-09 01:52:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-12-23 19:37:57 +1030 |
commit | 803561cb74922892a0c22ea4ff0564f448796c1c (patch) | |
tree | db918dc778815918fc7cd530d3ff7234fd45c339 /ld/pdb.h | |
parent | f559276dc5f1ac25ca5c310135287dc20c2925e8 (diff) | |
download | gdb-803561cb74922892a0c22ea4ff0564f448796c1c.zip gdb-803561cb74922892a0c22ea4ff0564f448796c1c.tar.gz gdb-803561cb74922892a0c22ea4ff0564f448796c1c.tar.bz2 |
ld: Write DEBUG_S_FILECHKSMS entries in PDBs
Diffstat (limited to 'ld/pdb.h')
-rw-r--r-- | ld/pdb.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -156,6 +156,7 @@ struct optional_dbg_header #define CV_SIGNATURE_C13 4 #define DEBUG_S_STRINGTABLE 0xf3 +#define DEBUG_S_FILECHKSMS 0xf4 #define STRING_TABLE_SIGNATURE 0xeffeeffe #define STRING_TABLE_VERSION 1 @@ -200,6 +201,14 @@ struct module_info uint32_t pdb_file_path_name_index; }; +/* filedata in dumpsym7.cpp */ +struct file_checksum +{ + uint32_t file_id; + uint8_t checksum_length; + uint8_t checksum_type; +} ATTRIBUTE_PACKED; + extern bool create_pdb_file (bfd *, const char *, const unsigned char *); #endif |