Eric Pouech
e161dd92ee
dbghelp: Handle the .gnu_debuglink files with the newly added alternate mechanism.
2007-02-26 14:39:52 +01:00
Eric Pouech
fc66bb37f4
dbghelp: Allow to add an alternate file_map for an ELF file (where to look for its debug information).
2007-02-26 14:39:38 +01:00
Eric Pouech
62b57f9e21
dbghelp: Rewrote the ELF section mapper for better data encapsulation.
2007-02-26 14:39:16 +01:00
Eric Pouech
8d3167cc9a
dbghelp: Merge the A/W of elf_map_file into a single one.
2007-02-22 12:34:09 +01:00
Eric Pouech
0c1e33bb06
dbghelp: Now load the .gnu_debuglink file using Unicode search paths.
2007-02-22 12:33:37 +01:00
Eric Pouech
4aab161297
dbghelp: Added helper to map a Unicode file.
2007-02-22 12:33:14 +01:00
Eric Pouech
3565d93ebe
dbghelp: Now moving the ELF loading code to Unicode.
2007-02-22 12:32:17 +01:00
Eric Pouech
c1269392e0
dbghelp: Move elf_fetch_file_info to Unicode.
2007-02-22 12:29:53 +01:00
Eric Pouech
039d54a4bf
dbghelp: Make elf_enum_modules a Unicode function.
2007-02-22 12:29:27 +01:00
Eric Pouech
89bc65695f
dbghelp: Now storing module internal info for minidumps in Unicode.
2007-02-22 12:28:59 +01:00
Eric Pouech
c0fa60f547
dbghelp: A few fixes related to Unicode translation.
2007-02-22 12:27:39 +01:00
Eric Pouech
1690cf1815
dbghelp: Moved the internals for registered callback to Unicode.
2007-02-22 12:27:16 +01:00
Eric Pouech
180127dd94
dbghelp: Get rid of temporary module_get_type_by_nameA.
2007-02-22 12:27:00 +01:00
Eric Pouech
2f0ed90c4e
dbghelp: Implemented SymFindFileInPathW.
2007-02-22 12:26:16 +01:00
Eric Pouech
9e1f9ec19e
dbghelp: Implemented SearchTreeForFileW.
2007-02-22 12:22:26 +01:00
Eric Pouech
c0be0032de
dbghelp: Implemented EnumDirTreeW.
2007-02-22 12:22:05 +01:00
Eric Pouech
8b861202ba
dbghelp: Implemented SymMatchFileNameW.
2007-02-22 12:21:40 +01:00
Eric Pouech
d707fe5ac3
dbghelp: Added module_get_type_by_name in Unicode form and keep the ANSI form for compatibility.
2007-02-22 12:21:14 +01:00
Eric Pouech
46684a9fb6
dbghelp: Moved ELF module loading interfaces to Unicode.
...
The core the code remains ANSI, as all the information is stored as ANSI.
2007-02-22 12:20:03 +01:00
Eric Pouech
6a859fb0e6
dbghelp: Move PE module loading to Unicode.
2007-02-22 11:41:15 +01:00
Eric Pouech
bcc1913354
dbghelp: Implemented FindExecutableImage[W].
2007-02-22 11:39:52 +01:00
Eric Pouech
43dffcd05d
dbghelp: Now storing module information in Unicode form.
2007-02-22 11:39:08 +01:00
Eric Pouech
6efc061992
dbghelp: .gnu_link support: rewrote helper functions for better later unicodification.
2007-02-22 11:35:21 +01:00
Eric Pouech
c75fb89a64
dbghelp: Prepare module loading functions to be switched to Unicode module storage.
2007-02-22 11:34:20 +01:00
Eric Pouech
50de2e2e4a
dbghelp: Make the module info functions ready for the Unicode move.
2007-02-22 11:33:06 +01:00
Eric Pouech
fcd3972fa8
dbghelp: Rewrote the loaded modules enumeration so that Unicode version is the core.
2007-02-22 11:32:05 +01:00
Eric Pouech
aac77c98a2
dbghelp: Added an ANSI copy of the module name (useful for next patches).
2007-02-22 11:28:53 +01:00
Eric Pouech
33c8ffc301
dbghelp: Added helper to define the module's name.
2007-02-22 11:28:13 +01:00
Rob Shearman
272d7ab46a
dbghelp: ImageName is usually blank, so print LoadedImageName in elf_load_debug_info_map.
2007-02-21 19:49:43 +01:00
Eric Pouech
fa9be99568
dbghelp: MiniDumpWriteDump called from exception handler.
...
- MiniDumpWriteDump was unable to provide stack information for the current
thread, hence did produce unusable minidump when a programs generates the
minidump from its own exception handler.
- We now support this if the current thread calls MiniDumpWriteDump from an
exception handler and provides the exception information.
2007-02-20 20:31:01 +01:00
Marcus Meissner
e37ff84eff
dbghelp: Return when not finding the name.
2007-02-19 12:37:37 +01:00
Rob Shearman
3f8215d214
dbghelp: nread can be NULL for read_mem and read_mem64.
2007-02-15 19:15:35 +01:00
Dmitry Timoshkov
736743dd57
dbghelp: Turn a FIXME to a WARN in order to avoid mangling the output.
2007-02-05 12:30:00 +01:00
Francois Gouget
e10222ced7
dbghelp: Fix the spec file to better match the SymGetSymFromAddr64() prototype.
...
This fixes a winapi_check warning.
2007-01-25 11:05:24 +01:00
Frank Richter
867ebe4da0
dbghelp: Search for .gnu_debuglink file.
2007-01-17 11:40:10 +01:00
Eric Pouech
2e34ea4e01
dbghelp: Removed unneeded code from rewrite of .gnu_link handling.
2007-01-15 13:00:17 +01:00
Frank Richter
afc2df8705
dbghelp: Split gnu_debuglink handling into own function.
2007-01-12 11:24:06 +01:00
Eric Pouech
c6e8c2aab1
dbghelp: Handling of S_SALIGN symbols.
2007-01-06 11:40:45 +01:00
Eric Pouech
bbef1cbd2d
winedump: Removed cvinclude.h.
2007-01-06 11:40:44 +01:00
Eric Pouech
1b158dd38d
dbghelp: Corrected the map/unmap operations for ELF sections.
...
Now correctly free the mapped areas when no longer used.
2007-01-06 11:40:44 +01:00
Eric Pouech
883732281e
dbghelp: Implemented 64 bit versions of EnumerateLoadedModules.
2007-01-04 11:12:13 +01:00
Andrew Talbot
3af121230b
dbghelp: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL.
2007-01-02 13:21:15 +01:00
Dmitry Timoshkov
e7d620081f
dbghelp: Make some data const.
2006-12-14 20:11:07 +01:00
Eric Pouech
9a41a4e984
dbghelp: Sparse array speed up.
2006-12-11 12:15:34 +01:00
Alexandre Julliard
5feef7e329
dbghelp: Avoid a printf format warning.
2006-12-08 11:39:32 +01:00
Eric Pouech
75033503e8
dbghelp: Added ability to internal store / reload a symbol with a constant value.
...
Let dwarf and msc use this new feature.
As we also add global symbol without addresses, don't take those
constant symbols into account for searches by address.
2006-12-06 11:38:43 +01:00
Eric Pouech
a1a879363d
dbghelp: Added a field to the hash table to store the number of elements in the hash table.
...
Make use of it to get rid to module_compute_num_syms.
2006-12-06 11:37:38 +01:00
Eric Pouech
4806320b48
dbghelp: In find_nearest, now return the symbol instead of its index in module->sorttable.
2006-12-06 11:37:10 +01:00
Eric Pouech
08712bc3a9
dbghelp: Simplify the way we find the debug header.
2006-12-06 11:36:59 +01:00
Thomas Fitzsimmons
4b30ece829
dbghelp: Recognize DT_GNU_HASH.
2006-12-05 11:49:15 +01:00