pierre
2095698a17
Use FPC_LOCALS_ARE_STACK_REG_RELATIVE macro to fix test for mips/mipsel
...
git-svn-id: trunk@29762 -
2015-02-19 16:56:02 +00:00
sergei
124592899f
* fcl-xml: dropped using 'hack classes', which cause runtime errors if compiled with -CR. Resolves #27447 .
...
git-svn-id: trunk@29761 -
2015-02-19 15:25:26 +00:00
marco
7350dae037
* bug #24317 wrapper function for eventsink.disconnect
...
git-svn-id: trunk@29760 -
2015-02-19 10:43:16 +00:00
lacak
17832b250b
fcl-db: oracle: correct typo?
...
git-svn-id: trunk@29759 -
2015-02-19 09:45:38 +00:00
lacak
9fbf3494b4
fcl-db: implement setter and getter for TFloatField.AsBCD
...
git-svn-id: trunk@29758 -
2015-02-19 09:33:54 +00:00
pierre
97fccfd3bf
Also display raw response inside GDB window if DEBUG conditional is set
...
git-svn-id: trunk@29756 -
2015-02-18 23:43:06 +00:00
pierre
6887eb739a
Correctly display pchar longer than high(string) nito several lines in TGDBWindow.WriteText method
...
git-svn-id: trunk@29755 -
2015-02-18 23:42:31 +00:00
marcus
da3ce1a6d5
AROS: Added ELF structures to AmigaDOS
...
git-svn-id: trunk@29754 -
2015-02-18 19:46:46 +00:00
Károly Balogh
c421f4d91e
do not include outputexedir in linker resname. it causes the path to be double-included when cross-compiling with -st and -FE on Liunuxes. also, be consistent between linking on host and target.
...
git-svn-id: trunk@29753 -
2015-02-18 14:09:15 +00:00
pierre
6ce8aeed27
+ mips/mipsel libraries need PIC
...
git-svn-id: trunk@29752 -
2015-02-18 13:53:20 +00:00
lacak
2a2078e7f7
fcl-db: odbc: implements RefreshLastInsertID for autoincrementing columns.
...
Bug #16076
git-svn-id: trunk@29751 -
2015-02-18 11:02:07 +00:00
nickysn
a861bbc5ae
- removed last_breakpoint_number from the gdb/mi interface. It didn't work in
...
older GDB versions and code in fpdebug.pas should no longer use it. Instead,
it should use BreakpointInsert or WatchpointInsert for adding a breakpoint or
watchpoint and getting its ID.
git-svn-id: trunk@29750 -
2015-02-18 05:47:49 +00:00
nickysn
c754fa35d2
* fixed the passing of the breakpoint number to the DoSelectSourceLine method,
...
in the gdb/mi interface, which fixes various features, such as showing a
popup window with the old and new value of the variable, when stopping on a
watch, etc.
git-svn-id: trunk@29749 -
2015-02-18 01:02:53 +00:00
nickysn
9f31c26996
* handle properly stopping on a watchpoint in the gdb/mi debugger
...
git-svn-id: trunk@29748 -
2015-02-17 23:07:23 +00:00
nickysn
186e86b353
* compilation of gdbcon.pp fixed after r29746
...
git-svn-id: trunk@29747 -
2015-02-17 23:02:02 +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
florian
d6e4af8279
+ applied remaining patches of Torsten Grundke: adds gather instructions of avx2
...
git-svn-id: trunk@29745 -
2015-02-17 21:43:46 +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
florian
726a78be08
* fix possible range check errors, resolves #27461
...
git-svn-id: trunk@29743 -
2015-02-17 21:14:47 +00:00
florian
0dfbba86f3
* properly firstpass nodes when inc(...) is converted into ...:=...+x, resolves #27471
...
git-svn-id: trunk@29742 -
2015-02-17 21:14:45 +00:00
florian
aafec52a52
* allow multiple passes on as nodes
...
git-svn-id: trunk@29741 -
2015-02-17 21:14:43 +00:00
nickysn
eb6c73c3df
* the common code to all "-exec" gdb/mi commands moved to a single method
...
git-svn-id: trunk@29740 -
2015-02-17 20:12:32 +00:00
pierre
f56990ee29
Revert aligntoptr to RTTIAlign rename
...
git-svn-id: trunk@29739 -
2015-02-17 07:35:31 +00:00
nickysn
44fb01eae6
+ implemented get_current_frame and set_current_frame for gdb/mi
...
git-svn-id: trunk@29738 -
2015-02-17 02:03:18 +00:00
nickysn
f4e8c9da33
+ added the gdb set commands from gdbint.pp to the gdb/mi interface
...
git-svn-id: trunk@29737 -
2015-02-17 01:43:39 +00:00
nickysn
a47a810475
+ implemented gdb/mi backtraces
...
git-svn-id: trunk@29736 -
2015-02-17 00:59:39 +00:00
nickysn
88fc22a8a3
* fixed crash when stepping into code where no debug information is available
...
(can happen when using 'step into instruction' inside the assembly window)
* obtain the PC counter after a breakpoint has been hit (so that the assembly
window shows the current instruction immediately after hitting a breakpoint)
git-svn-id: trunk@29735 -
2015-02-16 23:20:48 +00:00
nickysn
dc54903e01
* use gdb/mi command for setting tty
...
git-svn-id: trunk@29734 -
2015-02-16 22:11:25 +00:00
sergei
72315c9bee
* Finalize units after printing the runtime error message. Rationale:
...
* Unit finalization executes arbitrarily large amount of code. Doing it when error occurred can cause
other errors, overwriting the original error information.
* Code that prints error message depends on everything and a kitchen sink (most notably, Unicode manager
and lineinfo unit). Running it after finalizing units can be successful only by coincidence.
* Last but not least, this sequence (ExitProc -> print RTE -> finalize units) is same as one used in Delphi.
git-svn-id: trunk@29733 -
2015-02-16 22:05:54 +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
68c06ff84d
Only print out cygwin DLL too old warning if using a cygwin GDB
...
git-svn-id: trunk@29731 -
2015-02-16 21:15:37 +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
pierre
6b1c38537b
+ Add missing windebug unit dependency for windows
...
+ Use using_cygwin_gdb boolean, to convert path
git-svn-id: trunk@29729 -
2015-02-16 20:50:15 +00:00
pierre
95f0791b97
+ Add (not yet implemented) inferior_pid function to allow compilation of windebug unit
...
+ Add using_cygwin_gdb boolean, set by parsing version output
git-svn-id: trunk@29728 -
2015-02-16 20:48:38 +00:00
pierre
6e2b97a15c
Handle #13#10 line ending for Windows
...
git-svn-id: trunk@29727 -
2015-02-16 20:45:18 +00:00
pierre
b823ac6755
Regenerate after: also allow GDBMI=1 as make parameter to use gdbmi
...
git-svn-id: trunk@29726 -
2015-02-16 20:44:28 +00:00
pierre
6c605ca6db
Also allow GDBMI=1 as make parameter to use gdbmi
...
git-svn-id: trunk@29725 -
2015-02-16 20:44:09 +00:00
pierre
c912196ca6
Handle GDBMI conditional in windebug unit
...
git-svn-id: trunk@29724 -
2015-02-16 20:42:31 +00:00
marco
b42f7bea7a
* fix for #27479 , caddr_t is a pointer type.
...
Quoted the P*caddr_t types for now, since they seem redundant.
git-svn-id: trunk@29723 -
2015-02-16 20:32:09 +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
lacak
1e778468cc
fcl-db: odbc: when binding TIMESTAMP parameter set explicitly precision.
...
It is required by SQL Server Native Client 2008 and later (when not set it raises: Datetime field overflow. Fractional second precision exceeds the scale specified in the parameter binding.)
I have used precision 3 (milliseconds), which is maximum precision returned by DecodeTime used in handling of TDataTime values.
git-svn-id: trunk@29719 -
2015-02-16 08:57:18 +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
Károly Balogh
3650991d90
m68k: support LOC_REFERENCE/LOC_CREFERENCE for floating point instructions where possible
...
git-svn-id: trunk@29714 -
2015-02-15 20:15:21 +00:00
sergei
7666cd5c0e
+ Overloaded procedure dump_stack that calls CaptureBacktrace, thus encapsulating internals of stack traversing.
...
* Use this new procedure in heaptrc unit.
git-svn-id: trunk@29713 -
2015-02-15 20:00:24 +00:00
Tomas Hajny
590e2f7977
* fix for bug #16884 for OS/2
...
git-svn-id: trunk@29712 -
2015-02-15 19:39:53 +00:00
pierre
42cc1d504f
Avoid warnings by adding noreturn modifiers to dummy dynamic library manager
...
git-svn-id: trunk@29711 -
2015-02-15 18:03:11 +00:00
pierre
af883cdcb7
Avoid warning for function not set if noreturn modifier is used
...
git-svn-id: trunk@29710 -
2015-02-15 18:01:22 +00:00
Károly Balogh
fdb09365ba
m68k: instead of trying to mess with LOC_FLAGS, use LOC_REGISTER to return a boolean result of the compare. idea by Florian. fixes several issues with optimizer enabled and also results in better code in some cases.
...
git-svn-id: trunk@29709 -
2015-02-15 17:15:15 +00:00