Eric Pouech
fac5abc551
dbghelp: Ensure the stab_nlist structure is usable on 64bit systems.
2010-10-11 17:11:24 +02:00
André Hentschel
2f5ba0d8c0
dbghelp: Fix typo in url.
2010-01-06 09:52:48 +01:00
Eric Pouech
9500df82f1
dbghelp: Move the core of some line related functions to 64bit interface.
2009-12-15 11:58:39 +01:00
Eric Pouech
92b9b0940d
dbghelp: Wrap the symt* <=> index transformations.
2009-12-15 11:56:45 +01:00
Jacek Caban
1e23e88914
dbghelp: Check for NULL adt before using it in stabs_pts_read_aggregate.
2009-08-17 13:57:49 +02:00
Jacek Caban
4cc3ce923a
dbghelp: Use symt_get_name directly in stabs_pts_read_aggregate.
2009-08-17 13:57:49 +02:00
Jacek Caban
956eea6b31
dbghelp: Fixed buffer overflow in stabs_parse.
2009-08-17 13:57:49 +02:00
Alexandre Julliard
75792a3e69
dbghelp: Grow all arrays by doubling the size.
2009-07-10 14:46:55 +02:00
Ken Thomases
905ab99815
dbghelp/stabs: For Mach-O, line offset is relative to original function address.
2009-04-07 11:21:40 +02:00
Ken Thomases
3a96219d57
dbghelp/stabs: For Mach-O, line numbers use absolute address, not offset.
...
So, compute the offset by subtracting the function address.
2009-03-25 12:17:42 +01:00
Ken Thomases
985f0ea18f
dbghelp/stabs: Track line numbers pending for an upcoming function.
...
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases
65d929079c
dbghelp/stabs: Allow pending list to include line numbers as well as variables.
...
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases
a1ac32822a
dbghelp/stabs: Extract growing of pending_block's buffer to pending_make_room().
2009-03-12 13:09:56 +01:00
Ken Thomases
615fff293a
dbghelp: Teach stabs_parse about other kinds of Mach-O symbol definitions.
2009-03-12 13:09:56 +01:00
Ken Thomases
3db11b98b7
dbghelp: Let stabs_parse call back for real (non-debug) symbol definitions.
2009-03-12 13:09:55 +01:00
Ken Thomases
82a3f8fcb2
dbghelp/stabs: Decode the Stabs type more carefully.
2009-03-12 13:09:55 +01:00
Ken Thomases
1ecd634c4b
dbghelp/stabs: Ignore the N_OSO type used on Darwin.
2009-03-12 13:09:55 +01:00
Ken Thomases
1f4ddbaed9
dbghelp/stabs: Translate additional register codes.
2009-03-12 13:09:55 +01:00
Andrew Talbot
c9563e10fc
dbghelp: Sign-compare warnings fix.
2008-09-25 11:28:58 +02:00
Andrew Talbot
51b3b4a481
dbghelp: Use dbgstr_a() in case pointer is NULL.
2008-06-23 12:51:20 +02:00
Andrew Talbot
dbe65d03e2
dbghelp: Include port.h for possible alternative to strtoull().
2008-05-05 12:52:01 +02:00
Eric Pouech
3bc7657616
dbghelp: Revert commit ae1791b0b8
and correctly fix what this patch was trying to do.
2008-05-01 11:13:07 +02:00
Andrew Talbot
ae1791b0b8
dbghelp: Fix type mismatch in comparison.
2008-03-31 12:51:11 +02:00
Austin English
06d429d6b6
Spelling fixes.
2008-03-27 20:48:19 +01:00
Eric Pouech
75803e9448
dbghelp: Extended the internal enumeration information so that we know the underlying integral type.
2008-02-07 11:59:52 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Andrew Talbot
dcb298b468
dbghelp: Exclude unused headers.
2007-05-01 11:42:24 +02:00
Eric Pouech
0d942b3aaa
dbghelp: Function points location is now expressed as a struct location.
2006-11-27 17:55:44 +01:00
Eric Pouech
20fc25bc55
dbghelp: Use the location info structure thoughout the code to handle the location of a data variable.
2006-11-27 17:54:39 +01:00
Eric Pouech
1a723f237c
dbghelp: Store compiland's address in internal structures.
2006-11-27 17:49:50 +01:00
Andrew Talbot
4c4d4386ed
dbghelp: Cast-qual warnings fix.
2006-10-19 13:35:33 +02:00
Eric Pouech
6c4c64265d
dbghelp: Variables & registers.
...
- more strickling differentiation variable location between
a register, and the dereferenced address defined by a
register (and possibly an offset)
- added a parameter to symt_add_func_local (and internal symbol
data struct) to help differentiate
- fix all debug parsers to confer to this new scheme
2006-09-26 11:48:39 +02:00
Eric Pouech
b039c3abd4
dbghelp: Removed stabs dump facility now that we have it (for PE files) in winedump.
2006-08-28 11:44:50 +02:00
Eric Pouech
83c30a55b8
dbghelp: Made stabs parsing a bit more robust.
...
Enhance dbghelp's robustness against bogus stabs sections found in
meetro.exe (as reported by Jan Zerebecki).
2006-08-09 23:08:00 +02:00
Robert Shearman
f9053b91bf
dbghelp: Avoid accessing a negative string index when parsing stabs entries with an empty string.
2006-07-17 14:49:05 +02:00
Eric Pouech
e4441d7e6f
dbghelp: Module info.
...
- now internally storing module info as a 64bit module structure
(the interest in not in the 64 bit side of things, but because
it allows storing lots of usefull information)
- fixed SymGetModuleInfo64W which wasn't returning the
LoadedPdbName field
- now filling for MSC files with the extended information
(instead of guessing it)
- reused the extended module info to store wine ELF module
information (link for map link, stabs vs dwarf symbol info)
2006-06-27 11:17:34 +02:00
Eric Pouech
7af4097d80
dbghelp: Added the ability to define a source file by dir+filename instead of only filename.
2006-06-20 11:54:40 +02:00
Eric Pouech
cff41cf9f2
dbghelp: Storage of func locals & parameters.
...
- added the ability to tell to add_func_local whether we're adding
a local variable or a parameter (and removed the black magic
we were using)
- we can now address variables defined as an offset to a register
2006-06-20 11:47:38 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Eric Pouech
34636b026b
dbghelp: Added type for array index.
...
- added type for array index
- correctly parsing array index type in stabs, Dwarf2 and MSC formats
- fixed SyGetTypeInfo accordingly
2006-03-06 11:42:44 +01:00
Eric Pouech
2ce5eca6a5
winedbg: Added support for function parameters passed in registers.
...
Added correct stabs parsing for function parameters in registers.
Added a couple of helper functions to make code smaller and more
readable.
2006-02-06 11:27:32 +01:00
Alexandre Julliard
9daaab54c7
winedbg: Use Win32 types instead of long long.
2006-01-23 16:47:07 +01:00
Eric Pouech
be849decf6
dbghelp: First stab at supporting calling convention in function signature.
2005-12-19 18:22:54 +01:00
Eric Pouech
6b7bebfbf9
SymGetType(...,TI_GET_LENGTH,...) requires a 64 bit parameter, not a
...
32 bit one.
2005-11-17 11:51:53 +00:00
Eric Pouech
f653a09d33
- N_PSYM stabs blocks (aka parameters) can also contain a typedef
...
- shorten some paths
2005-10-03 10:16:15 +00:00
Hans Leidekker
56058ddb15
Silence some unknown stab type messages.
2005-05-16 08:47:55 +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
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
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
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