Commit Graph

173 Commits

Author SHA1 Message Date
mattias
9fa0532313 LazDebuggerFp: Prevent crash for unimplemented dwarf-tags (e.g. tag_interface). See issue #35129
git-svn-id: branches/fixes_2_0@60486 -
2019-02-24 14:02:04 +00:00
maxim
1b67badec0 Merged revision(s) 59895 #83ea07fe5b, 59929-59932 #f772c7f4d2-#f772c7f4d2, 59943 #31fe8e6955, 59959 #52dda0c955, 59961-59962 #40e565832d-#40e565832d, 59964 #f5e720ed1e, 59978 #7ccec4c206 from trunk:
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
........
FpDebug: Fix typecast
........
FpDebug: Fix length of widestring (avoid trailing random data)
........
FpDebug: change "open array" params to "const"
........
LazDebuggerLldb: change "open array" params to "const"
........
FpDebug: fix accessing Upper-bound-value of open-array. Was missing a context object. Issue #0034781 / Add limit to prevent bad size, if data is corrupt. Issue #34772
........
FpDebug: fix commit 59943 #31fe8e6955 / open-array bounds
........
FpDebug: added dbgs for debugln
........
FpDebug: fix nested array bounds in dwarf3
........
LazDebuggerFp/FpDebug: tests
........
FpDebug: Callstack, adjust to show the current calling line, instead of the line after it. Issue #0034753
........

git-svn-id: branches/fixes_2_0@59990 -
2019-01-04 14:12:44 +00:00
martin
c135c356af Merged revision(s) 59872 #78ffec8934 from trunk:
FpDebug: Fixed Array of String for dwarf-3
........

git-svn-id: branches/fixes_2_0@59873 -
2018-12-20 01:12:46 +00:00
martin
2a70f59029 Merged revision(s) 59825 #35103e664b, 59870 #4d4aa06706 from trunk:
FpDebug: Implement correct length for open-array params
........
FpDebug: Fixed Array of ShortString for dwarf2
........

git-svn-id: branches/fixes_2_0@59871 -
2018-12-19 23:00:27 +00:00
maxim
9759d7d1c5 Merged revision(s) 59778 #739388038a, 59780 #7f8e86bb91, 59794 #eb7d309f42 from trunk:
FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
........
FpDebug: detect ShortString under dwarf-2
........
FpDebug: started/partly detect strings in dwarf-3
........

git-svn-id: branches/fixes_2_0@59838 -
2018-12-17 22:08:53 +00:00
maxim
b3b684eb20 Merged revision(s) 59779 #fec2f4c39e from trunk:
FpDebug: nil check, in case of corrupted debug info
........

git-svn-id: branches/fixes_2_0@59786 -
2018-12-10 22:36:43 +00:00
maxim
3e99733e9d Merged revision(s) 59538-59539 #0368d8e0d8-#0368d8e0d8 from trunk:
FpDebug: temporary workaround to display widestrings (actually pwidechar^)
........
FpDebug: temporary workaround to display widechar
........

git-svn-id: branches/fixes_2_0@59541 -
2018-11-13 22:35:18 +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
martin
7473ac1d09 FpDebug: sets / tests
git-svn-id: trunk@44562 -
2014-03-31 00:18:43 +00:00
martin
3dc25d4870 FpDebug: array / tests
git-svn-id: trunk@44556 -
2014-03-30 17:05:48 +00:00
martin
759c840e8a FpDebug: array / tests
git-svn-id: trunk@44554 -
2014-03-30 14:25:23 +00:00
martin
69670fab2a FpDebug: fix array typecasts / tests
git-svn-id: trunk@44546 -
2014-03-29 02:35:57 +00:00
martin
406a3736b2 FpDebug: fix struct members / array with multi dimension / tests
git-svn-id: trunk@44542 -
2014-03-28 20:15:42 +00:00
martin
b9283584dc FpDebug: fix array with struct / tests
git-svn-id: trunk@44531 -
2014-03-28 00:21:26 +00:00
martin
0f0ea7602d FpDebug: fix nil array / tests
git-svn-id: trunk@44527 -
2014-03-26 23:31:59 +00:00
martin
202388270c FpDebug: fix array index for static array
git-svn-id: trunk@44506 -
2014-03-24 13:36:10 +00:00
martin
7dff9e1f43 FpDebug: fix data address with "Ref" / tests
git-svn-id: trunk@44501 -
2014-03-23 21:22:15 +00:00
martin
95834abad6 FpDebug: Spelling
git-svn-id: trunk@44496 -
2014-03-23 15:35:37 +00:00
martin
e3b1d7060b FPDebug: fix finding parentclass data address
git-svn-id: trunk@44408 -
2014-03-11 22:16:38 +00:00
martin
635f14467e FPDebug: fix crash
git-svn-id: trunk@44406 -
2014-03-11 14:56:09 +00:00
martin
1b3ac9cf89 FPDebug: re-added address cache for members
git-svn-id: trunk@44402 -
2014-03-11 04:54:05 +00:00
martin
91b0b4fb35 FPDebug: fix crash in accessing member by name
git-svn-id: trunk@44391 -
2014-03-10 00:38:52 +00:00