Commit Graph

712 Commits

Author SHA1 Message Date
André Hentschel 650e000bc9 dbghelp: Add some new dwarf enumerations. 2011-09-06 13:25:51 +02:00
Andrew Talbot 94c0407cac dbghelp: Constify some variables. 2011-08-23 16:53:52 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
André Hentschel e6390a5c7f dbghelp: One line only for the copyright. 2011-08-01 18:26:26 +02:00
Austin English 13d86cc0a3 dbghelp: Add stubs for SymEnumSourceLines/SymEnumSourceLinesW. 2011-07-18 16:23:29 +02:00
André Hentschel 5d0d2ef893 dbghelp: Remove dead code (clang). 2011-07-11 11:51:11 +02:00
Frédéric Delanoy e35cdaa138 dbghelp: Remove dead code (Clang). 2011-07-05 14:43:43 +02:00
André Hentschel 3a183a42df dbghelp: Only declare deltapc for i386. 2011-06-29 10:07:24 -05:00
Andrew Nguyen 6ee16099a3 dbghelp: Implement SymEnumSourceFilesW. 2011-06-01 17:59:17 +02:00
Alistair Leslie-Hughes 5d01166f96 dbghelp: Add stubs SymFromIndex, SymFromIndexW. 2011-05-30 17:21:57 +02:00
Eric Pouech 108b63f5a6 dbghelp: Enhance a couple of register mapping functions for i386. 2011-05-02 12:37:07 +02:00
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
Marcus Meissner b858b53991 dbghelp: Mark internal symbols as hidden. 2011-04-28 18:13:56 +02:00
André Hentschel 7af9179eb9 dbghelp: Implement rudimentary stack walk for ARM. 2011-04-28 11:13:53 +02:00
André Hentschel dae65898e2 dbghelp: Implement sparc_map_dwarf_register. 2011-04-27 11:49:53 +02:00
Austin English 6abf5fff9d dbghelp: Get rid of a couple unused variables. 2011-04-19 13:29:23 +02:00
André Hentschel e0d14005ce dbghelp: Set the right ARM frame pointer. 2011-04-19 13:29:03 +02:00
André Hentschel bdcc47d9e7 dbghelp: Implement arm_fetch_context_reg. 2011-04-18 12:31:30 +02:00
André Hentschel 1bae92b9bb dbghelp: Implement arm_fetch_regname. 2011-04-18 12:31:26 +02:00
André Hentschel 4055b7f2c3 dbghelp: Implement arm_map_dwarf_register. 2011-04-18 12:30:36 +02:00
Eric Pouech 44c52c16fd dbghelp: Silence DW_TAG_GNU_call_site objects. 2011-04-15 10:07:57 +02:00
Eric Pouech 18f539ac2e dbghelp: Added some missing defines to dwarf.h. 2011-04-15 10:07:57 +02:00
André Hentschel f2fc5e6e17 dbghelp: Implement sparc_get_addr. 2011-04-14 17:13:58 +02:00
Eric Pouech 9c09f14270 dbghelp: Extended CPU structure by adding a default register number for frame. 2011-04-12 12:49:53 +02:00
Eric Pouech 8fecef8757 dbghelp: Force void type in const declaration, when subtype cannot be found. 2011-04-12 12:49:40 +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
Gerald Pfeifer d93b6c0aa2 dbghelp: Add a return statement for the default/assert case in elf_map_file. 2011-04-01 10:48:57 +02:00
Eric Pouech 6a60266575 dbghelp: In const types, force 'void' type when none is found. 2011-03-28 17:24:50 +02:00
Eric Pouech 96a38c93d5 dbghelp: Return proper null value when lookup_type fails. 2011-03-28 17:24:48 +02:00
Eric Pouech b10977fc3c dbghelp: Now that compilers (like clang) start to merge symbols across compilation units, no longer barf about duplicates. 2011-03-28 17:24:42 +02:00
Eric Pouech 4220cd6608 dbghelp: When parsing .debug_line section in dwarf debug info, protect against out of bounds indexes. 2011-03-28 17:08:52 +02:00
Eric Pouech 0be7461fc8 dbghelp: Set also reloc_delta information in module description for PE native modules. 2011-03-14 13:20:29 +01:00
Eric Pouech 6d7c2e02d8 dbghelp: In dwarf debug functions, use register name instead of register value. 2011-03-14 13:20:24 +01:00
Eric Pouech a26ed12676 dbghelp: When managing DW_OP_deref_size, always ensure we read the size parameter. 2011-03-14 13:20:15 +01:00
Eric Pouech 9ae6350c58 dbghelp: Fix unwinding on x86-64 (correct frame and context). 2011-03-14 13:20:07 +01:00
Eric Pouech b3d7643c96 dbghelp: For the internal functions on x86_64 stack unwinding, only rely on CONTEXT information, and manage STACKFRAME64 updates in outer functions. 2011-03-14 13:19:54 +01: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 20b229a2a8 dbghelp: In i386 stackwalk implementation, store the frame index in the private information. 2011-03-14 13:19:34 +01:00
Eric Pouech 16e8816505 dbghelp: When doing a stack backtrace on i386 with dwarf or pdb unwinders, get the PC from the right frame. 2011-03-14 13:19:22 +01:00
Eric Pouech 9156501084 dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information. 2011-03-14 13:19:05 +01:00
Eric Pouech 44eed2465c dbghelp: Fix StackWalk when dwarf or pdb unwinders are called on first frame (CPU i386). 2011-03-14 13:18:59 +01:00
Eric Pouech c5f329e62c dbghelp: In i386 stack unwinder, ensure we always return decent 64bit values. 2011-03-14 13:18:45 +01:00
Joris Huizer a2793d62ad dbghelp: dwarf2_get_cpp_name: fix off-by-one error. 2011-03-10 12:55:17 +01:00
Eric Pouech 1d4381664c dbghelp: Fix bug in managing COFF files array. 2011-03-09 13:53:32 +01:00
Eric Pouech 9d3be00df2 dbghelp: When building the by address lookup table, speed up resorting by always taking into account that existing symbols are already sorted. 2011-03-09 13:53:09 +01:00
Eric Pouech dca2d350ad dbghelp: Add helper to get global address out of symt, instead of going though symt_get_info. 2011-03-09 13:52:41 +01:00
Eric Pouech d52e42e985 dbghelp: Quirk for supporting anonymous UDT (class, struct, enum...). 2011-03-09 13:52:22 +01:00
Eric Pouech e21062f9fa dbghelp: When parsing a subprogram in dwarf debug format, properly handle scoping for functions with both declaration & definition. 2011-03-09 13:52:14 +01:00
Eric Pouech a575351b30 dbghelp: Add support for parsing methods (in C++ classes) for dwarf debug format. 2011-03-09 13:52:03 +01:00