Commit Graph

37 Commits

Author SHA1 Message Date
Martin
63a6ce4f32 FpDebug: added IFDEF $INLINE OFF 2022-06-21 00:06:04 +02:00
Joost van der Sluis
abad276cd4 FpDebug: Fixed 'Unable to open file SYSV00000000' exceptions 2022-05-01 23:08:45 +02:00
Martin
4f8efdd21f FpDebug: fix warnings. 2022-03-24 00:39:03 +01:00
Joost van der Sluis
c8feb2d0e8 FpDebug: Replaced some Pascalish code to perform pointer calculations without range-overflows with code with range-checking disabled 2022-01-02 00:38:52 +01:00
Joost van der Sluis
4e4c402b62 FpDebug: Remove breakpoints bound to a specific library when this library gets unloaded 2021-12-23 00:32:41 +01:00
Joost van der Sluis
8205a04199 FpDebug: On Windows the RelocationOffset can only be calculated after the file-header has been read. So the whole logic to obtain the RelocationOffset out of the LoadedTargetImageAddr and ImageBase is refactored 2021-12-15 01:21:10 +01:00
Joost van der Sluis
70d007f0de FpDebug: Differentiate between the BaseAddr and the RelocationOffset 2021-12-13 23:18:10 +01:00
Joost van der Sluis
b9b35b4252 FpDebug: Set the TDbgImageReader.LoadedTargetImageAddr at creation, or else parts might already been read when it is set. 2021-12-08 00:43:17 +01:00
ccrause
5d14d15403 Added functionality to mark sections as loadable based on section information. 2021-11-01 12:11:48 +02:00
martin
54e4b88848 FpDebug: remove circular unit references
git-svn-id: trunk@63819 -
2020-08-23 22:57:41 +00:00
martin
2ee9c0fe84 FpDebug: New TTargetDescriptor type used to store target specific information. All target specific classes are automatically registered in the respective initialization sections. TDbgController.Run modified to call CheckExecutableAndLoadClasses which loads target info from specified file, loads global disassembler instance and DbgProcess class. Patch/Contributed by ccrause
git-svn-id: trunk@62748 -
2020-03-12 14:20:33 +00:00
juha
d9daa6776b FpDebug: Prevent an access violation in TDbgImageLoader constructor. Issue #36763.
git-svn-id: trunk@62700 -
2020-03-06 20:09:47 +00:00
martin
e1a09a86f4 FpDebug: fix checking for ImageBase (currently not implemented). Issue #0036499
git-svn-id: trunk@62512 -
2020-01-08 16:56:19 +00:00
martin
cc3e23afb0 FpDebug: Win, Parse DLL-Entry points
git-svn-id: trunk@62338 -
2019-12-08 00:18:07 +00:00
martin
db921aff87 FpDebug: Add property for feedback, when debug info can not be read. Add feedback from macho reader
git-svn-id: trunk@60648 -
2019-03-10 17:59:57 +00:00
martin
c5fdbd440a FpDebug: fix accessing nil fileloader. Introduced in rev 59729 #f09614b9a8 / Issue #0034657
git-svn-id: trunk@59745 -
2018-12-06 23:37:45 +00:00
martin
f09614b9a8 FpDebug: (Linux/Mac) Do not keep files open longer than needed. Systems may limit max files open. (Mac opens many files)
git-svn-id: trunk@59729 -
2018-12-05 01:49:29 +00:00
martin
129c834748 FpDebug: fix memleak if no loader for file format is found
git-svn-id: trunk@59563 -
2018-11-16 20:30:20 +00:00
martin
a44e814975 fpdebug / fp-lldb: runtime detection of 32/64bit arch. Issue #34225 Patch by David Jenkins
git-svn-id: trunk@58891 -
2018-09-06 11:24:43 +00:00
martin
a80f8c659c FpDebug: refactor for loading MacOs sym in mixed lldb/gdb debug
git-svn-id: trunk@58395 -
2018-06-24 19:31:39 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
martin
8e4a8c8468 fpdebug: fix compile for win
git-svn-id: trunk@48997 -
2015-05-12 17:59:24 +00:00
joost
c53e775af5 FpDebug: The developers at Apple were not able to build a linker
with the ability to deal with Dwarf-debug info. Added the ability
to read the Dwarf-debug info from the object files and to map the
corresponding addresses to their position in the final executable.

git-svn-id: trunk@48864 -
2015-04-25 19:15:09 +00:00
joost
8f9d2106db FpDebug: Re-structured the reading of debug-information from multiple files.
git-svn-id: trunk@48638 -
2015-04-05 20:08:17 +00:00
joost
3dcfa14f49 * Avoid AV when the loaded faied to initiate a valid ImgReader
git-svn-id: trunk@47187 -
2014-12-13 09:06:40 +00:00
joost
2725568fae FpDebug: Give a warning when the UUID of the dSym-bundle and the debuggee do not match
git-svn-id: trunk@46149 -
2014-09-07 11:25:34 +00:00
joost
f81a1f3ea6 LazDebuggerFp (pure): Read macho-64 binaries
git-svn-id: trunk@45173 -
2014-05-25 16:38:40 +00:00
joost
69a51cde62 FpDebug: Read the symbol-table on OS/X
git-svn-id: trunk@45038 -
2014-05-14 20:21:22 +00:00
martin
ab175baa4e FPDebug: (re-)start testcase
git-svn-id: trunk@43865 -
2014-02-02 02:10:19 +00:00
martin
718a99efdd FPDebug: clean up / refactor
git-svn-id: trunk@43292 -
2013-10-20 16:12:51 +00:00
martin
e39906a6d2 FPDebug: deal with on debug loader found
git-svn-id: trunk@43248 -
2013-10-14 11:38:59 +00:00
martin
3a38088ecf FPDebug: start porting macho reader from duby
git-svn-id: trunk@43239 -
2013-10-13 14:00:01 +00:00
martin
c35a449a7c FPDebug: auto include win and elf reader
git-svn-id: trunk@42926 -
2013-09-25 00:08:30 +00:00
martin
b37ec153f8 FPDebug: refactored reading image-file, ported elf reader from duby
git-svn-id: trunk@42925 -
2013-09-24 23:56:45 +00:00
martin
940b1f607a FpDbg: ifdef windows specific code
git-svn-id: trunk@42899 -
2013-09-20 11:15:18 +00:00
martin
16fc76f1ab FpDbg: ifdef all windows specific code
git-svn-id: trunk@42897 -
2013-09-20 09:36:28 +00:00
martin
5f80553ea9 Moved fpdebug
git-svn-id: trunk@42802 -
2013-09-15 10:59:04 +00:00