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
5fb2dfc3ed
FpDebug: Fix Mem-leak, DefaultMap was not freed. Issue #0036498
...
git-svn-id: trunk@62488 -
2020-01-04 15:00:38 +00:00
martin
5f2f41dd34
FpDebug: Allow to create contexct from known ProcSym / Updated TDbgCallstackEntry.GetParamsAsString / Avoid double look-up of proc-symbol
...
git-svn-id: trunk@62172 -
2019-11-03 17:05:35 +00:00
martin
22aca35233
FpDebug: Use LastError from value object.
...
git-svn-id: trunk@62045 -
2019-10-13 12:25:37 +00:00
martin
cbe21ff4f3
FpDebug: implement watching bitpacked array/record
...
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +00:00
martin
2ec08f8a9c
FpDebug: rename TDbgInfo.FindSympol into FindProcSymbol
...
git-svn-id: trunk@61936 -
2019-09-28 19:08:13 +00:00
martin
94eaca854f
FpDebug: Rename TDbgSymbolForwarder to TFpSymbolForwarder
...
git-svn-id: trunk@61777 -
2019-08-28 15:36:15 +00:00
martin
5a7c9f1487
FpDebug: Refactor class names for TFpDbgValue and TFpDbgSymbol descendants.
...
git-svn-id: trunk@61722 -
2019-08-18 13:43:45 +00:00
martin
afb6089d74
FpDebug: Display function-ref variables
...
git-svn-id: trunk@61521 -
2019-07-03 18:26:32 +00:00
martin
96ba76e670
FpDebug: Fix FindProcSymbol, always search all CompilationUnits
...
git-svn-id: trunk@61516 -
2019-07-03 18:26:24 +00:00
martin
2ca01a1067
FpDebug: Allow constants in type-cast to be treated as address
...
git-svn-id: trunk@61501 -
2019-06-30 19:17:01 +00:00
martin
3fa2c1926a
FpDebug: LocationParser: clean up and optimize (peek instead of pop)
...
git-svn-id: trunk@61500 -
2019-06-30 19:16:59 +00:00
martin
16b217f5b9
FpDebug: Cleanup
...
git-svn-id: trunk@61493 -
2019-06-30 19:16:47 +00:00
martin
7f8306fad7
FpDebug: Allow LocationParser (dwarf loc expressions) to work with mlfSelfMem (for constants which have their value in the dwarf headers, rather than the process mem)
...
git-svn-id: trunk@61451 -
2019-06-23 11:14:24 +00:00
martin
8874afbe6a
FpDebug/LazDebuggerFp: Refactor logging, use LazLogger for all logging.
...
git-svn-id: trunk@61427 -
2019-06-19 15:26:22 +00:00
martin
970cf11642
FpDebug: DwarfClassMap (fpc specific classes), use instances.
...
git-svn-id: trunk@61416 -
2019-06-18 18:39:17 +00:00
martin
5effef2a57
FpDebug: Refactor "AttribIdx". Reduce repeated calls.
...
git-svn-id: trunk@61414 -
2019-06-18 18:39:13 +00:00
martin
ca3d4a29d7
FpDebug: Fix DW_FORM_strp for Dwarf3's 64Bit-Dwarf info
...
git-svn-id: trunk@60086 -
2019-01-14 23:13:21 +00:00
martin
7e6959a326
FpDebug: Fix Dwarf3 on 64bit. The The 32/64bit signature in the dwarf header should only affect references within the dwarf info. But by accident it affected constant addresses. This lead to truncation of some addresses, when dwarf-3 was used with 64 bit targets.
...
git-svn-id: trunk@59776 -
2018-12-10 20:57:24 +00:00
martin
d69ccc1655
FpDebug: DW_AT_const_value for basic constants. / Fix for SLEB128
...
git-svn-id: trunk@59730 -
2018-12-05 19:43:30 +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
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
5562c074da
IDE, fpDebug, Debuggers: Deal with source lines that have more than one address (e.g. generics). fpDebug: set breakpoints at all addresses of a line.
...
git-svn-id: trunk@57782 -
2018-05-03 18:52:41 +00:00
martin
196ed8504a
FPDebugger: Fix line state machine, inc counter for EndSequence
...
git-svn-id: trunk@57778 -
2018-05-03 18:28:09 +00:00
joost
0678543521
* Fixed range-check error due to uninitialized variable
...
git-svn-id: trunk@54573 -
2017-04-08 14:40:37 +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
mattias
b11155e714
fpdebug: fixed mem leak
...
git-svn-id: trunk@50881 -
2015-12-17 21:58:59 +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
mattias
bd1655b970
fpdebug: clean up
...
git-svn-id: trunk@46945 -
2014-11-21 23:47:27 +00:00
joost
d28ad93b73
fpDebug: Revert of files accidentally committed in r46119 #afc3882ca7
...
git-svn-id: trunk@46120 -
2014-09-03 14:44:07 +00:00
joost
afc3882ca7
FpDebug: Disabled range-checking to fix range-check error. The fix in r46105 #bbf07c5bd6 leads to a datastructure which is too large for 32 bit
...
git-svn-id: trunk@46119 -
2014-09-03 14:39:44 +00:00
joost
d062000bf3
FpDebug: Another fix for the length of DW_FORM_ref_addr in Dwarf v3
...
git-svn-id: trunk@46075 -
2014-08-25 20:50:08 +00:00
joost
289f8e8657
FpDebug: Set function result in TFpDwarfInfo.FindContext
...
git-svn-id: trunk@46074 -
2014-08-25 18:53:29 +00:00
joost
ac95b9c55d
FpDebugger (pure): Patch from Colin Western to resolve relative filenames in Dwarf-debug info.
...
git-svn-id: trunk@45933 -
2014-07-20 13:27:52 +00:00
joost
f38e91869e
FpDebug: DW_FORM_strps lenght equals the adres size in Dwarf 1/2
...
git-svn-id: trunk@45774 -
2014-07-04 19:01:06 +00:00
joost
53076fb0cb
FpDebug: In 64-bit binaries the size of references to Dwarf-data is not dependent on the address-size, but on the Dwarf-format being in 64-bit format
...
git-svn-id: trunk@45227 -
2014-05-29 20:15:15 +00:00
joost
3e1cd7e526
FpDebug: Read FORM_strp string values
...
git-svn-id: trunk@45225 -
2014-05-29 19:59:27 +00:00
martin
f49845883c
FpDebug: implemented DW_AT_data_location
...
git-svn-id: trunk@44909 -
2014-05-04 16:53:21 +00:00
martin
03d6bdade7
FpDebug: prepare mem-manager for context
...
git-svn-id: trunk@44627 -
2014-04-07 00:26:04 +00:00
martin
5df27a9624
FpDebug: renamed dwarf classes, more unified names
...
git-svn-id: trunk@44624 -
2014-04-06 16:27:37 +00:00
martin
79bd1ed96f
FpDebug: refactor, each value in an expression keeps its own context (prepare for fpc nested proc)
...
git-svn-id: trunk@44611 -
2014-04-05 22:27:53 +00:00
martin
ad1e9548a3
FpDebug: restructure dwarf classes, preparation for adding fpc specific subclasses
...
git-svn-id: trunk@44598 -
2014-04-03 23:24:00 +00:00
martin
66beffb223
FpDebug: restructure dwarf classes, preparation for adding fpc specific subclasses
...
git-svn-id: trunk@44594 -
2014-04-03 17:44:49 +00:00