Commit Graph

35 Commits

Author SHA1 Message Date
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
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
joost
3f36dd3c53 FpDbg: Implemented single-stepping on Darwin
git-svn-id: trunk@44500 -
2014-03-23 20:54:32 +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
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
c20f74439d * Implemented basic debug-support for Darwin
git-svn-id: trunk@44413 -
2014-03-12 21:35:06 +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
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
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
martin
3f415797e4 Debugger: put some common types into DbgIntf
git-svn-id: trunk@44079 -
2014-02-15 01:31:30 +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
joost
8f320ced38 * Resolved recursion problem introduced by a typo in r43987 #fac7e13063
git-svn-id: trunk@43988 -
2014-02-09 21:47:18 +00:00
joost
fac7e13063 * Refactored FpDbgClasses unit. Moved all Windows-specific code into the new FpDbgWinClasses unit.
git-svn-id: trunk@43987 -
2014-02-09 21:02:38 +00:00
martin
83d2aeba85 fpdebug: fix compile on linux
git-svn-id: trunk@43410 -
2013-11-09 20:34:31 +00:00
martin
adf1d0e502 FPDebug: refactor, break circle unit ref
git-svn-id: trunk@43374 -
2013-11-04 23:42:06 +00:00
martin
3a334890d5 FPDebug: refactor
git-svn-id: trunk@43372 -
2013-11-04 15:27:06 +00:00
martin
66f965d74c FPDebug: more tags
git-svn-id: trunk@43347 -
2013-11-01 00:40:27 +00:00
martin
75b3da80b2 FPDebug: more tags
git-svn-id: trunk@43343 -
2013-10-30 17:02:59 +00:00
martin
6130157a41 FPDebug: more tags
git-svn-id: trunk@43338 -
2013-10-28 23:43:31 +00:00
martin
0f1ab1f8fe FPDebug: scan in enum / helper to build pascal representation of types
git-svn-id: trunk@43330 -
2013-10-27 14:03:01 +00:00
martin
43df650e1e FPDebug: more dwarf types (enum)
git-svn-id: trunk@43323 -
2013-10-26 18:57:36 +00:00
martin
649eb4e059 FPDebug: refactor / more ptype for gdb
git-svn-id: trunk@43305 -
2013-10-23 13:26:43 +00:00
martin
4e2db184a7 FPDebug: refactor
git-svn-id: trunk@43301 -
2013-10-22 13:29:09 +00:00
martin
d3bb162b11 FPDebug: refactor
git-svn-id: trunk@43299 -
2013-10-21 13:53:42 +00:00
martin
4a14f0fd45 FPDebug: resolve compile issue with circular unit
git-svn-id: trunk@43293 -
2013-10-20 16:42:33 +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
045f8f0d07 FPDebug: Start reading type info
git-svn-id: trunk@43123 -
2013-10-06 13:20:21 +00:00
martin
b37ec153f8 FPDebug: refactored reading image-file, ported elf reader from duby
git-svn-id: trunk@42925 -
2013-09-24 23:56:45 +00:00
martin
940b1f607a FpDbg: ifdef windows specific code
git-svn-id: trunk@42899 -
2013-09-20 11:15:18 +00:00
martin
20a6b30256 FpDbg: Replace writeln with debugln
git-svn-id: trunk@42847 -
2013-09-17 17:17:46 +00:00
martin
5f80553ea9 Moved fpdebug
git-svn-id: trunk@42802 -
2013-09-15 10:59:04 +00:00