Commit Graph

479 Commits

Author SHA1 Message Date
joost
7539c6e5ff FpDebug (pure): Debug 64-bit binaries on OS/X
git-svn-id: trunk@45229 -
2014-05-29 20:19:49 +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
joost
f81a1f3ea6 LazDebuggerFp (pure): Read macho-64 binaries
git-svn-id: trunk@45173 -
2014-05-25 16:38:40 +00:00
joost
3d95b919cf LazDebuggerFp (pure): Parse symbol-table on Windows. (Enables software-exceptions support)
git-svn-id: trunk@45162 -
2014-05-24 21:26:27 +00:00
joost
f31423f2de FpDebug: Search in symbol-table when setting breakpoints in console-debugger
git-svn-id: trunk@45161 -
2014-05-24 19:38:00 +00:00
zeljko
404a3f3bd3 fpdebug: fixed compilation under x86_64.
git-svn-id: trunk@45152 -
2014-05-22 18:58:17 +00:00
joost
61775433a1 FpDebugger (pure): Pause on fpc software-breakpoints
git-svn-id: trunk@45146 -
2014-05-22 07:41:01 +00:00
martin
668ff18191 FpDebug: added type skAddress
git-svn-id: trunk@45039 -
2014-05-14 21:02:13 +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
d57cd64ddb FpGdbmiDebugger: display "inherits from" in debug-inspector
git-svn-id: trunk@45007 -
2014-05-11 15:40:30 +00:00
martin
b1eca5be27 FpGdbmiDebugger: more tests / tests clean up / repeatcount for memdump
git-svn-id: trunk@45005 -
2014-05-11 14:59:56 +00:00
martin
87080f5081 FpDebugger (pure): function name in stack
git-svn-id: trunk@44989 -
2014-05-10 02:01:14 +00:00
martin
3a712955ca FpDebugger (pure): eval watches for selected stackframe
git-svn-id: trunk@44987 -
2014-05-10 00:44:49 +00:00
joost
7ba1fd42b7 LazDebuggerFp (pure): Exception handling on OS/X
git-svn-id: trunk@44978 -
2014-05-08 19:13:29 +00:00
martin
89d29e376f FpGdbmiDebugger, FPDebug: move code for watches dbginfo
git-svn-id: trunk@44974 -
2014-05-08 16:29:54 +00:00
joost
f25dee1d51 LazDebuggerFp (pure): Exception handling. (no software exceptions)
git-svn-id: trunk@44970 -
2014-05-07 18:32:50 +00:00
joost
4b1ac8df58 FpDebug: Implemented simple 'evaluation' command for command-line debugger example.
git-svn-id: trunk@44968 -
2014-05-07 16:17:48 +00:00
martin
c239838960 FpDebug: partial implementation of "repeat count"
git-svn-id: trunk@44937 -
2014-05-06 19:32:25 +00:00
joost
31762452ae LazDebuggerFp (pure): Handle working-directory and environment of debuggee
git-svn-id: trunk@44936 -
2014-05-06 19:25:38 +00:00
martin
6a9ea0f2ff FpDebug: error checks
git-svn-id: trunk@44929 -
2014-05-05 22:57:31 +00:00
joost
04283997b4 LazDebuggerFp (pure): Pass arguments to debuggee
git-svn-id: trunk@44928 -
2014-05-05 20:15:42 +00:00
joost
79f817ca53 LazDebuggerFp (pure): Use TProcess to start debuggee
git-svn-id: trunk@44922 -
2014-05-05 10:21:16 +00:00
martin
60aa4dd2fc FpDebug: missing result
git-svn-id: trunk@44919 -
2014-05-05 03:02:16 +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
b2830cbfb2 FpDebug: fix crash in type-printer
git-svn-id: trunk@44908 -
2014-05-04 16:51:38 +00:00
joost
c700bfe172 LazDebuggerFp (pure): Implemented basic callstack
git-svn-id: trunk@44906 -
2014-05-04 12:08:50 +00:00
joost
17f29c4ac2 FpDebug: Implemented GetStackPointerRegisterValue on Darwin
git-svn-id: trunk@44904 -
2014-05-04 11:10:27 +00:00
martin
e53e32b3c8 FpDebug: compile on win64
git-svn-id: trunk@44902 -
2014-05-03 15:00:16 +00:00
martin
6281c4adcf FpDebug: started DisplayFormat
git-svn-id: trunk@44896 -
2014-05-03 00:14:44 +00:00
martin
591043b078 GdbmiDebugger: added workaround for pchar vs string issue in dwarf 2
git-svn-id: trunk@44889 -
2014-05-02 13:14:44 +00:00
martin
aacb2aa6cf FpDebug: added operators +, - for float
git-svn-id: trunk@44884 -
2014-05-02 02:02:32 +00:00
martin
fc31f1a0c0 FpDebug: added operators =, <, >, <> for int/float
git-svn-id: trunk@44883 -
2014-05-02 01:44:33 +00:00
martin
2b8b09ffba FpDebug: fixed crash from prev commit
git-svn-id: trunk@44882 -
2014-05-02 01:01:24 +00:00
martin
a8caa85052 FpDebug: added nil,true,false
git-svn-id: trunk@44881 -
2014-05-02 00:53:39 +00:00
martin
e645bd4e95 FpDebug: added operators *, /, div for int/float
git-svn-id: trunk@44880 -
2014-05-02 00:13:10 +00:00
martin
f7c6916db6 FpDebug: added some error handling
git-svn-id: trunk@44865 -
2014-04-30 22:15:31 +00:00
joost
580048e97c FpDebug: Do not continue the process after an invalid command
git-svn-id: trunk@44863 -
2014-04-30 20:59:12 +00:00
joost
e7779bd476 LazDebuggerFp (pure): Implemented step-into
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
martin
1af2bd99a6 FpDebug: fix compile / range check for const
git-svn-id: trunk@44853 -
2014-04-30 13:18:53 +00:00
martin
15dd056207 FpGdbmiDebugger: add/sub int to/from pointer / tests
git-svn-id: trunk@44850 -
2014-04-30 12:42:54 +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
joost
36e6e3a257 LazDebuggerFp (pure): Implemented step-out
git-svn-id: trunk@44804 -
2014-04-24 16:06:50 +00:00
joost
056bfcfe4b LazDebuggerFp (pure): When stepping(over) out of a procedure, continue until a new sourceline has been reached.
git-svn-id: trunk@44799 -
2014-04-23 21:00:42 +00:00
joost
f677379864 FpDebug: Added step-over and next commands to console-example (fpd)
git-svn-id: trunk@44798 -
2014-04-23 19:55:05 +00:00
joost
48c19eb556 FpDebug: Fixed compilation of the example console-debugger on Windows
git-svn-id: trunk@44794 -
2014-04-23 18:37:34 +00:00
joost
0a5d5ee491 FpDebug: Re-wrote the example console-debugger to let it use the new TDbgcontroller
git-svn-id: trunk@44792 -
2014-04-23 08:53:41 +00:00
joost
577f7954bb LazDebuggerFp (pure): * Raise exception when Stop is called on a non-existing process
* Solved some problems wih logging

