Commit Graph

93 Commits

Author SHA1 Message Date
martin
63087a3084 FpDebug: Linux, ensure a breakpoint is reported once for each thread, if hit at the same time
git-svn-id: trunk@61853 -
2019-09-10 18:52:46 +00:00
martin
304f6e7be9 FpDebug: Fix requesting process to pause, broken in r61840 #ece9967721
git-svn-id: trunk@61845 -
2019-09-08 23:33:01 +00:00
martin
876682fc9d FpDebug: Handle hitting breakpoints, that have been removed while the event was waiting. Still need to re-execute the asm instruction that was hidden by int3
git-svn-id: trunk@61839 -
2019-09-08 19:03:09 +00:00
martin
e6e7bf4355 FpDebug: Linux, improve "Stop all" loop
git-svn-id: trunk@61833 -
2019-09-08 18:52:41 +00:00
martin
595f8b9f3e FpDebug: Linux, refactor signal handling for signals that need to be postponed. Need to collect signals with no existing thread yet, as they will create that thread.
git-svn-id: trunk@61832 -
2019-09-08 18:52:39 +00:00
martin
aa85ec85ed FpDebug: Linux, removed unused code
git-svn-id: trunk@61831 -
2019-09-08 18:52:38 +00:00
martin
1ab353e555 FpDebug: Linux, reduce the amount of calls to temp-remove/restore breakpoints
git-svn-id: trunk@61830 -
2019-09-08 18:52:36 +00:00
martin
85a8100c39 FpDebug: Linux, fix for temp-removed breakpoints were not always restored (if another thread had pending events, writing the breakpoint in WaitForEvent would fail, due to thread running / signal not yet collected)
git-svn-id: trunk@61829 -
2019-09-08 18:52:35 +00:00
martin
999d567e45 FpDebug: debugln for Linux
git-svn-id: trunk@61828 -
2019-09-08 18:52:33 +00:00
martin
9defda8b5c FpDebug: Linux, prevent crash on nil deref
git-svn-id: trunk@61819 -
2019-09-05 20:05:58 +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
cfed0db10f FpDebug: More refactor internal breakpoints. Improve stopping other threads on Linux
git-svn-id: trunk@60214 -
2019-01-25 00:44:38 +00:00
martin
88aca89865 FpDebug: More refactor internal breakpoints. More control to OS classes. Improve stopping other threads on Linux
git-svn-id: trunk@60160 -
2019-01-23 21:28:44 +00:00
martin
861615d32d FpDebug: Linux, remove threads when they exit
git-svn-id: trunk@60153 -
2019-01-23 01:17:38 +00:00
martin
a48c9c1b69 FpDebug: More refactor internal breakpoints. Move detection for ResetInstructionPointerAfterBreakpoint into OS classes.
git-svn-id: trunk@60142 -
2019-01-22 02:11:44 +00:00
mattias
ace1df908b fpdebug: clean up
git-svn-id: trunk@60111 -
2019-01-19 17:37:30 +00:00
martin
d00b7d06af FpDebug: fix compile on linux. Issue #0034894
git-svn-id: trunk@60103 -
2019-01-18 11:26:00 +00:00
martin
cd32b50fa8 FpDebug: Linux, pause all threads if any is paused
git-svn-id: trunk@60096 -
2019-01-16 22:34:33 +00:00
martin
c54639d227 FpDebug: Allow to specify poNewConsole on windows
git-svn-id: trunk@59488 -
2018-11-07 23:13:11 +00:00
martin
a80f8c659c FpDebug: refactor for loading MacOs sym in mixed lldb/gdb debug
git-svn-id: trunk@58395 -
2018-06-24 19:31:39 +00:00
joost
cf440de910 fpdebug: Do not suspend on the start of a child-process
git-svn-id: trunk@58160 -
2018-06-06 20:51:41 +00:00
joost
1f5eb8d171 fpdebug: Improved handling of threads, removed several assumptions that the main-thread was being debugged
git-svn-id: trunk@58128 -
2018-06-04 21:52:32 +00:00
joost
50cce1a623 fpdebug: Handling of multiple threads (Linux)
git-svn-id: trunk@58095 -
2018-06-03 13:00:00 +00:00
mattias
0924792e5f fpdebug: using TProcessUTF8
git-svn-id: trunk@50596 -
2015-12-04 16:03:20 +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
joost
0923ac9836 FpDebug: - Ability to disable usage of a pseudo-tty
- Ability to supply tty to bind standard input/output to

git-svn-id: trunk@48450 -
2015-03-22 01:08:00 +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
bdbccce289 FpDebugger (pure): Use a pseudo-terminal instead of pipes to read the debuggees out- and in-put
git-svn-id: trunk@46070 -
2014-08-24 12:22:23 +00:00
joost
daaa427f54 FpDebugger (pure): Re-direct console output to the terminal-output debug window on Linux
git-svn-id: trunk@46058 -
2014-08-22 15:47:46 +00:00
joost
8fd0269bae FpDebug (pure): Detect if a HW breakpoint has been triggered on Linux
git-svn-id: trunk@46045 -
2014-08-16 21:40:08 +00:00
joost
22ff8ae3ff FpDebugger (pure): Ignore SIGCHLD signal and let the debuggee handle it (Linux)
git-svn-id: trunk@45884 -
2014-07-15 20:35:21 +00:00
joost
636ffbe4da FpDebugger (pure): Fixed compilation with fpc 2.6.4 on OS/X and Linux
git-svn-id: trunk@45874 -
2014-07-15 06:35:46 +00:00
joost
93618ffad0 FpDebugger (pure): Implemented pause (Linux)
git-svn-id: trunk@45867 -
2014-07-14 20:32:01 +00:00
joost
89f94d01be FpDebugger (pure): Watchpoints on 32-bit linux
Removed some old debug-code

git-svn-id: trunk@45854 -
2014-07-13 11:23:07 +00:00
joost
eb735a3db1 FpDebugger (pure): Fix for getting the frame-pointer
git-svn-id: trunk@45850 -
2014-07-13 10:05:14 +00:00
joost
8397b21039 FpDebugger (pure): Show error-message on failure to start debuggee
git-svn-id: trunk@45848 -
2014-07-12 21:05:22 +00:00
joost
c670807110 FpDebugger (pure): Use GETREGSET instead of GETREGS, cross-arch-debugging on Linux
git-svn-id: trunk@45842 -
2014-07-12 15:30:46 +00:00
joost
42ba440a7d FpDebugger (pure): i386-linux support
git-svn-id: trunk@45834 -
2014-07-11 21:29:07 +00:00
joost
600fc1036c FpDebugger (pure): Let the memory-manager read memory from within the debugging-thread on Linux.
More fixes for getting the instruction-register on x86_64
Fixxed setting the line-info on Darwin and Linux

git-svn-id: trunk@45817 -
2014-07-08 21:15:04 +00:00
joost
bcb2f4643e FpDebugger (pure): Hardware-breakpoints on Linux/x86_64
git-svn-id: trunk@45794 -
2014-07-06 16:26:16 +00:00
joost
e48fb34a9a FpDebug (pure): Do not try to set register-values twice
git-svn-id: trunk@45765 -
2014-07-03 19:37:41 +00:00
joost
5f0402b4c2 FpDebug (pure): Added Linux-support
git-svn-id: trunk@45732 -
2014-06-29 20:55:54 +00:00