Commit Graph

29 Commits

Author SHA1 Message Date
pierre
ceffd8b8cc * Fix lineinfo problems for BeOS/Haiku
git-svn-id: trunk@19760 -
2011-12-05 16:29:43 +00:00
armin
fc45960024 updated for netware target
git-svn-id: trunk@17193 -
2011-03-27 15:11:43 +00:00
Jonas Maebe
fdfb21387f * fixed potential buffer overflow errors (reported by Stian Skjelstad,
mantis #17922)

git-svn-id: trunk@16343 -
2010-11-14 11:59:24 +00:00
Jonas Maebe
79fbca8c63 * don't crash when reading a Macho-O binary with an unanticipated
structure (patch by Colin Western, mantis #17424)

git-svn-id: trunk@15995 -
2010-09-16 13:55:30 +00:00
yury
628b0c23ac * exeinfo: Return executable image base and current module base address on Windows.
* exeinfo: Properly handle long COFF section names. Bug #13499.
* lineinfo, lnfodwrf: Properly use executable image base and current module base address.

git-svn-id: trunk@13145 -
2009-05-15 22:14:09 +00:00
florian
8a940151a7 o patch by Sergej Gorelkin:
* When OpenExeFile is called with an empty filename argument, 
    it apparently opens stdin and crashes immediately thereafter trying to seek in non-seekable stream. 
    The filename is empty whenever GetLineInfo is called with the address that does not belong to valid module.

git-svn-id: trunk@12802 -
2009-02-26 18:34:48 +00:00
florian
67fbadcdcf * WinCE compilation fixed
git-svn-id: trunk@11057 -
2008-05-23 15:35:18 +00:00
florian
873409cd3c * baseaddr must be nil on windows
git-svn-id: trunk@11030 -
2008-05-21 20:45:20 +00:00
florian
d955c9b4f7 + proper handling of lineinfo retrival for dyn. libs in unix
git-svn-id: trunk@11010 -
2008-05-18 18:42:09 +00:00
florian
96f8576bf2 * handle lineinfo in dlls correctly, resolves #4171 and #10797 for windows
git-svn-id: trunk@11004 -
2008-05-18 16:46:17 +00:00
Tomas Hajny
203e19782f * use the provided constant instead of hardcoded value
git-svn-id: trunk@10758 -
2008-04-22 14:42:48 +00:00
yury
b64519162d * Fixed warning.
git-svn-id: trunk@10724 -
2008-04-19 21:31:46 +00:00
Tomas Hajny
a4a1999e4f * fix broken offsets and improve reliability on GO32v2, mostly based on input by Robert Riebisch
git-svn-id: trunk@10682 -
2008-04-17 05:21:14 +00:00
Jonas Maebe
521b5d88ff * fixed FindSectionMachO32PPC() return value
git-svn-id: trunk@10248 -
2008-02-08 14:06:31 +00:00
Jonas Maebe
4b82b9b50e * set FunctionRelative to false for Mach-O so -gl works again
for stabs

git-svn-id: trunk@10202 -
2008-02-04 10:45:35 +00:00
peter
cc710dc05f * remove objpas dependency, patch by Giulio
git-svn-id: trunk@10154 -
2008-02-02 16:16:21 +00:00
peter
f4f3ae84d0 * AllowDirectorySeparators and AllowDriveSeparators typed constants
added to allow customization of path and directory parsing in the rtl
  * Use the new sets instead of the hardcoded / and \

git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
peter
545d27e888 * go32v2 fixed
* moved all targets using the same executbale structure together so
    the reuse of the generic functions is more clear

git-svn-id: trunk@9881 -
2008-01-23 15:59:20 +00:00
peter
73871b64ce * BeOS/Haiku updates from Olivier Coursière
git-svn-id: trunk@9880 -
2008-01-23 15:37:25 +00:00
peter
482ad1334b * support .gnu_debuglink section to have the debug info in an
external file

git-svn-id: trunk@9813 -
2008-01-20 13:13:55 +00:00
florian
f7a891248a * win64 compilation fix
git-svn-id: trunk@9812 -
2008-01-20 13:04:21 +00:00
Tomas Hajny
03de80785d * StabsFunctionRelative initialization hopefully fixed
git-svn-id: trunk@9810 -
2008-01-20 12:12:01 +00:00
Tomas Hajny
51b230d501 * one more change from FileSize (F) to E.Size, although it's in not yet adapted BEOS section
git-svn-id: trunk@9808 -
2008-01-20 12:06:28 +00:00
Tomas Hajny
8c9099b5e5 * E.Size changed to int64 for consistency with FileSize result
git-svn-id: trunk@9807 -
2008-01-20 11:57:47 +00:00
Tomas Hajny
00b342301a * partial fix for Win64 (CoffSymbol not resolved yet - is it equal in PE32 and PE32PLUS?)
git-svn-id: trunk@9806 -
2008-01-20 11:49:41 +00:00
Jonas Maebe
c743711f40 * fixed darwin/stabs code
git-svn-id: trunk@9805 -
2008-01-20 11:26:31 +00:00
Tomas Hajny
7d22198d43 * fix OS/2 compilation after exeinfo creation
git-svn-id: trunk@9803 -
2008-01-20 01:55:48 +00:00
peter
c553583486 * cache filesize
* fix result setting for elf 

git-svn-id: trunk@9800 -
2008-01-19 22:09:42 +00:00
peter
3befb1f832 * refactor executable loading into exeinfo unit so
it can be reused also for lnfodwrf

git-svn-id: trunk@9780 -
2008-01-17 23:47:42 +00:00