git-svn-id: trunk@44791 -
2014-04-23 07:49:12 +00:00
joost
a8ea2fde98 LazDebuggerFp (pure): Use the ProcessID to detect if a process is finished, because the Handle is not used on OS/X
git-svn-id: trunk@44790 -
2014-04-23 07:21:22 +00:00
joost
fc35f675bc LazDebuggerFp (pure): Resolved problems with freeing breakpoints after the debuggee has ended.
git-svn-id: trunk@44771 -
2014-04-20 19:39:35 +00:00
joost
87bfbf6372 LazDebuggerFp (pure): Removed unused FBreakList
git-svn-id: trunk@44770 -
2014-04-20 17:59:44 +00:00
joost
e1881c3f4c LazDebuggerFp (pure): Implemented RunTo
git-svn-id: trunk@44768 -
2014-04-20 11:00:33 +00:00
joost
a69e382e98 LazDebuggerFp (pure): Ability to pause debuggee (Windows)
git-svn-id: trunk@44749 -
2014-04-16 20:19:13 +00:00
joost
86f9de7b2a LazDebuggerFp (pure):
* When a breakpoint is hit, pass the correct breakpoint to the TFpDebugDebugger.
 * Solve an AV when the IDE exits

git-svn-id: trunk@44743 -
2014-04-16 09:15:10 +00:00
joost
a52defb4e1 LazDebuggerFp (pure): Ability to add/delete/enable/disable breakpoints when the debuggee is not running or paused.
git-svn-id: trunk@44741 -
2014-04-16 08:05:58 +00:00
joost
acecc4a260 LazDebuggerFp (pure): Implemented step-over (next)
git-svn-id: trunk@44737 -
2014-04-15 19:22:01 +00:00
joost
22b80b3cf5 LazDebuggerFp (pure): StepIntoStr -> StepIntoInstr
git-svn-id: trunk@44728 -
2014-04-14 16:59:05 +00:00
joost
96991a9a84 FpDebug: Fixed compilation with range-checking on
git-svn-id: trunk@44727 -
2014-04-14 16:46:03 +00:00
joost
ae35141581 LazDebuggerFp (pure): Implemented StepOverInstr
git-svn-id: trunk@44725 -
2014-04-14 16:39:35 +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
joost
8f5701ed19 LazDebuggerFp (pure): Hide software breakpoints (int3) on reading data
git-svn-id: trunk@44704 -
2014-04-12 16:24:46 +00:00
joost
0e62389d08 LazDebuggerFp (pure): Fixed single-stepping which was broken since r44690 #14698396ff
git-svn-id: trunk@44703 -
2014-04-12 16:19:20 +00:00
joost
14698396ff LazDebuggerFp (pure): Fixed AV on Windows
git-svn-id: trunk@44690 -
2014-04-11 21:13:20 +00:00
joost
c7e539dc46 LazDebuggerFp (pure): Added reading of register support to TDbgMemReader.
git-svn-id: trunk@44689 -
2014-04-11 21:10:34 +00:00
joost
98f4a08663 LazDebuggerFp (pure): Fixed single-stepping on OS/X
git-svn-id: trunk@44685 -
2014-04-11 20:06:36 +00:00
joost
dbbdddb97a LazDebuggerFp (pure): Fix for compilation on newer fpc-versions, where TProcess.OnForEvent is a method
git-svn-id: trunk@44684 -
2014-04-11 19:54:11 +00:00
joost
982b409e26 LazDebuggerFp (pure): Fixed information in debugline
git-svn-id: trunk@44683 -
2014-04-11 19:42:55 +00:00
joost
d521103501 LazDebuggerFp (pure): Return the correct value of the instruction-pointer after a breakpoint has been reached. (Windows)
git-svn-id: trunk@44675 -
2014-04-11 09:34:49 +00:00
joost
79d49417bd LazDebuggerFp (pure): If a breapoint is reached by single-stepping, handle the breakpoint properly.
git-svn-id: trunk@44674 -
2014-04-11 09:27:25 +00:00
joost
67f3dec675 LazDebuggerFp (pure): Removed obsolete TFPDState
git-svn-id: trunk@44673 -
2014-04-11 09:25:29 +00:00
joost
52282ede03 LazDebuggerFp (pure): Implemented single-stepping (assembly level) and resetting of a breakpoint after it has been hit. (Windows)
git-svn-id: trunk@44670 -
2014-04-10 20:11:41 +00:00
joost
499c7ed593 LazDebuggerFp (pure): Show register-values on OS/X
git-svn-id: trunk@44658 -
2014-04-09 08:25:46 +00:00
joost
e2c993ce95 LazDebuggerFp (pure): Recognition of breakpoints on Windows. Silently ignore unknown breakpoints, if possible.
git-svn-id: trunk@44657 -
2014-04-08 22:11:09 +00:00
martin
244cdad9cd FpDebug: nil after free
git-svn-id: trunk@44648 -
2014-04-08 14:46:50 +00:00
martin
15754fca9a LazDebuggerFp (pure): add line info
git-svn-id: trunk@44646 -
2014-04-08 13:35:38 +00:00
martin
b0e9f959f6 FpDebug: deal with parentfp for nested procs
git-svn-id: trunk@44642 -
2014-04-07 20:33:20 +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
3937a88b0f LazDebuggerFp (pure): do not crash range check
git-svn-id: trunk@44636 -
2014-04-07 16:57:59 +00:00
martin
f3e4622b30 LazDebuggerFp (pure): do not crash with -gtt
git-svn-id: trunk@44634 -
2014-04-07 16:49:40 +00:00
joost
ae8c35b16e FpDebug: Removed old, invalid assertion whose meaning is lost in time...
git-svn-id: trunk@44633 -
2014-04-07 16:40:09 +00:00
joost
813e158c7d FpDebug: Fixed compilation after recent changes and with fpc 2.6.2
git-svn-id: trunk@44632 -
2014-04-07 16:34:55 +00:00
joost
2a7b0ee37e FpDebug:
* Implemented basic TFpDbgMemReader. It handles reading memory, reading register values is still not implemented
 * Implemented very basic evaluation of watches.

