Commit Graph

44724 Commits

Author SHA1 Message Date
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
Tomas Hajny
7049e40668 * character ASCII 127 should not be treated as invalid result of Unicode to ansistring conversion because it is used as replacement character for characters missing in the target codepage by the native OS/2 Unicode support routines
git-svn-id: trunk@29706 -
2015-02-15 14:31:36 +00:00
Károly Balogh
9693b37c1a m68k: actually,overwrite the resflags with F_E, because only that would be valid after the FSxx/TST combination
git-svn-id: trunk@29705 -
2015-02-15 14:04:11 +00:00
Károly Balogh
c062e55aa2 m68k: after a compare on the FPU, move the condition flags back to the CPU. this should make floating point compare actually working
git-svn-id: trunk@29704 -
2015-02-15 13:41:40 +00:00
Tomas Hajny
46bfe5c1dd * set ShortDateFormat explicitly so that StrToDate behaviour can be tested easily regardless of current locale
git-svn-id: trunk@29703 -
2015-02-15 11:28:17 +00:00
Tomas Hajny
c5c2ac13e2 * TODO updated according to the current status of OS/2 RTL
git-svn-id: trunk@29702 -
2015-02-15 11:21:34 +00:00
Tomas Hajny
41312d44b4 * set DecimalSeparator explicitly so that Format output can be tested easily regardless of current locale
git-svn-id: trunk@29701 -
2015-02-15 11:14:55 +00:00
Tomas Hajny
7e15bf6c2d * ensure passing valid stacksize to emxbind
git-svn-id: trunk@29700 -
2015-02-15 01:56:08 +00:00
Tomas Hajny
e1b37dcc46 * the test made compilable also on other platforms than only Unix and Windows
git-svn-id: trunk@29699 -
2015-02-15 01:34:47 +00:00
Tomas Hajny
90aeabb439 * skip this test under OS/2, because it expects that replacement used for characters not supported in the current codepage must match between compile time ('?' used by FPC) and run-time (ASCII 127 used by OS/2 native Unicode routines)
git-svn-id: trunk@29698 -
2015-02-15 01:31:27 +00:00
Tomas Hajny
fbb6776085 * this test results in a SIGSEGV under OS/2, but I consider it a correct behaviour if a nil pointer for passing a nil as a buffer to BlockWrite
git-svn-id: trunk@29697 -
2015-02-15 01:04:32 +00:00
Tomas Hajny
d2ae1f0ab2 * skip emx too
git-svn-id: trunk@29696 -
2015-02-15 01:01:56 +00:00
Tomas Hajny
60c5f29b5b * add path setting for some previously missing platforms (OS/2, MSDOS)
git-svn-id: trunk@29695 -
2015-02-14 20:46:58 +00:00
marcus
141878978e AmiCommon: Missing UnLockDosList, DiskFree Bugfix
git-svn-id: trunk@29694 -
2015-02-14 20:06:47 +00:00
florian
3ed1a75fcd * write ok on exit for easier testing
git-svn-id: trunk@29693 -
2015-02-14 17:39:32 +00:00
sergei
d93d36e6d3 * Win64: Use separate implementation of CaptureBacktrace that calls RtlCaptureStackBackTrace. This way it does not require non-optimized code to work correctly.
git-svn-id: trunk@29692 -
2015-02-14 11:41:33 +00:00
sergei
438c433c50 * CaptureBacktrace: fixed off-by-one error. Caller's context must be captured if skipframes=0.
git-svn-id: trunk@29691 -
2015-02-14 02:50:03 +00:00
Tomas Hajny
2e2ca8684d * add resolution of DLL name under OS/2
git-svn-id: trunk@29689 -
2015-02-13 22:36:49 +00:00
Tomas Hajny
95c0092a54 * skip test if CPU does not support SSE2 (similarly to test/tshuffle1.pp)
git-svn-id: trunk@29688 -
2015-02-13 22:24:17 +00:00
svenbarth
a7085ea34e Added test for Mantis #25044 which has been fixed in revision 29537.
git-svn-id: trunk@29687 -
2015-02-13 17:02:07 +00:00
Jonas Maebe
071282b286 * add methods of objcprotocols to the list of visible "helper" methods when
loading them from ppu (like was already done when they were initially
    compiler), so they can be called via the "id" type even if no classes are
    in scope that implement them

