Commit Graph

105 Commits

Author SHA1 Message Date
nickysn
3b55dd919d * fixed getting the FPC_BREAK_ERROR parameters on i386
git-svn-id: trunk@29803 -
2015-02-23 00:06:09 +00:00
nickysn
ac79722eb2 * use the Backtrace method (which supports gdb/mi) instead of issuing the
command directly in TDebugController.DoSelectSourceLine

git-svn-id: trunk@29802 -
2015-02-22 23:53:54 +00:00
nickysn
4a1a443ffa * fixed getting the FPC_BREAK_ERROR parameters on x86_64
git-svn-id: trunk@29801 -
2015-02-22 23:47:42 +00:00
nickysn
5ec640006c * moved the code that obtains the parameters to HandleErrorAddrFrame (after
trapping a runtime error) to a separate method.

git-svn-id: trunk@29798 -
2015-02-22 22:30:36 +00:00
nickysn
8ed6109955 * setting breakpoint ignore count implemented via gdb/mi command in the gdb/mi
interface

git-svn-id: trunk@29790 -
2015-02-22 02:46:48 +00:00
nickysn
46695f37b4 * use the gdb/mi command for setting breakpoint conditions in the gdb/mi interface
git-svn-id: trunk@29789 -
2015-02-22 02:20:28 +00:00
nickysn
1bfcf14ef9 * use gdb/mi commands to enable/disable breakpoints in the gdb/mi interface
git-svn-id: trunk@29788 -
2015-02-22 01:51:59 +00:00
nickysn
c2d659950e * use the gdb/mi command for deleting breakpoints
git-svn-id: trunk@29787 -
2015-02-22 01:29:27 +00:00
nickysn
a1afce8a69 * fixed crash with the gdb/mi debugger, when trying to step/run a program with
the gdb window open

git-svn-id: trunk@29782 -
2015-02-21 23:37:24 +00:00
nickysn
a445b4730b + added breakpoint flags parameter to TGDBController.BreakpointInsert. The
supported flags are 'temporary' and 'hardware' breakpoint.

git-svn-id: trunk@29763 -
2015-02-19 22:04:31 +00:00
nickysn
df234bd7fe + added method WatchpointInsert to TGDBController, with a gdb/mi implementation
* all breakpoint and watchpoint adding now go through TGDBController and use
  the proper gdb/mi commands when compiled with the gdb/mi debugger

git-svn-id: trunk@29746 -
2015-02-17 22:49:31 +00:00
nickysn
4f8b8da879 + added method BreakpointInsert to gdbcon, which supports the gdb/mi command for
adding breakpoints.
* use the new method for adding the breakpoint to FPC_BREAK_ERROR

git-svn-id: trunk@29744 -
2015-02-17 21:17:02 +00:00
nickysn
a47a810475 + implemented gdb/mi backtraces
git-svn-id: trunk@29736 -
2015-02-17 00:59:39 +00:00
nickysn
dc54903e01 * use gdb/mi command for setting tty
git-svn-id: trunk@29734 -
2015-02-16 22:11:25 +00:00
nickysn
9eeef2581b * use a gdb/mi command for adding source directories
git-svn-id: trunk@29732 -
2015-02-16 21:41:06 +00:00
pierre
d0cfebc351 + Use using_cygwin_gdb boolean, to convert path
git-svn-id: trunk@29730 -
2015-02-16 20:50:47 +00:00
nickysn
3deac03582 * use a gdb/mi command when clearing the exe in TDebugController.SetExe
git-svn-id: trunk@29722 -
2015-02-16 20:16:08 +00:00
nickysn
f06731ae4f * TDebugController.SetTBreak (adds a temporary breakpoint, used for things like
'run to cursor') moved to gdbcon.pp and implemented via a GDB/MI command in
  the new GDB/MI interface.

git-svn-id: trunk@29721 -
2015-02-16 19:58:40 +00:00
nickysn
8f9c062e4d * fixed Run->"Until return" in the GDB/MI debugger
git-svn-id: trunk@29717 -
2015-02-16 02:25:53 +00:00
nickysn
a939ea06b6 + initial implementation of GDB/MI (without LibGDB!) support for the text mode
IDE. Tested under Linux (Fedora 21 - x86_64, GDB 7.8.2). It is still disabled
  by default on all platforms. To enable it, build a snapshot with:
  FPMAKEOPT="--ignoreinvalidoption --GDBMI=1"
  Known issue: the GDB window in the IDE causes crashes, so don't open it :)
  (for debugging purposes, set the environment variable FPIDE_GDBLOG=1 when
  running the IDE and it will log everything in gdblog.txt)