git-svn-id: trunk@44630 -
2014-04-07 09:23:40 +00:00
martin
03d6bdade7 FpDebug: prepare mem-manager for context
git-svn-id: trunk@44627 -
2014-04-07 00:26:04 +00:00
joost
0eaa8042c5 FpDebug: Basic support for getting register-values.
git-svn-id: trunk@44626 -
2014-04-06 19:13:38 +00:00
martin
5df27a9624 FpDebug: renamed dwarf classes, more unified names
git-svn-id: trunk@44624 -
2014-04-06 16:27:37 +00:00
joost
1c21a9a593 FpDebug: REmoved unused BaseAddr and StartAdd for threads.
git-svn-id: trunk@44622 -
2014-04-06 14:52:28 +00:00
joost
aed7174382 FpDebug: Make sure the result of function ResolveDebugEvent is always set
git-svn-id: trunk@44621 -
2014-04-06 14:41:30 +00:00
joost
047b2b57e5 FpDebug: Replaced several writeln's with DebugLn's, since WriteLn does not work well on Windows GUI-applications. This messes up the output of console-debuggers, but that needs some re-modeling anyway.
git-svn-id: trunk@44620 -
2014-04-06 14:30:04 +00:00
joost
0341bfb4de FpDebug: Don not pause debugging after a library has been loaded
git-svn-id: trunk@44618 -
2014-04-06 13:41:27 +00:00
martin
be059632cf LazDebuggerFp (pure): renamed package / moved location
git-svn-id: trunk@44614 -
2014-04-05 23:22:56 +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
joost
3f25b41d11 * Fixed compilation for non-Windows systems
git-svn-id: trunk@44607 -
2014-04-05 09:55:42 +00:00
joost
d50b62d2dc FpDebug:
* Added TDbgController class to FpDebug to make it easiear
   to implement a debugger. 
 * Added the package LazFpDebug, which registers a new
   debugger into the IDE that uses FpDebug to debug applications. 

