Commit Graph

127 Commits

Author SHA1 Message Date
Eric Pouech
2c2da87ccd dbghelp: Don't try to load fieldlist for a forward declaration. 2011-05-02 12:36:05 +02:00
Peter Urbanec
de4040699a dbghelp: Prevent winedbg page faults when loading some PDBs generated by the Intel C Compiler. 2011-04-29 16:56:30 +02:00
Eric Pouech
2dd45a12c1 dbghelp: For codeview/bprel symbols force the register to be EBP, other CPUs should use regrel symbol instead of bprel. 2011-04-12 12:49:34 +02:00
Eric Pouech
ab9cc3e9dc dbghelp: In msc unwinding code (from FPO extended data), take care of cases where several variables are stored in the same hash. 2011-03-14 13:19:41 +01:00
Eric Pouech
935ac12d04 dbghelp: Properly declare variables with thread storage from codeview debug format. 2011-01-31 14:30:25 +01:00
Eric Pouech
031cce8e77 dbghelp: Added support for variables in thread storage. 2011-01-31 14:30:13 +01:00
Eric Pouech
67a55feeaf dbghelp, winedump: Added definition for S_FRAMEPROC_V2 symbol (CodeView). 2011-01-19 12:25:05 +01:00
Eric Pouech
e72d5d6de4 dbghelp: When failing to look up for a PDB file, don't keep a module format object around. 2011-01-18 12:36:36 +01:00
Eric Pouech
711f71639d dbghelp: Get stream indexes out of PDB files (instead of hardwired values). 2011-01-18 12:36:30 +01:00
Eric Pouech
8595f6c652 dbghelp: Add support for stream lookup by name in PDB files and use it for strings stream. 2011-01-18 12:36:21 +01:00
Alexandre Julliard
cf1cd33570 dbghelp: Support pointer types of various sizes. 2011-01-13 20:09:49 +01:00
Alexandre Julliard
530e9c9b17 dbghelp: Try to load the string table from file number 4 too. 2011-01-12 10:45:49 +01:00
Eric Pouech
99439e7589 dbghelp: Added preliminary extended FPO information out of PDB files. 2011-01-10 12:52:18 +01:00
Eric Pouech
5ce195ae89 dbghelp: Keep the mapping of any PDB file open until the module is unloaded. 2011-01-10 12:52:11 +01:00
Eric Pouech
0693572e4c dbghelp: Use new file/debug format framework to allow keeping pdb files opened. 2011-01-10 12:52:01 +01:00
Eric Pouech
1acbb1c0ed dbghelp: Restructure internal PDB information. 2011-01-10 12:51:39 +01:00
Eric Pouech
8d981b87f1 dbghelp: Proper support and definition for S_REGREL_V3. 2010-10-11 17:11:24 +02:00
Eric Pouech
580cab9d8b dbghelp: A couple of fixes for 64bit msvc debug info compatibility. 2010-10-11 17:08:13 +02:00
Eric Pouech
b164155447 dbghelp: Added a couple of missing CodeView base types (used in 64bit compilation). 2010-10-11 17:08:13 +02:00
Alistair Leslie-Hughes
d02040d98a dbghelp: Add basic support for PVOID64. 2010-02-08 17:14:43 +01:00
Eric Pouech
181de55619 dbghelp: Removed some unused fields for public symbol description. 2010-01-25 12:52:46 +01:00
Eric Pouech
92b9b0940d dbghelp: Wrap the symt* <=> index transformations. 2009-12-15 11:56:45 +01:00
Eric Pouech
ed786fbae4 dbghelp: Correctly compute offsets in line number information. 2009-11-23 10:36:09 +01:00
Eric Pouech
9d80b19e83 dbghelp: Revisit array len description for debug format parsers.
One can now pass -1 as array len so that its size will be computed
later on (useful for dealing with forward declarations where size is
not known at array definition).
2009-11-23 10:36:02 +01:00
Eric Pouech
64144519a0 winedump, dbghelp: In .pdb files (>= VC2005), handle the case where the codeview_linetab2_file structure is not the first one. 2009-11-03 21:20:21 +01:00
Alexandre Julliard
75792a3e69 dbghelp: Grow all arrays by doubling the size. 2009-07-10 14:46:55 +02:00
Eric Pouech
9c54158958 dbghelp: Added reference for MSVC 8.
A+
2009-06-29 13:14:04 +02:00
Austin English
28fe3f76c0 dbghelp: Change pointer cast to DWORD_PTR. 2009-02-23 13:14:18 +01:00
Eric Pouech
c83039bd6e dbghelp: Fix bad call to free() instead of pdb_free(). 2009-02-11 12:29:37 +01:00
Michael Stefaniuc
3c3a9b5081 dbghelp: Remove superfluous pointer casts. 2009-01-19 13:36:25 +01:00
Eric Pouech
fe734de8d9 dbghelp: Fix all forward declaration cases for UDT. 2008-11-10 11:59:21 +01:00
Eric Pouech
01e69c71e0 dbghelp: Report in module's info when a module's debug information has been mismatched (dbg and pdb only). 2008-10-20 13:52:16 +02:00
Eric Pouech
9bc74e3ab6 dbghelp: Add support for the newest line number information in pdb files. 2008-10-01 09:51:51 -05:00
Eric Pouech
3dc37cbf94 dbghelp: Rewrote the linetab access so that we don't need to allocate intermediate information. 2008-10-01 09:51:44 -05:00
Eric Pouech
864a60d5ba dbghelp: Added support for real80 (aka long double) in inner codeview types. 2008-10-01 09:50:35 -05:00
Eric Pouech
1a1be65e8e dbghelp: Now fully reading the leafs as variant for constants.
Also added missing creation for V3 constants.
2008-10-01 09:50:28 -05:00
Eric Pouech
81df3de0fc dbghelp,winedump: Added support for symbol symbol. 2008-10-01 09:50:02 -05:00
Eric Pouech
028956d1fe dbghelp,winedump: Added support for symbol 0x113c. 2008-10-01 09:49:54 -05:00
Eric Pouech
82d1845d85 dbghelp,winedump: Added support for 0x113d symbol. 2008-10-01 09:49:45 -05:00
Eric Pouech
1a6e018f0e dbghelp: Silence symbol 0x1139. 2008-10-01 09:49:32 -05:00
Eric Pouech
cff33cedf5 winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols. 2008-10-01 09:49:24 -05:00
Eric Pouech
076dcc845f dbghelp,winedump: Added support for symbol 0x1012. 2008-10-01 09:48:32 -05:00
Eric Pouech
ee4aaf7fcd dbghelp,winedump: Added support for symbol 0x113a. 2008-10-01 09:48:20 -05:00
Andrew Talbot
c9563e10fc dbghelp: Sign-compare warnings fix. 2008-09-25 11:28:58 +02:00
Eric Pouech
69bbefac5f dbghelp: While loading MSC debug info, don't handle public symbol at once, but delay their handling after all other symbols are loaded.
This allows to handle properly addresses between public and real
symbols. It should also increase drastically the performance of
.dbg/.pdb loading.
2008-09-08 12:47:21 +02:00
Eric Pouech
2f98c59adb dbghelp: Silence 0x112c symbol type. 2008-09-08 12:47:21 +02:00
Eric Pouech
b5ffe31d22 dbghelp: Fixed offset computation for bitfields inside structures in Codeview debug information. 2008-09-08 12:47:20 +02:00
Eric Pouech
d600115387 dbghelp: Improve the symbol loader.
When looking for a PDB file, no longer use SymFindFileInPath as it
doesn't actually check the signatures, but use an internal function
instead.
2008-09-04 13:46:54 +02:00
Eric Pouech
f3c071660d winedump, dbghelp: Correctly name the age field in PDB headers. 2008-09-02 11:57:04 +02:00
Eric Pouech
5ccf6a3394 dbghelp: Prevent debug overflow of internal buffer while tracing. 2008-05-01 11:13:01 +02:00