martin
cd76eb1ef2
FpDebug: Improve wide/utf8 string/char handling
...
git-svn-id: trunk@62021 -
2019-10-10 12:19:40 +00:00
martin
cbe21ff4f3
FpDebug: implement watching bitpacked array/record
...
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +00:00
martin
f96c6b9f66
FpDebug: Fix "set of (10..20)" (subrange)
...
git-svn-id: trunk@62011 -
2019-10-09 20:06:18 +00:00
martin
1097debc48
FpDebug: fix crash when evaluating enum "member". (The identifier representing one of the values of the enum)
...
git-svn-id: trunk@61969 -
2019-10-03 18:38:13 +00:00
martin
aa60af3f9e
FpDebug: Remove circular refs
...
git-svn-id: trunk@61953 -
2019-09-29 21:43:54 +00:00
martin
ab5154ae18
FpDebug: Move type related code from TFpSymbolDwarfDataProc to TFpSymbolDwarfTypeProc.
...
git-svn-id: trunk@61952 -
2019-09-29 21:43:53 +00:00
martin
cc3a453334
FpDebug: Remove circular cache for ValueObject.
...
git-svn-id: trunk@61951 -
2019-09-29 21:43:51 +00:00
martin
495c172050
FpDebug: Remove LastMember for structures (part of circle ref with StructureValue)
...
git-svn-id: trunk@61950 -
2019-09-29 21:43:49 +00:00
martin
6dbfb412aa
FpDebug: Remove circular ref handling for LocalProcInfo (no longer circular)
...
git-svn-id: trunk@61940 -
2019-09-28 19:08:19 +00:00
martin
b67765f419
FpDebug: Move cache for SelfParam to Context / remove circular ref for LocalProc.
...
git-svn-id: trunk@61939 -
2019-09-28 19:08:18 +00:00
martin
df73d42186
FpDebug: Remove duplicate ApplyContext calls
...
git-svn-id: trunk@61938 -
2019-09-28 19:08:16 +00:00
martin
82f84c23c4
FpDebug: Remove FlastResult from FindSymbol
...
git-svn-id: trunk@61937 -
2019-09-28 19:08:15 +00:00
martin
c7ccbdc276
FpDebug: Change ParentTypeInfo to only hold the structure/array/enum to which the value belongs. Also move it to TFpValue to make it circle-ref free.
...
Introduce LocalProcInfo for the "local procedure" (if any) to which the symbol belongs.
git-svn-id: trunk@61935 -
2019-09-28 19:08:11 +00:00
martin
0b2536f3f0
FpDebug: Merge StructTypeCast.GetMember... to parent class methods
...
git-svn-id: trunk@61934 -
2019-09-28 19:08:09 +00:00
martin
436265bf70
FpDebug: Remove unused member list
...
git-svn-id: trunk@61932 -
2019-09-28 19:08:06 +00:00
martin
2ee62a6a50
FpDebug: Remove TypeCastTargetType, use DwarfTypeSymbol (former Owner) which now includes all outer (un-nested) types
...
git-svn-id: trunk@61925 -
2019-09-26 16:37:26 +00:00
martin
ca3bcf9fa2
FpDebug: Clean up. Remove ValueSymbol => same as DbgSymbol
...
git-svn-id: trunk@61924 -
2019-09-26 16:37:25 +00:00
martin
9c280bd0e3
FpDebug: Refactor TFpSymbol.Size
...
git-svn-id: trunk@61923 -
2019-09-26 16:37:22 +00:00
martin
d7a8a70916
FpDebug: Make Pointer deref work without item size. (In case size is not avail, or too big)
...
git-svn-id: trunk@61920 -
2019-09-24 23:36:40 +00:00
martin
9b5a4935a0
FpDebug: fix wrong type for bound-symbol fields / Enable TypedAddress
...
git-svn-id: trunk@61918 -
2019-09-24 23:36:37 +00:00
martin
4f54cfa13b
FpDebug: clean up a few occasions where FContext is set twice
...
git-svn-id: trunk@61916 -
2019-09-24 23:36:34 +00:00
martin
f37ef11330
FpDebug: Remove HasBounds (which did not have a ValueObject). Make SubRanges check for their own size too.
...
git-svn-id: trunk@61915 -
2019-09-24 23:36:32 +00:00
martin
f9d28f268b
FpDebug: 64bit debugger exe does not have a 10bit Extended (as in 32bit exe). Cross debugger can therefore not display such values. Return an error.
...
git-svn-id: trunk@61902 -
2019-09-19 13:08:44 +00:00
martin
e2590a7c19
FpDebug: Ensure that the Context is passed on to new Value-objects. Fix crash on nil pointer
...
git-svn-id: trunk@61900 -
2019-09-18 22:14:02 +00:00
martin
34e84c690e
FpDebug: rename variable
...
git-svn-id: trunk@61802 -
2019-09-02 00:44:46 +00:00
martin
5408d59907
FpDebug: Clean up, error will be set already
...
git-svn-id: trunk@61801 -
2019-09-02 00:44:45 +00:00
martin
14ef5eb9fc
FpDebug: Refactor ReadBounds
...
git-svn-id: trunk@61800 -
2019-09-02 00:44:43 +00:00
martin
767d2014d8
FpDebug: Refactor GetDataAddress
...
git-svn-id: trunk@61799 -
2019-09-02 00:44:41 +00:00
martin
538976df00
FpDebug: Implement DW_AT_allocated and DW_AT_associated
...
git-svn-id: trunk@61791 -
2019-08-31 20:59:09 +00:00
martin
6b65857351
FpDebug: Refactor cache for Address/DataAddress
...
git-svn-id: trunk@61790 -
2019-08-31 20:59:08 +00:00
martin
4b2740c97a
FpDebug: DW_AT_data_member_location now handles constant offset too. Moved to ComputeDataMemberAddress
...
git-svn-id: trunk@61789 -
2019-08-31 20:59:06 +00:00
martin
0d8b455ac6
FpDebug: rename one of the two LocationFromTag methods
...
git-svn-id: trunk@61788 -
2019-08-31 20:59:04 +00:00
martin
aa7a4b709c
FpDebug: better detection of skInterface, skClass, skObject, skRecord. Added DW_TAG_interface_type.
...
git-svn-id: trunk@61782 -
2019-08-29 15:12:43 +00:00
martin
d18be77617
FpDebug: Move more fpc specific behaviour to fpdbgdwarffreepascal.pas
...
git-svn-id: trunk@61779 -
2019-08-28 15:36:18 +00:00
martin
3469cab38f
FpDebug: Rename FpSymbol.Member* to NestedSymbol* / Distinguish from FpValue.Member
...
git-svn-id: trunk@61776 -
2019-08-28 15:36:13 +00:00
martin
ee04ce523f
FpDebug: Refactor MemberCount for structures
...
git-svn-id: trunk@61752 -
2019-08-24 20:39:53 +00:00
martin
42ba3bfcc7
FpDebug: Refactor TFpSymbolDwarfTypeSubRange bound info
...
git-svn-id: trunk@61751 -
2019-08-24 20:39:51 +00:00
martin
fb065ad50b
FpDebug: Remove unused (and redundant) cache for Members
...
git-svn-id: trunk@61750 -
2019-08-24 20:39:50 +00:00
martin
4c4fa5b667
FpDebug: Remove unused code HasDwarfDataAddress
...
git-svn-id: trunk@61748 -
2019-08-22 21:33:27 +00:00
martin
f92c11c44a
FpDebug: Remove some duplicate code for GetDataAddress
...
git-svn-id: trunk@61747 -
2019-08-22 21:33:25 +00:00
martin
c69090c512
FpDebug: Rework TFpValueDwarfPointer.GetDataAddress, the data address is the pointer, not the deref-address.
...
git-svn-id: trunk@61746 -
2019-08-22 21:33:24 +00:00
martin
ce99e791cb
FpDebug: Clean up / Remove duplicate method DataAddr
...
git-svn-id: trunk@61743 -
2019-08-22 21:33:19 +00:00
martin
335f49891d
FpDebug: display info about types in watches
...
git-svn-id: trunk@61734 -
2019-08-20 18:58:50 +00:00
martin
0ce9055f11
FpDebug: Fix/Improve watches of Function/-ref
...
git-svn-id: trunk@61732 -
2019-08-20 18:58:47 +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
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
5110e434a6
FpDebug: Refactor reading Bounds
...
git-svn-id: trunk@61499 -
2019-06-30 19:16:58 +00:00
martin
ebbd6b5e0b
FpDebug: Fix Overflow in max array/string size
...
git-svn-id: trunk@61497 -
2019-06-30 19:16:55 +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
4d779b1188
FpDebug: Ensure Object-address for location-parser is stored
...
git-svn-id: trunk@61450 -
2019-06-23 11:14:23 +00:00
martin
a2744edd0a
FpDebug: clean up
...
git-svn-id: trunk@61420 -
2019-06-18 18:39:24 +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
5d6b05e0c0
FpDebug: Move reading dwarf-2 length of dyn-array to fpc specific unit (fpdbgdwarffreepascal)
...
git-svn-id: trunk@61415 -
2019-06-18 18:39:15 +00:00
martin
5effef2a57
FpDebug: Refactor "AttribIdx". Reduce repeated calls.
...
git-svn-id: trunk@61414 -
2019-06-18 18:39:13 +00:00
martin
e2056f0494
FpDebug: Watches/Locals: Display "Unknown type" instead of "Identifier not found" for unimplemented/unknown data/types
...
git-svn-id: trunk@61005 -
2019-04-17 23:53:07 +00:00
martin
b0a3fd76d0
FpDebug: Fix an overflow in address calculation
...
git-svn-id: trunk@60798 -
2019-03-30 18:45:46 +00:00
martin
93f5df8cf3
LazDebuggerFp: Prevent crash for unimplemented dwarf-tags (e.g. tag_interface). See issue #35129
...
git-svn-id: trunk@60476 -
2019-02-24 13:36:36 +00:00
martin
c19567f879
FpDebug: fix nested array bounds in dwarf3
...
git-svn-id: trunk@59962 -
2019-01-01 15:06:19 +00:00
martin
8524c41d52
FpDebug: change "open array" params to "const"
...
git-svn-id: trunk@59931 -
2018-12-29 00:35:22 +00:00
martin
870af3d3e8
FpDebug: Fix length of widestring (avoid trailing random data)
...
git-svn-id: trunk@59930 -
2018-12-29 00:31:05 +00:00
martin
83ea07fe5b
FpDebug: limit array/string bounds (max len) / partial fix/workaround to prevent crashes when eval locals while in pro-epi-logue (stack not yet initialized / random data for bounds and other). Issue #0034746
...
git-svn-id: trunk@59895 -
2018-12-22 18:26:39 +00:00
martin
78ffec8934
FpDebug: Fixed Array of String for dwarf-3
...
git-svn-id: trunk@59872 -
2018-12-20 01:11:42 +00:00
martin
4d4aa06706
FpDebug: Fixed Array of ShortString for dwarf2
...
git-svn-id: trunk@59870 -
2018-12-19 22:56:29 +00:00
martin
7f8e86bb91
FpDebug: detect ShortString under dwarf-2
...
git-svn-id: trunk@59780 -
2018-12-10 21:13:01 +00:00
martin
fec2f4c39e
FpDebug: nil check, in case of corrupted debug info
...
git-svn-id: trunk@59779 -
2018-12-10 21:10:07 +00:00
martin
739388038a
FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
...
git-svn-id: trunk@59778 -
2018-12-10 21:08:22 +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
fa6ae63e30
FpDebug: temporary workaround to display widechar
...
git-svn-id: trunk@59539 -
2018-11-13 12:17:15 +00:00
martin
0368d8e0d8
FpDebug: temporary workaround to display widestrings (actually pwidechar^)
...
git-svn-id: trunk@59538 -
2018-11-13 11:48:38 +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
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
2c1cc645e3
fpdebug: added params to stack
...
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
martin
311acd5b58
fpdebug: check for bounds, before accessing
...
git-svn-id: trunk@49086 -
2015-05-18 20:11:13 +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
5bc5c42c07
FpDebug: Fixed the index-calculation for Dwarf-3 encoded strings
...
git-svn-id: trunk@46096 -
2014-08-31 16:12:38 +00:00
joost
7b1dd835cd
FpDebug: Evaluate Dwarf-3 dynamic array/string upper value bound
...
git-svn-id: trunk@46091 -
2014-08-30 18:46:05 +00:00
martin
5acc0236ce
FpDebug: array (1 dimension): DW_AT_byte_stride
...
git-svn-id: trunk@44918 -
2014-05-05 00:53:22 +00:00
martin
c4d3a2e866
FpDebug: recognize parentfp and $parentfp
...
git-svn-id: trunk@44912 -
2014-05-04 19:18:17 +00:00
martin
f49845883c
FpDebug: implemented DW_AT_data_location
...
git-svn-id: trunk@44909 -
2014-05-04 16:53:21 +00:00
martin
6f4e80d11d
FpDebug: fix compile (without extra defines)
...
git-svn-id: trunk@44830 -
2014-04-27 20:54:36 +00:00
martin
53d97181b6
FpGdbmiDebugger: Add Locals
...
git-svn-id: trunk@44815 -
2014-04-26 15:46:40 +00:00
martin
36cf5c18c1
FpGdbmiDebugger: fixes typecast to class of current method / improve nested procs / tests
...
git-svn-id: trunk@44711 -
2014-04-13 02:39:01 +00:00
martin
99beb437a1
FpGdbmiDebugger: fixes for nested proc / tests
...
git-svn-id: trunk@44709 -
2014-04-12 21:37:50 +00:00
martin
fd9065da9c
FpDebug: deal with parentfp for nested procs
...
git-svn-id: trunk@44639 -
2014-04-07 20:24:10 +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
cc3874bdbb
FpDebug: fixed crash when attempting to inspect method (not implemented)
...
git-svn-id: trunk@44612 -
2014-04-05 22:59:10 +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
69938aa78b
FpDebug: remove no longer needed reference.
...
git-svn-id: trunk@44604 -
2014-04-04 19:26:27 +00:00
martin
9fbc114aa7
FpDebug: move "self" to pascal specific
...
git-svn-id: trunk@44603 -
2014-04-04 18:54:48 +00:00
martin
d1a92f8e05
FpDebug: use TFpDbgValue in Context.FindSymbol
...
git-svn-id: trunk@44602 -
2014-04-04 18:24:15 +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
martin
e7ed3a5bce
move debug/verbose code to own unit
...
git-svn-id: trunk@44586 -
2014-04-01 23:44:33 +00:00
martin
753201d93a
FpDebug: fix dyn array len / 64 bit
...
git-svn-id: trunk@44573 -
2014-03-31 23:05:20 +00:00
martin
aea501eaad
FpDebug: fix uninitialized result
...
git-svn-id: trunk@44572 -
2014-03-31 22:57:29 +00:00
martin
4afbc6b24d
FpDebug: start pretty-printer class
...
git-svn-id: trunk@44564 -
2014-03-31 17:41:22 +00:00
martin
8d1b5eeea4
FpDebug: pointer deref with index / tests
...
git-svn-id: trunk@44563 -
2014-03-31 03:11:39 +00:00