git-svn-id: trunk@44606 -
2014-04-05 08:07:24 +00:00
joost
e6983321d8 * Reset a breakpoint after hitting it
git-svn-id: trunk@44605 -
2014-04-04 20:17:17 +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
8399441f33 FpDebug: restructure dwarf classes, preparation for adding fpc specific subclasses
git-svn-id: trunk@44599 -
2014-04-03 23:24:43 +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
joost
e9f865d7b8 FpDebug: Fix compilation after r44595 #ab2522e911
git-svn-id: trunk@44596 -
2014-04-03 19:19:07 +00:00
joost
ab2522e911 FpDebug: Make sure that all signals of a process are handled after the process has been terminated. That to avoid mixing these signals with signals of other processes
git-svn-id: trunk@44595 -
2014-04-03 19:17:01 +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
3f4da57059 FpDebug: fix ErrorHandler
git-svn-id: trunk@44580 -
2014-04-01 15:05:33 +00:00
martin
acbf9eea68 FpDebug: fix read address from mem
git-svn-id: trunk@44579 -
2014-04-01 13:09:27 +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
91ae0e64c5 FpDebug: compile on win64
git-svn-id: trunk@44570 -
2014-03-31 22:14:28 +00:00
martin
a764f07fe4 FpDebug: fix endless recursion
git-svn-id: trunk@44567 -
2014-03-31 21:26:03 +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
joost
6a13624f76 * Use TProcess to start debuggee, since it handles stuff like stdin/out, environment variables and such
* Ability to kill debuggee
 * Resolve location of dSym bundle of application-bundles properly

