Commit Graph

7083 Commits

Author SHA1 Message Date
marco
f6d72af6a3 * fix 64-bit issue in jwawinnt
git-svn-id: trunk@30184 -
2015-03-14 11:14:29 +00:00
Jonas Maebe
b97e7da6b4 * fixed memory leak
git-svn-id: trunk@30165 -
2015-03-11 17:49:51 +00:00
lacak
1e536926e1 fcl-db: mysql: fix return type of function InternalStrToCurrency. Revealed by test: TestSupportBCDFields
git-svn-id: trunk@30155 -
2015-03-10 06:42:18 +00:00
lacak
94a2fbb20d fcl-db: mysql: fix handling milliseconds in date time values with precision < 3. f.e. datetime(1) value '07:13:45.1' has 100 msec not 1 msec (value after decimal point does not always means milliseconds)
git-svn-id: trunk@30154 -
2015-03-10 06:19:28 +00:00
michael
932f472384 * Second patch for big ID 27246
git-svn-id: trunk@30149 -
2015-03-08 16:32:43 +00:00
michael
626a58cdc8 * Removed debug statement
git-svn-id: trunk@30143 -
2015-03-08 10:07:43 +00:00
michael
37d93956ad * Some cosmetic patches from Silvio Clecio (Bug ID 27463)
git-svn-id: trunk@30142 -
2015-03-08 10:00:10 +00:00
michael
11e7436df0 * Fixed sqlite_vfs (again) based on bug ID #27246
git-svn-id: trunk@30139 -
2015-03-08 09:18:16 +00:00
michael
2c878e7684 * Patch from Laco to fix Bug ID #27260 (mem leak)
git-svn-id: trunk@30138 -
2015-03-08 09:03:05 +00:00
michael
321deae34c * Patch to remove version constants from unit (Patch from Luiz Americo, bug ID #27238)
git-svn-id: trunk@30137 -
2015-03-08 08:58:57 +00:00
Legolas
ffd03563d0 * Updated Wii rtl (unicode support broken .dol executables) and libogcfpc to ver.1.8.12. Fixed a dependency to Mad library too
git-svn-id: trunk@30125 -
2015-03-07 21:34:51 +00:00
michael
67f3e361ed * Adapted patch from Andrew Haynes implementing form+file data post
git-svn-id: trunk@30123 -
2015-03-07 16:11:39 +00:00
michael
f2b2310856 * Added support for JSON fields, patch from Silvio Clecio (Bug ID 27606)
git-svn-id: trunk@30121 -
2015-03-07 15:42:13 +00:00
michael
68a2e3cd74 * Added support for millisecond precision
git-svn-id: trunk@30120 -
2015-03-07 15:14:06 +00:00
nickysn
52d13e6ddb + added 16-bit int overloads for TGDBController.GetIntRegister. Useful for
e.g. getting the segment registers on x86.

git-svn-id: trunk@30113 -
2015-03-06 21:10:57 +00:00
pierre
94c4308086 annotate_source also has gdbarch parameter since 7.0
git-svn-id: trunk@30097 -
2015-03-04 23:11:04 +00:00
pierre
5bb65ded3d Add missing gdbarch field for annotate_frame_begin for version 7.0 or above
Try to cope with buffering problems to catch complete argument list

git-svn-id: trunk@30095 -
2015-03-04 17:37:57 +00:00
Károly Balogh
73018b39a7 amunits/arosunits: ed_Type field in TExAllData should actually be signed
git-svn-id: trunk@30093 -
2015-03-04 00:18:04 +00:00
Károly Balogh
2ead4634e6 amunits: converted MUI to syscalls
git-svn-id: trunk@30092 -
2015-03-03 22:46:22 +00:00
Legolas
8dd9b46d60 * Patch by Karl-Michael Schindler (mantis 0026847): gba and nds targets are now buildable without external dependencies
git-svn-id: trunk@30083 -
2015-03-03 09:16:04 +00:00
lacak
69cbcdaa34 fcl-db: mssql: add support for varchar(MAX), varbinary(MAX) data types
(text, ntext and image data types are deprecated by SQL Server and will be removed in any future version of SQL Server)

git-svn-id: trunk@30082 -
2015-03-03 07:04:12 +00:00
nickysn
54dcd555d0 * switch to always using an unsigned type for CORE_ADDR
git-svn-id: trunk@30081 -
2015-03-02 22:44:24 +00:00
nickysn
de6975d001 * improvements to the libgdb.a version of Print[Formatted]Command:
* return got_error=true in case of an error (fixes display of local variables of a parent function from a nested one)
  * fixed returning an error message (previously it would return an empty string)
  * trimming the #10 at the end simplified by the use of an ansistring function
  * we now also trim whitespace from the end, which was previously done in TWatch.Get_new_value, so I assume it was necessary for some gdb versions

git-svn-id: trunk@30077 -
2015-03-02 21:34:20 +00:00
marco
d20491e0f0 * Patch from Mattias to mostly revert his previous patch that broke his own code.
Mantis #27549

git-svn-id: trunk@30075 -
2015-03-02 18:54:03 +00:00
Legolas
177b007eba * Fixed gba rtl: it generated corrupted executables
* Changed nds tool: grit has been replaced by grit_fpc (https://github.com/flodd/grit_fpc) to simplify the nds programming workflow

git-svn-id: trunk@30074 -
2015-03-02 17:33:44 +00:00
nickysn
fc6fef3cc1 * fixed compilation of gdbint after r30071
git-svn-id: trunk@30072 -
2015-03-02 13:49:09 +00:00
nickysn
4794b901ae * changed the type of TFrameEntry.address from PtrInt to CORE_ADDR
git-svn-id: trunk@30071 -
2015-03-02 13:43:58 +00:00
pierre
1d865d6422 Add SelectFrameCommand method to TGDBController in gdbcon and gdbmicon units (not yet used in ide code)
git-svn-id: trunk@30066 -
2015-03-02 10:41:35 +00:00
nickysn
547e20f1a2 * just realized that AnsiStrPas is entirely unnecessary, because typecasting a
pchar to ansistring performs exactly the same thing :)

git-svn-id: trunk@30056 -
2015-03-02 00:03:02 +00:00
nickysn
00e3c906ef * fixed AnsiStrPas
git-svn-id: trunk@30054 -
2015-03-01 23:42:19 +00:00
nickysn
7859afccc4 * TGDBController.InternalGetValue made private to protect from accidental use
in fpdebug.pas, because it's for internal use in the libgdb.a interface only
  and is not available in the gdb/mi interface

git-svn-id: trunk@30053 -
2015-03-01 23:09:21 +00:00
nickysn
67a66f104d * converted the result of TGDBController.PrintCommand from pchar to ansistring:
* supports returning long strings
  * can be easily converted to a pchar without truncation (a simple PChar(x)
    works for read-only access or a full copy via StrNew(PChar(x)) )
  * can be easily converted to shortstring without memleaks (shortstr := pchar
    works, but creates a silent memleak, when the pchar returned should be
    StrDispose'd)

git-svn-id: trunk@30052 -
2015-03-01 22:57:48 +00:00
pierre
caa77e1f8d Add TGDBController.SetCommand method and use it
git-svn-id: trunk@30046 -
2015-03-01 17:00:16 +00:00
pierre
36086cc183 ide/gdbmiint.pas: Add init_count field,
New Set_debuggee_started method to update init_count properly.

  ide/gdbmicon.ppas and packages/gdbint/src/gdbcon.pp:
  Add PrintCommand and PrintFormattedCommand methods to
  allow using of mi command for fpdebug unit TDebugController.GetValue method

  packages/gdbint/src/gdbcon.pp:
  Add InternalGetValue method, that uses previous code from fpdebug GetValue method

git-svn-id: trunk@30043 -
2015-03-01 13:21:26 +00:00
marco
8aba24ecdf * fix for mantis #27555
git-svn-id: trunk@30028 -
2015-02-27 23:08:55 +00:00
pierre
4fba54788b set last_breakpoint_address field type to CORE_ADDR
git-svn-id: trunk@30022 -
2015-02-27 09:44:37 +00:00
nickysn
c62f3ec271 * handle failure in GetFPCBreakErrorParameters and continue execution silently
in a gdb/mi safe way

git-svn-id: trunk@30020 -
2015-02-27 00:34:16 +00:00
marco
86f91f50f5 * avltree rearrangements with new oncompare system. Mantis #27542, patch by Mattias
git-svn-id: trunk@30013 -
2015-02-26 08:52:49 +00:00
lacak
36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units
git-svn-id: trunk@30012 -
2015-02-26 05:27:15 +00:00
Legolas
6f93505e08 * Fixed NDS building cycle (resolves bug #0026847)
* Updated libndsfpc to ver 1.5.10
 * Improved libndsfpc examples

git-svn-id: trunk@30008 -
2015-02-25 20:52:50 +00:00
lacak
a756cb3d44 fcl-db: dbase: update Polish translation. Bug #26375
git-svn-id: trunk@30005 -
2015-02-25 11:12:23 +00:00
nickysn
47509b0148 + added parameter BreakIndex (containing the breakpoint index if we stopped on a
breakpoint, or zero otherwise) to DoSelectSourceLine, instead of using
  stop_breakpoint_number
- removed stop_breakpoint_number and all the convoluted logic around it from the
  gdb/mi interface
* made stop_breakpoint_number private in the libgdb.a interface to ensure it's
  only used for internal use; UI code should rely on the new BreakIndex
  parameter instead

git-svn-id: trunk@30003 -
2015-02-25 01:48:23 +00:00
Jonas Maebe
6149d37e2a * changed the Mach-O object writer to use symbols instead of section numbers
in the relocations (change the relocations to use "external reference" in
    Mach-O terminology), because initially section number-based relocations
    were not supported for AArch64 and later they were added but behave
    slightly differently from those on other platforms (or there's a bug in
    (some?) linker versions with them) (mantis #27531)
   o also add a dummy text section, since the assemblers also always do that
   o only use references to global symbols in the relocations, because when
     using local symbols in assembler code then for most architectures these
     must then be translated to section references (like the old code did),
     while for others they should remain symbols. For global symbols, the
     behaviour is the same everywhere

git-svn-id: trunk@29999 -
2015-02-24 20:57:39 +00:00
Jonas Maebe
5302024e25 * set the size of the string table to a multiple of 4 bytes instead of to
a multiple of the data alignment (like the assemblers do)

git-svn-id: trunk@29998 -
2015-02-24 20:57:36 +00:00
Jonas Maebe
215e2cc5de * changed the Mach-O types from packed records in to regular records and
{$packrecords c}

git-svn-id: trunk@29997 -
2015-02-24 20:57:33 +00:00
Jonas Maebe
37a7304a8f + added xcoffwriter to Makefile.fpc.fpcmake
git-svn-id: trunk@29996 -
2015-02-24 20:57:29 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
83e20b5a5b + x86_64/iphonesim support in fpcmake/fpmkunit
git-svn-id: trunk@29972 -
2015-02-23 22:56:21 +00:00
Jonas Maebe
935c6eecf0 + iphonesim/x86_64 detection support in univint units
git-svn-id: trunk@29971 -
2015-02-23 22:56:14 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00