git-svn-id: trunk@29716 -
2015-02-16 01:07:37 +00:00
pierre
c5601c5094 Use 'set gnutarget elf32-littlearm' for arm cross
git-svn-id: trunk@28939 -
2014-10-27 22:12:13 +00:00
pierre
e73341550b SUPPORT_REMOTE improvement
git-svn-id: trunk@28920 -
2014-10-24 21:54:37 +00:00
pierre
9720bd8e82 Merge forgotten go32v2 2.6.0 branch changes back into trunk.
------------------------------------------------------------------------
r20575 | pierre | 2012-03-22 16:27:57 +0100 (Thu, 22 Mar 2012) | 1 line

 Avoid 'Discard file' question inside reset
------------------------------------------------------------------------
r20581 | pierre | 2012-03-22 18:21:34 +0100 (Thu, 22 Mar 2012) | 1 line

 * Disable iocheck when closing gdb_file
------------------------------------------------------------------------

git-svn-id: trunk@24227 -
2013-04-12 10:19:38 +00:00
pierre
1b4a27ed66 Avoid interactive query when resetting file
git-svn-id: trunk@19876 -
2011-12-19 13:03:25 +00:00
pierre
14a10ad6cb + Add $rbp FrameName for x86_64 CPU
git-svn-id: trunk@16662 -
2010-12-30 14:53:57 +00:00
marco
de5ca33983 * fix one of two issues in mantis 6326, double click on watch entry invokes edit watch
git-svn-id: trunk@16604 -
2010-12-21 08:15:31 +00:00
pierre
18bd6a344d + SetTBreak method added
git-svn-id: trunk@15890 -
2010-08-24 13:35:09 +00:00
pierre
583ce9c1b9 * more GDB 7.0 changes
git-svn-id: trunk@14047 -
2009-11-04 14:21:32 +00:00
marco
10c67a4ad5 * fields after objects methods.
git-svn-id: trunk@13340 -
2009-06-27 14:06:58 +00:00
marco
0518f65f63 * fixed typo
git-svn-id: trunk@11929 -
2008-10-18 18:29:32 +00:00
marco
87eaa3c12b * put expansion of pathname for debugging purposes under ifdef to ease mingw use.
git-svn-id: trunk@11928 -
2008-10-18 18:28:56 +00:00
giulio
157b00a44a IDE: Cleaned ifdefs related to Turbo Pascal and FPC 1.x
git-svn-id: trunk@11423 -
2008-07-20 21:37:48 +00:00
florian
63a73870cf * check if breakpoint name is assigned when displaying breakpoints in the disassembly window, resolves #9257
git-svn-id: trunk@8857 -
2007-10-19 22:34:31 +00:00
florian
cfa6d83aee + show path in IDE breakpoint list, resolves #9873
git-svn-id: trunk@8807 -
2007-10-14 19:26:34 +00:00
tom_at_work
a06081f590 * fixed compilation after TStringList->TCmdStrList change
git-svn-id: trunk@6233 -
2007-01-27 20:21:38 +00:00
daniel
50b920294b + Switch IDE to resourcestrings
git-svn-id: trunk@6107 -
2007-01-21 21:40:59 +00:00
pierre
1d564debbb * parent_ebp was renamed parentfp in compiler
but not reflected in IDE, so the higher variable
    did not display correctly anymore.

git-svn-id: trunk@5925 -
2007-01-12 17:21:37 +00:00
daniel
4e2c9ffa9c + Evaluate window
git-svn-id: trunk@5504 -
2006-11-26 23:47:23 +00:00
marco
0bb37b3e1a * small fixes due to tcentre
git-svn-id: trunk@3879 -
2006-06-16 20:04:22 +00:00
peter
9872dbaf24 * compile fixes
git-svn-id: trunk@3534 -
2006-05-14 20:27:55 +00:00
peter
d98336156f * win64 compile fixes
git-svn-id: trunk@3297 -
2006-04-20 11:27:53 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
d298c180c7 + Recent files write full name now as hint in the status line
* Rundir hint in status line fixed
2005-03-13 12:25:02 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
6c2ea3f2b4 + vector unit window 2005-01-08 11:43:18 +00:00
peter
25eb483cfe * fixed NODEBUG
* set default target to the default target of the compiler
2004-12-22 15:24:06 +00:00
florian
946f73ee85 * made 64 bit safe 2004-12-19 18:39:50 +00:00
peter
569e86ad64 change a[1,2] to a[1][2] 2004-12-06 20:39:25 +00:00
peter
fb71fcc7f9 * fixed breakpoint dialog 2004-11-21 20:53:26 +00:00