git-svn-id: trunk@44560 -
2014-03-30 20:28:32 +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
joost
89248a3340 * Add ability to debug OS/X application-folders
git-svn-id: trunk@44552 -
2014-03-29 19:42:36 +00:00
joost
2cb000b1be * Added OnLog event to be able to log to something else then stdout
git-svn-id: trunk@44551 -
2014-03-29 19:27:11 +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
joost
3f36dd3c53 FpDbg: Implemented single-stepping on Darwin
git-svn-id: trunk@44500 -
2014-03-23 20:54:32 +00:00
martin
95834abad6 FpDebug: Spelling
git-svn-id: trunk@44496 -
2014-03-23 15:35:37 +00:00
joost
fa16dcdf52 FpDbg: Use dSYM bundle on Darwin to read Dwarf debug-info for executable
git-svn-id: trunk@44495 -
2014-03-23 15:05:31 +00:00
joost
d43aefb1a6 FpDbg: Fixed AV when the debugged application has been terminated
git-svn-id: trunk@44494 -
2014-03-23 14:07:28 +00:00
joost
203ab1fcd3 FpDbg: Show message when a breakpoint has been reached
git-svn-id: trunk@44493 -
2014-03-23 14:03:29 +00:00
joost
327140d6b8 FpDbg: Disasemble on non-Windows systems
git-svn-id: trunk@44492 -
2014-03-23 13:49:11 +00:00
joost
4613232478 FpDbg: Fixed problem with uninitialized variable
git-svn-id: trunk@44491 -
2014-03-23 13:41:15 +00:00
joost
434c770d67 FpDbg: Show correct value of eip after hitting a breakpoint
git-svn-id: trunk@44450 -
2014-03-16 22:11:19 +00:00
joost
042680da83 FpDbg: Basic breakpoint-handling on Darwin
git-svn-id: trunk@44448 -
2014-03-16 21:24:27 +00:00
martin
c1846572a1 FPDebug: mem leak
git-svn-id: trunk@44447 -
2014-03-16 18:42:28 +00:00
joost
c8e074d4ef FpDbg: Refactored handling of breakpoints, so that parts of the code could be used too on other platforms then Windows
FpDbg: Set the FMainThread variable after the main-thread is created, not before. This fixes the handling of breakpoints.

