Peter Oberndorfer
68a4da07eb
Added stub for SymSetParentWindow.
2005-07-29 14:42:37 +00:00
Alexandre Julliard
22fd30c0a5
We no longer have thunks in the data section.
2005-07-07 12:03:57 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +00:00
Alexandre Julliard
f84401aa17
Sort entry points in the same order as Windows.
2005-06-23 09:57:11 +00:00
Mike McCormack
f55de5cf35
Fix warnings exposed by -Wmissing-declarations and -Wwrite-strings.
2005-06-09 09:46:39 +00:00
Paul Vriens
4129e6e17f
Add SymLoadModule64.
2005-05-29 20:02:42 +00:00
Eric Pouech
f09a26067f
- fixed ReadProcessMemoryProc prototype
...
- made StackWalk work when dbghelp is run against a non running
process
2005-05-23 11:43:44 +00:00
Raphael Junqueira
54acd10dfe
- fixme when unexpected children found
...
- no more dwarf2_check_sibling errors (ie perfect parsing count) :)
- dwarf2_parse_inlined_subroutine, dwarf2_parse_variable
2005-05-23 09:50:15 +00:00
Raphael Junqueira
79804db4e2
- better traces
...
- handle inclusion "levels"
- better parsing of subprogram, typedef, pointer, ... entries
- arrays, enums, const_type, reference_type parsing
- checks parsing cursors errors (when sibling value available)
- more utilities functions (dwarf2_parse_attr_as_data)
2005-05-20 09:41:10 +00:00
Raphael Junqueira
34955b9578
- basic parsing of subprogram, typedef, pointer, class, struct, enum
...
entries
- indirect strings support
- utilities functions (parse_byte, parse_u2, ...)
2005-05-19 11:14:39 +00:00
Alexandre Julliard
8ee01679dc
Fixed a couple of warnings.
2005-05-18 13:27:24 +00:00
Raphael Junqueira
86cdb432c5
- add some Dwarf2 enums
...
- abbrev entries parser (with attributes)
- debug info parser skeleton (see big tag swith in dwarf2_parse).
2005-05-18 09:46:12 +00:00
Raphael Junqueira
92000a91da
Fix open_pdb_file (used for locate/open pdbs):
...
- pdb_match heuristic now only stop when "first file" exists
- SymFindFileInPath now fill output buffer with a valid value on
success.
2005-05-18 09:42:17 +00:00
Raphael Junqueira
83f001b6c7
Beginning of dbghelp dwarf2 support:
...
- add elf_module entry for dwarf2_parse
- stubbed dwarf2_parse in new dwarf.c file
2005-05-17 14:32:55 +00:00
Alexandre Julliard
e4412a618c
Removed the special casing of kernel32 and ntdll for the TEB
...
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Alexandre Julliard
827a69f8ca
Avoid referencing stackframe.h from outside kernel32.
2005-05-16 14:20:16 +00:00
Hans Leidekker
56058ddb15
Silence some unknown stab type messages.
2005-05-16 08:47:55 +00:00
Alexandre Julliard
d876893fc1
Store the 16-bit stack pointer in the WOW32Reserved TEB field.
2005-05-14 12:16:46 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget
821d4c4645
Fix nativeapi.pm so it knows about AC_HEADER_STAT().
...
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Emmanuel Maillard
034ebcc19e
Fix compile on non-ELF host.
2005-05-05 09:50:13 +00:00
Peter Berg Larsen
972a949552
Eliminate strncpy and correct some NameLen bugs.
2005-04-18 15:34:10 +00:00
Peter Berg Larsen
716bf4d6fb
Elimination of lstrcpyn, and corrected a potential pointer bug.
2005-04-18 15:33:31 +00:00
Eric Pouech
7ea69cc7ea
- Various improvements for minidump module information
...
. added timestamp & checksum in PE module
. added size & checksum in ELF module
. wine loader now appears with its pathname.
- Implemented PE & ELF timestamp & checksum validation in
SymFindFileInPath.
2005-03-29 13:14:08 +00:00
Eric Pouech
61beaf48d3
- PDB: better checking for error conditions
...
- Fixed name demangling (when activated) when searching for a symbol
2005-03-29 11:30:57 +00:00
Peter Berg Larsen
e732fc023d
Janitorial: Get rid of strncpy/strncpyW.
2005-03-28 14:17:51 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Filip Navara
b4e5e049ba
Initialize the "toc" field in the pdb_lookup structure in order to
...
prevent pdb_free_lookup from trying to delete invalid pointers.
2005-03-15 19:32:14 +00:00
Eric Pouech
f332412092
When initializing a live target, ask to load module file names, not
...
module names (spotted by Robert Reif).
2005-03-07 12:24:02 +00:00
Eric Pouech
642402d581
Added support for minidump (read & write).
2005-03-07 11:03:21 +00:00
Eric Pouech
01aa71371b
Memory consumption optimization while loading ELF debug info:
...
- don't map twice an ELF file for symbol lookup (in non deferred mode)
- no longer entirely map an ELF file into memory, but only the
sections we need.
Added support for loading ELF modules thru SymLoadModule in a non life
process.
Factorisation of code for ELF module handling.
Fixes to ELF symbol loading
- drops symbols from symtab which are neither funcs nor global
variables
- fixes some incorrect size computation for latest GCC versions.
Several cleanups and fixes.
2005-03-01 10:39:49 +00:00
Mike Hearn
7acd363973
Change an ERR to a WARN.
2005-02-09 22:21:58 +00:00
Alexandre Julliard
2dd40110a0
Silence a noisy FIXME.
2005-01-31 16:24:57 +00:00
Eric Pouech
499cff6f26
Cleanup of dbghelp.h (and a couple of definition fixes). The
...
displacements (in most of the functions) are not optional.
2005-01-31 11:34:59 +00:00
Eric Pouech
e4a44b3545
Various fixes for C++ class parsing (nesting, templates) (from test
...
cases provided by Michael Lin).
2005-01-31 11:29:09 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Michael Stefaniuc
15a308a9d7
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2005-01-03 14:56:42 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00
James Hawkins
74d32620eb
Remove c++-style comment.
2004-12-06 11:41:32 +00:00
Eric Pouech
25cdb4c236
Fixed regressions introduced when moving addresses as 64bit values.
2004-11-22 18:30:10 +00:00
Eric Pouech
9995c7d368
- moved into new mscvpdb.h (out of msc.c) all types and defines needed
...
to parse debug files generated by MS tools
- moved into coff.c (and out of msc.c) the COFF handling
- cleaned lots of types (add consistency across structs)
- versioning of some defines and types (to follow MS tools evolution)
- enhanced V2 of symbols parsing (some more types recognized, support
of imported .pdb files)
- added support for newest .pdb format
2004-11-21 15:51:47 +00:00
Eric Pouech
954a612c49
- implement SymUnDName and UndecorateSymbolName on top of
...
msvcrt.__unDName
- implement SYMOPT_UNDNAME support
2004-11-19 18:02:47 +00:00
Eric Pouech
dc43edff39
- fixed loading stabs from PE modules compiled with MingW
...
- enhance some loading logic between ELF/PE DLL pairs
- removed unused indirect memory access function
- get rid of some GCC generated symbols
2004-11-08 20:26:22 +00:00
Francois Gouget
9c3246803b
Fix the declaration of SymEnumSymbols() in dbghelp.spec.
...
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Vincent Béron
4eeae1adb3
Fix some types problems.
2004-10-18 22:39:21 +00:00
Robert Shearman
6c50556e8b
Fix function and structure field types so we are compatible with the
...
native dbghelp.
2004-10-11 21:00:17 +00:00
Robert Shearman
5f21fd47f8
- Move header parsing to callers of pe_load_debug_directory.
...
- Add stubs and structures for LF_PROCEDURE types.
2004-10-11 20:08:07 +00:00
Jon Griffiths
5ae461aa69
Vectors need all 32 bits to handle _really_ large apps.
2004-10-07 17:33:43 +00:00