git-svn-id: trunk@29686 -
2015-02-13 15:43:34 +00:00
svenbarth
04534d5dcf Fix for Mantis #27424.
pgenutil.pas:
  * parse_generic_parameters: a ';' terminates a parameter group, so correctly adjust firstidx in that case

+ added test

git-svn-id: trunk@29685 -
2015-02-13 13:50:47 +00:00
marco
8e2f8d7f3c * for wince use getprocessaddresa, mantis #27450
git-svn-id: trunk@29684 -
2015-02-13 10:23:05 +00:00
marco
6e23f3fc97 * patch from mantis #27453 by Dirk Fellenberg, update fontsize to freetype
lib.

git-svn-id: trunk@29683 -
2015-02-13 10:19:13 +00:00
michael
890b9d37e4 * Patch from Laco: change PChar -> PAnsiChar where appropriate
git-svn-id: trunk@29681 -
2015-02-13 09:23:56 +00:00
michael
c3d427210d * Patch from Laco to fix bug ID #27425
git-svn-id: trunk@29680 -
2015-02-13 08:59:24 +00:00
lacak
0b545308d7 fcl-db: base: when master dataset is closed leave detail dataset intact. Later if master is reopened relationship will work again. Delphi compatible behavior. Bug #26424 (Grandfather-Father-Son relationship)
git-svn-id: trunk@29679 -
2015-02-13 06:42:55 +00:00
sergei
896c1ff6d6 * Win64 SEH: don't call RunError in exception handler, because it always prints backtrace from caller's context. Instead, print the correct backtrace explicitly.
git-svn-id: trunk@29678 -
2015-02-13 05:02:20 +00:00
Tomas Hajny
cd166e6ff6 * modified according to outcomes of discussion with Jonas
git-svn-id: trunk@29677 -
2015-02-12 23:16:13 +00:00
Tomas Hajny
bd719052fa * test updated according to results of discussion with Jonas to work properly also on platforms not using UTF-8 as their default system codepage (and be safe to ignore characters possibly unsupported with current system codepage)
git-svn-id: trunk@29676 -
2015-02-12 23:02:20 +00:00
Tomas Hajny
08a3c45aa3 * test fixed because the original version was wrong (as confirmed by Jonas)
git-svn-id: trunk@29675 -
2015-02-12 17:48:00 +00:00
Tomas Hajny
da21fe94fa * this test can never work correctly on operating systems not providing Unicode support at filesystem API level unless the current codepage happens to support all the characters used within the test (which is unlikely at least)
git-svn-id: trunk@29674 -
2015-02-12 00:55:18 +00:00
Tomas Hajny
01441be35c * avoid mixed revision information 1:realrevision in revision.inc for fpcbuild checkout
git-svn-id: trunk@29673 -
2015-02-12 00:05:45 +00:00
pierre
a02344e978 Restore default for OS and CPU to All ID and increase max size of comboBox to 100
git-svn-id: trunk@29672 -
2015-02-11 21:51:53 +00:00
Tomas Hajny
8c20ff7f91 * fix for AllowOneTrailingSeparator and AllowMultipleTrailingSeparators checks and tests using these variables according to the passed parameters
git-svn-id: trunk@29671 -
2015-02-11 21:22:01 +00:00
pierre
82f751d51a Handle one trailing separator separately from multiple
git-svn-id: trunk@29670 -
2015-02-11 10:58:04 +00:00
Tomas Hajny
a4df1b644c * allow Append to work on character devices
git-svn-id: trunk@29669 -
2015-02-11 00:08:53 +00:00