git-svn-id: trunk@44445 -
2014-03-16 12:50:45 +00:00
joost
3c32f95e8f FpDbg: Removed unused unit from uses-section.
git-svn-id: trunk@44444 -
2014-03-16 12:45:20 +00:00
joost
935b4665cc FpDbg: Use generic way to get value of instruction pointer register
git-svn-id: trunk@44443 -
2014-03-16 11:26:47 +00:00
joost
459a825fc2 FpDbg: Read register-information on Darwin
git-svn-id: trunk@44442 -
2014-03-16 11:24:51 +00:00
joost
46c815a029 FpDbg: Added basic writememory command
git-svn-id: trunk@44441 -
2014-03-16 10:52:52 +00:00
joost
3ba842927f FpDbg: Show proper process- and thread-id on application start.
git-svn-id: trunk@44440 -
2014-03-16 10:46:10 +00:00
joost
5363754ee0 FpDbg: Missing part of r44438 #618ce88805.
git-svn-id: trunk@44439 -
2014-03-16 10:43:30 +00:00
joost
618ce88805 FpDbg: Placed some Windows-specific code between ifdef's to fix compilation on non-Windows systems.
git-svn-id: trunk@44438 -
2014-03-16 10:35:38 +00:00
joost
6974915b8b FpDbg: Moved Windows-specific code to terminate the process to fpdbgwinclasses.pas
git-svn-id: trunk@44437 -
2014-03-16 10:33:04 +00:00
joost
eba8717294 * Moved Windows-specific code to read the instruction-pointer and base stack pointer register values to fpdbgwinclasses.pas
git-svn-id: trunk@44436 -
2014-03-16 10:18:06 +00:00
joost
e417930ab0 FpDbg: Removed unused windows from uses to fix compilation on non--Windows.
git-svn-id: trunk@44425 -
2014-03-13 21:42:27 +00:00
joost
ade43d3625 FpDbg: Removed unused windows from uses and added some units to fix compilation on Windows.
git-svn-id: trunk@44424 -
2014-03-13 21:34:27 +00:00
joost
c20f74439d * Implemented basic debug-support for Darwin
git-svn-id: trunk@44413 -
2014-03-12 21:35:06 +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
joost
607af213ac FpDbg: Refactored code to get module-name, to avoid double code for processes and libraries.
git-svn-id: trunk@44387 -
2014-03-09 12:00:55 +00:00
joost
2947aab047 FpDbg: Fixed compilation by adding FpdMemoryTools to uses
git-svn-id: trunk@44386 -
2014-03-09 11:07:52 +00:00
joost
4b3ae8e4bd * Moved more Windows-specific code from fpdloop to fpdbgwinclasses.
git-svn-id: trunk@44385 -
2014-03-09 10:22:34 +00:00
joost
d8b00dc8d0 * Fixed an exception on writing a message that setting a breakpoint failed.
git-svn-id: trunk@44384 -
2014-03-09 10:01:32 +00:00
martin
32f60ff178 FPDebug: refactor (use value-object for data address of members)
git-svn-id: trunk@44382 -
2014-03-08 22:07:32 +00:00
joost
d23eff7453 * Removed bogus default-values for records. Those do not compile on fpc 2.7.1
git-svn-id: trunk@44351 -
2014-03-05 11:15:52 +00:00
joost
84c8a874db * Fixed compilation on non-Windows operation systems
git-svn-id: trunk@44350 -
2014-03-05 10:53:07 +00:00
joost
1d789ef144 * Re factorization to move windows-specific code from fpdcommand.pas to fpdbgwinclasses.pas
git-svn-id: trunk@44349 -
2014-03-05 10:13:31 +00:00
martin
483139f4fb FPDebug: refactor, renamed some classes
git-svn-id: trunk@44330 -
2014-03-02 21:58:15 +00:00
zeljko
7767d83380 fpdebug: make fpdebug compileable for non mswindows targets.
git-svn-id: trunk@44314 -
2014-03-02 10:17:52 +00:00
martin
09f97f2afd FPDebug: refactor
git-svn-id: trunk@44312 -
2014-03-02 02:14:44 +00:00
martin
f2745c8af3 FPDebug: disable wrong caching / refactor
git-svn-id: trunk@44310 -
2014-03-01 19:38:20 +00:00
martin
fd8f2c1da7 FPDebug: mem leak
git-svn-id: trunk@44270 -
2014-02-26 22:40:55 +00:00
joost
f35783bdf0 * Removed now unused windows-unit from uses section
git-svn-id: trunk@44241 -
2014-02-26 07:43:02 +00:00
martin
c8c11be08b FPDebug: fix re-using array data member object
git-svn-id: trunk@44240 -
2014-02-25 23:55:26 +00:00
martin
818e37a4d3 FPDebug: cache data address
git-svn-id: trunk@44239 -
2014-02-25 21:56:02 +00:00
martin
1cedbd7c7f FPDebug: starting plus minus operator
git-svn-id: trunk@44238 -
2014-02-25 15:02:04 +00:00
martin
355e83cf62 FPDebug: add some more error checks in eval
git-svn-id: trunk@44236 -
2014-02-25 13:56:55 +00:00
martin
de5811d90d FPDebug: add some more error checks in eval
git-svn-id: trunk@44230 -
2014-02-25 04:57:38 +00:00
martin
889678aa8e FPGDBMIDebugger: fixed bin search
git-svn-id: trunk@44221 -
2014-02-24 05:32:02 +00:00
joost
1bdd42363f * Moved Windows-specific GCurrentContext to fpdbgwinextra
git-svn-id: trunk@44215 -
2014-02-23 20:44:57 +00:00
martin
799ade039d FPDebug: clean up / fix array len
git-svn-id: trunk@44209 -
2014-02-23 00:49:05 +00:00
martin
da31678f3b FPDebug: starting error msgs
git-svn-id: trunk@44196 -
2014-02-21 07:52:15 +00:00
martin
499e59ec52 FPDebug: starting arrays
git-svn-id: trunk@44187 -
2014-02-21 00:18:53 +00:00
martin
281d40f25c FPDebug: correct class for member
git-svn-id: trunk@44180 -
2014-02-20 01:31:45 +00:00
martin
0660f0e9f4 FPDebug: pchar
git-svn-id: trunk@44179 -
2014-02-20 01:12:25 +00:00
martin
0667e89729 FPDebug: read address from register / fix crash is destroyed object
git-svn-id: trunk@44176 -
2014-02-19 19:39:35 +00:00
martin
9968ee0c14 FPDebug: all class members in values / nil in class
git-svn-id: trunk@44171 -
2014-02-19 17:56:29 +00:00
martin
ff3f939321 FPDebug: handle nil in class results
git-svn-id: trunk@44163 -
2014-02-19 05:20:37 +00:00
martin
3818b4e602 FPGDBMIDebugger: more structured values
git-svn-id: trunk@44158 -
2014-02-19 01:49:06 +00:00
martin
a503dc1f3c FPGDBMIDebugger: structured values
git-svn-id: trunk@44121 -
2014-02-17 23:51:55 +00:00
martin
b699d68760 FPDebug: less debugln
git-svn-id: trunk@44117 -
2014-02-17 15:00:17 +00:00
martin
1acbe9ca6a FPGDBMIDebugger: fix queuing / eval some values direct
git-svn-id: trunk@44116 -
2014-02-17 14:41:09 +00:00
martin
3f415797e4 Debugger: put some common types into DbgIntf
git-svn-id: trunk@44079 -
2014-02-15 01:31:30 +00:00
martin
369d6dc630 FPDebug: handle float
git-svn-id: trunk@44074 -
2014-02-14 18:23:15 +00:00
martin
a328c53065 FPDebug: mem-manager
git-svn-id: trunk@44073 -
2014-02-14 17:26:44 +00:00
martin
f580daeb56 FPDebug: mem-manager
git-svn-id: trunk@44068 -
2014-02-14 01:38:45 +00:00
martin
c714225b97 FPDebug: clean up / use mem-manager
git-svn-id: trunk@44029 -
2014-02-12 15:54:16 +00:00
martin
2978fbf036 FPDebug: start using mem-manager
git-svn-id: trunk@44028 -
2014-02-12 15:21:28 +00:00
martin
1dfc8873d3 FPDebug: mem-manager
git-svn-id: trunk@44027 -
2014-02-12 11:09:06 +00:00
martin
556a243e8e FPDebug: missing file
git-svn-id: trunk@44025 -
2014-02-12 10:47:09 +00:00
martin
4af520994a FPDebug: moved TDbgPtr to new unit (avoid circle units)
git-svn-id: trunk@44024 -
2014-02-12 01:44:59 +00:00
martin
9b1e474917 FPDebug: tests
git-svn-id: trunk@44006 -
2014-02-11 19:45:58 +00:00
martin
b585ed6d46 FPDebug: Value handling / array
git-svn-id: trunk@43996 -
2014-02-11 02:56:55 +00:00
martin
1479bea78a FPDebug: tests
git-svn-id: trunk@43991 -
2014-02-10 14:10:04 +00:00