Commit Graph

42 Commits

Author SHA1 Message Date
Martin
dc46e8ce2e FpDebug: Windows, implement alternative "normal" file reading (via stream). On 32bit mapping an entire file into memory can fail, if not enough continuous memory is available. 2024-05-23 20:04:35 +02:00
Martin
515c01c063 FpDebug: Windows, implement alternative "normal" file reading (via stream). On 32bit mapping an entire file into memory can fail, if not enough continuous memory is available. 2024-05-22 17:06:08 +02:00
Martin
655727ed2b FpDebug: keep "\\?\" filenames. 2024-04-11 13:27:34 +02:00
Martin
e183ea0b5f Debuggers: Add define FORCE_LAZLOGGER_DUMMY 2024-02-28 00:52:43 +01:00
Martin
63a6ce4f32 FpDebug: added IFDEF $INLINE OFF 2022-06-21 00:06:04 +02:00
Martin
1ba6c2f11a FpDebug: Fix for FpGdbmi (Windows). FpGdbmi does not knew the LoadedAddr, replace the nil value with the default ImageBase. 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
7750772722 FpDebug: Fix for handling libraries that do not provide a real file-handle. 2021-12-30 20:36:04 +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
e0c4d9c77b FpDebug: cleanup and explanation of the difference between the ImageBase, RelocationOffset and LoadedTargetImageAddr 2021-12-16 00:35:18 +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
Martin
9877946d86 FpDebug: reduced debugln 2021-12-07 23:21:42 +01:00
ccrause
5d14d15403 Added functionality to mark sections as loadable based on section information. 2021-11-01 12:11:48 +02:00
Martin
1c87dc96eb FpDebug: refactor external debug info / Enable for Linux and Windows 2021-08-14 15:23:17 +02:00
martin
686e81d6e3 FpDebug: Start external dbg file support for Win
git-svn-id: trunk@65390 -
2021-07-06 21:39:38 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
martin
1db96371a5 FpDebug: fix stdcall
git-svn-id: trunk@63983 -
2020-10-09 14:17:22 +00:00
martin
bc13e22021 FpDebug: fix opening files with utf8 name on windows / prevent crash in trying to create filehandle, when an exception occurs. Issue #37884
git-svn-id: trunk@63978 -
2020-10-08 20:58:14 +00:00
martin
24b1e22d91 FpDebug: Windows, show dll-entrypoint+offs in stack/thread list
git-svn-id: trunk@63387 -
2020-06-18 02:13:00 +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
martin
cc3e23afb0 FpDebug: Win, Parse DLL-Entry points
git-svn-id: trunk@62338 -
2019-12-08 00:18:07 +00:00
martin
157ea70bdb FpDebug: Fix upper/lower spelling of Contents/MacOS
git-svn-id: trunk@61066 -
2019-04-27 15:10:17 +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
fe756b5c1b FpDebug: MacOs, loading of dwarf symbols missed some global vars.
git-svn-id: trunk@60015 -
2019-01-06 02:07:05 +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
b3179348c0 FpDebug: More verbose error, if failing to open file
git-svn-id: trunk@59570 -
2018-11-17 14:02: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
martin
0db8c632c5 FpDebug: MacOs, find dwarf info in app bundle
git-svn-id: trunk@58307 -
2018-06-18 13:16:32 +00:00
joost
640226c89b FpDebug: Forgot to include file in r48864 #c53e775af5
git-svn-id: trunk@48865 -
2015-04-25 19:18:08 +00:00
joost
5e3d796544 FpDebug: Removed unused overload of GetImageReader
git-svn-id: trunk@48846 -
2015-04-25 11:12:55 +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
69a51cde62 FpDebug: Read the symbol-table on OS/X
git-svn-id: trunk@45038 -
2014-05-14 20:21:22 +00:00
martin
95834abad6 FpDebug: Spelling
git-svn-id: trunk@44496 -
2014-03-23 15:35:37 +00:00
martin
019afd6ae4 FPDebug: cleanup / re-order for better inlining
git-svn-id: trunk@43407 -
2013-11-09 16:29:15 +00:00
martin
fc0f9cb361 FPDebug: fix none win
git-svn-id: trunk@43295 -
2013-10-20 23:19:10 +00:00
martin
718a99efdd FPDebug: clean up / refactor
git-svn-id: trunk@43292 -
2013-10-20 16:12:51 +00:00
martin
2c8bcdec98 FPDebug: refactor
git-svn-id: trunk@43276 -
2013-10-18 22:43:02 +00:00
martin
c752b4bf78 fpdebug: missing uses on linux
git-svn-id: trunk@42927 -
2013-09-25 00:13:30 +00:00
martin
c35a449a7c FPDebug: auto include win and elf reader
git-svn-id: trunk@42926 -
2013-09-25 00:08:30 +00:00