Commit Graph

409 Commits

Author SHA1 Message Date
joost
9616a4ffe4 FpDebugger (pure): TFpSymbolContext.GetSizeOfAddress now returns 8 for 64-bit debuggees
git-svn-id: trunk@46163 -
2014-09-08 19:53:40 +00:00
joost
bee90dd030 FpDebugger (pure): Same change as in r46136 #4b8e6daa2f, but for step into, to avoid problems in fpc-generated debuginfo
git-svn-id: trunk@46162 -
2014-09-08 19:44:13 +00:00
joost
2725568fae FpDebug: Give a warning when the UUID of the dSym-bundle and the debuggee do not match
git-svn-id: trunk@46149 -
2014-09-07 11:25:34 +00:00
joost
2d61f083f6 FpDebugger (pure): When stepping out of a function on a next, only stop at the first instruction of a line. Just like it is done on step into.
git-svn-id: trunk@46147 -
2014-09-06 20:50:12 +00:00
joost
9070ac0b2c FpDebugger (pure): Added logging, enable with define DBG_FPDEBUG_VERBOSE
git-svn-id: trunk@46143 -
2014-09-06 18:40:30 +00:00
joost
4b8e6daa2f FpDebugger (pure): On a next, only stop if the current instruction is the first instruction of a line. This is to solve a problem in fpcs debuginfo.
git-svn-id: trunk@46136 -
2014-09-05 20:37:43 +00:00
joost
25ff00e44c FpDebugger (pure): Solved mem-leaks by releasing references to symbols found by FindSymbol
git-svn-id: trunk@46132 -
2014-09-05 16:49:36 +00:00
joost
851695cec4 FpDebugger (native): Fix for setting a breakpoint on the current execution-point
git-svn-id: trunk@46122 -
2014-09-03 20:16:53 +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
bbf07c5bd6 FpDebug: Fixed range-check error on reading debug-info with more then maxSmallint symbols
git-svn-id: trunk@46105 -
2014-09-02 19:34:58 +00:00
joost
f1bdd969f5 FpDebugger (pure, console): Fixed mem-leak on showing line-info
git-svn-id: trunk@46103 -
2014-09-01 16:38:41 +00:00
joost
ddfbd6ade9 FpDebugger (pure): Fixed mem-leak bij freeing debug-threads
git-svn-id: trunk@46102 -
2014-09-01 16:26:08 +00:00
joost
9c5f82c924 FpDebugger (pure): Fixed mem-leak by freeing FProcessMap
git-svn-id: trunk@46101 -
2014-09-01 15:45:36 +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
27c60931ec FpDebugger (native): Use a pseudo-terminal to capture console output on OS/X
git-svn-id: trunk@46095 -
2014-08-31 12:45:43 +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
joost
d062000bf3 FpDebug: Another fix for the length of DW_FORM_ref_addr in Dwarf v3
git-svn-id: trunk@46075 -
2014-08-25 20:50:08 +00:00
joost
289f8e8657 FpDebug: Set function result in TFpDwarfInfo.FindContext
git-svn-id: trunk@46074 -
2014-08-25 18:53:29 +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
93aea56c3b FpDebugger (pure): New heuristics for step-into
git-svn-id: trunk@46008 -
2014-08-04 08:14:13 +00:00
joost
c43ebefc0f FpDebugger (pure): - Fixed problem with the recognition of a software breakpoint when a hardware breakpoint has been triggered on the same location
- Ability to check if and which hardware brakpoint has been triggered

git-svn-id: trunk@46006 -
2014-08-03 20:09:46 +00:00
joost
ac95b9c55d FpDebugger (pure): Patch from Colin Western to resolve relative filenames in Dwarf-debug info.
git-svn-id: trunk@45933 -
2014-07-20 13:27:52 +00:00
joost
be7b70f172 FpDebugger (pure): Re-wrote RunTo using a TDbgControllerCmd
git-svn-id: trunk@45900 -
2014-07-17 18:53:58 +00:00
joost
b1d95c58dc FpDebugger (pure): Ignore SIGCHLD signal and let the debuggee handle it (Darwin)
git-svn-id: trunk@45885 -
2014-07-15 20:37:36 +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
e5f73f7d0f FpDebuger (pure): Fix for pausing the debuggee
git-svn-id: trunk@45866 -
2014-07-14 20:28:34 +00:00
joost
02c66deadd FpDebugger (pure): Implemented pause (Darwin)
git-svn-id: trunk@45865 -
2014-07-14 20:11:02 +00:00
joost
113cc3749d FpDebug: Parse the symbol-table from elf-executables
git-svn-id: trunk@45858 -
2014-07-13 20:59:00 +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
eaf0dffc07 FpDebugger (pure): Make step-into work even without having watchpoints available. (Even though it will be slow)
git-svn-id: trunk@45851 -
2014-07-13 10:24:03 +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
769fbc3cde FpDebug: Removed invalid code that does not compile with fpc 2.7.1 (see fpc-bug 25769)
git-svn-id: trunk@45847 -
2014-07-12 19:51:06 +00:00
joost
e76f27604f FpDebug: Synchronized changes in fpdebug.lpk (r45780) with fpdebug.pas
git-svn-id: trunk@45846 -
2014-07-12 18:56:17 +00:00
joost
113cc6e509 FpDebugger (pure): Show warning when there is no Dwarf-debug information available
git-svn-id: trunk@45843 -
2014-07-12 15:40:00 +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
3dd28b3d12 FpDebugger (pure): Select the right 32/64-bit assembler when cross-debugging
git-svn-id: trunk@45833 -
2014-07-11 19:58:35 +00:00
joost
ad1e0f1a6e FpDebugger (pure): Re-added some Darwin-specific stuff that got lost somehow (probably never comitted)
git-svn-id: trunk@45821 -
2014-07-10 21:07:35 +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
a0fe6adf48 FpDebugger (pure): Do not try to compile the linux-units on non-linux systems
git-svn-id: trunk@45780 -
2014-07-04 21:44:37 +00:00
joost
8f433367c7 FpDebugger (pure): Use a TFPGObjectList to free the items. Fixes several mem-leaks
git-svn-id: trunk@45779 -
2014-07-04 20:11:51 +00:00
joost
982f401425 FpDebugger (pure): Cleanup unused variables
git-svn-id: trunk@45778 -
2014-07-04 20:00:08 +00:00
joost
64a67e7166 FpDebugger (pure): Fix for getting the frame- and instruction-pointer from the callstack on architectures other then i386
git-svn-id: trunk@45777 -
2014-07-04 19:26:26 +00:00