Commit Graph

45200 Commits

Author SHA1 Message Date
marco
f79a8c1544 * IMAGE_FIRST_SECTION
git-svn-id: trunk@30185 -
2015-03-14 11:16:12 +00:00
marco
f6d72af6a3 * fix 64-bit issue in jwawinnt
git-svn-id: trunk@30184 -
2015-03-14 11:14:29 +00:00
Jeppe Johansen
9478099e5a Undo recent VFP assembler changes to make bootstrapping from 3.0.1 possible.
git-svn-id: trunk@30183 -
2015-03-14 10:04:17 +00:00
marco
698a068da7 * Missing symbols from mantis #27657 except macro IMAGE_FIRST_SECTION
git-svn-id: trunk@30182 -
2015-03-13 20:08:29 +00:00
Jeppe Johansen
73abf5e630 Merge from armiw branch.
Update ARM internal assembler to support most ARM, Thumb and Thumb-2 instructions.
Changed generation of VFP instructions to use UAL mnemonics.
Added divided and unified assembler syntax support to ARM assembly reader.

git-svn-id: trunk@30181 -
2015-03-13 19:22:27 +00:00
Jeppe Johansen
b75330760d Merged from trunk.
git-svn-id: branches/laksen/armiw@30180 -
2015-03-13 18:58:57 +00:00
Jeppe Johansen
5f622752ce Disable internal assembler
git-svn-id: branches/laksen/armiw@30179 -
2015-03-13 18:56:59 +00:00
Jonas Maebe
d4bc74ecc0 * support for -WM10.XX (for 10.10) and defining the correct associated
version macro

git-svn-id: trunk@30178 -
2015-03-13 08:35:30 +00:00
Jonas Maebe
5b3c511467 * don't crash when "return exitvalue" is used in a procedure
git-svn-id: trunk@30177 -
2015-03-13 08:35:26 +00:00
nickysn
39dbfcc3d5 * fixed gdb/mi crash when program exits with exit code >= $80000000
git-svn-id: trunk@30176 -
2015-03-12 23:25:07 +00:00
nickysn
e87ce29a4e * use the AsQWord and AsLongWord methods to do the conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30175 -
2015-03-12 22:53:02 +00:00
nickysn
44f272ca3f * use unsigned int conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30174 -
2015-03-12 22:49:16 +00:00
nickysn
f4c0c92628 + added methods AsInt64, AsQWord and AsLongWord to TGDBMI_Value
git-svn-id: trunk@30173 -
2015-03-12 22:46:46 +00:00
pierre
c45d3a2d96 Correct pthread related types
git-svn-id: trunk@30172 -
2015-03-12 20:59:56 +00:00
Jonas Maebe
2dcd42d4f1 * fixed detection of an objcprotocols descending from a forward-defined
objcprotocol

git-svn-id: trunk@30169 -
2015-03-12 19:37:43 +00:00
florian
f0984fb628 * abstractrecorddef.contains_float_field should search recursively, resolves #27580
git-svn-id: trunk@30168 -
2015-03-11 22:05:14 +00:00
pierre
b0d8f487c1 Makefile regenerated after previous commit: Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall
git-svn-id: trunk@30167 -
2015-03-11 22:03:52 +00:00
pierre
999436c5e6 Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall
git-svn-id: trunk@30166 -
2015-03-11 21:57:47 +00:00
Jonas Maebe
b97e7da6b4 * fixed memory leak
git-svn-id: trunk@30165 -
2015-03-11 17:49:51 +00:00
Jonas Maebe
fc21845686 * fixed the allocation of R12 on ppc32/ppc64 when used to hold the value of
the stack pointer during the prolog. This was done previously in
    tcg.g_proc_entry(), but that routine is called after register allocation
    and hence has no influence. Also cleaned up the deallocation of that
    register by moving the previously ifdef'd code to thlcgppcgen
    (mantis #27634)

git-svn-id: trunk@30164 -
2015-03-11 17:49:44 +00:00
nickysn
bf7785f567 * only define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE on Windows. This fixes
console output under Linux and other non-Windows platforms.

git-svn-id: trunk@30163 -
2015-03-11 10:44:47 +00:00
nickysn
aff3fb62ae - rm code that parses the response when retrieving the value of a watchpoint
variable, since that's now done in PrintCommand for the libgdb.a interface
  (and is not necessary for the gdb/mi interface)

git-svn-id: trunk@30162 -
2015-03-11 00:59:53 +00:00
Legolas
0e93481dbf * Wii rtl: reverted wrong commit
git-svn-id: trunk@30161 -
2015-03-10 19:30:37 +00:00
svenbarth
dcfd734bbf Fix cycling with -dFPC_USE_LIBC on Linux systems to allow usage of FPC Linux programs on OSv.
memchr seems to have a bug on recent Linux systems if the count that is passed in is larger than the buffer (in our specific case the count is -1 to find the 0 byte of \0 terminated strings): the function "randomly" fails to find the byte and returns zero thus leading to for example incorrect parameter handling.

rtl/inc/cgeneric.inc:
  * use rawmemchr on Linux if -1 is passed as count

git-svn-id: trunk@30160 -
2015-03-10 18:34:04 +00:00
michael
af9798c761 * MOve update of threadqueuetail to critical section
git-svn-id: trunk@30159 -
2015-03-10 08:12:39 +00:00
pierre
21fe7616a4 Avoid line longer than 255 characters, to be able to edit inside FP IDE
git-svn-id: trunk@30158 -
2015-03-10 07:56:18 +00:00
pierre
3cd33af823 Avoid double definition of FPBaseName for powerpc cpu target on i386
git-svn-id: trunk@30157 -
2015-03-10 07:52:44 +00:00
pierre
d62a8b4b14 Avoid range check error
git-svn-id: trunk@30156 -
2015-03-10 07:51:46 +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
0b52513c18 * Fix for bug ID #27628
git-svn-id: trunk@30153 -
2015-03-09 19:38:26 +00:00
Jonas Maebe
6a70c84258 + internal bsr/bsf support for ppc32 and ppc64
git-svn-id: trunk@30152 -
2015-03-09 16:48:34 +00:00
Jonas Maebe
00642288b8 * extended bsf/bsr tests with values in which more than one bit is set
git-svn-id: trunk@30151 -
2015-03-09 16:48:26 +00:00
Jeppe Johansen
3d7dce81fe Make MRS and MSR use the right encoding on Thumb architectures.
Set regnumber_count_bsstart to 128 to be able to search all registers.

git-svn-id: branches/laksen/armiw@30150 -
2015-03-08 17:30:38 +00:00
michael
932f472384 * Second patch for big ID 27246
git-svn-id: trunk@30149 -
2015-03-08 16:32:43 +00:00
nickysn
930327eabf * fixed a race condition during parallel build, when nasm tries to create the
output file, before mkdir has created the output directory

git-svn-id: trunk@30148 -
2015-03-08 13:32:35 +00:00
Jeppe Johansen
03b9e5117f Fix off by 1 error in assembler reader which prevented B instructions from being parsed.
git-svn-id: branches/laksen/armiw@30147 -
2015-03-08 12:52:43 +00:00
Jeppe Johansen
914e9e7b49 Merged from trunk
git-svn-id: branches/laksen/armiw@30146 -
2015-03-08 12:33:46 +00:00
nickysn
e513cd44cf * cleaned up, fixed dependencies and enabled parallel build in the msdos makefile
git-svn-id: trunk@30145 -
2015-03-08 12:31:58 +00:00
Jeppe Johansen
d12b913e70 Add initial support in ARM-embedded for Allwinner A20.
git-svn-id: trunk@30144 -
2015-03-08 12:22:57 +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
florian
53d6f6bc55 * handle dyn. arrays and interfaces correctly in TypInfo.SetOrdProp
git-svn-id: trunk@30141 -
2015-03-08 09:40:36 +00:00
michael
bda3626025 * Write unhandled exceptions to StdErr. Option to revert back to old behaviour (Bug ID 17346)
git-svn-id: trunk@30140 -
2015-03-08 09:37:35 +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
nickysn
05ab2ea0cb * also use the last line of the FPU and Vector Unit register view windows
git-svn-id: trunk@30136 -
2015-03-08 02:24:22 +00:00
nickysn
5d43ce99cd * show a persistent message "debugger error" in the register windows in case
there's an error retrieving the register values. Previously, the message would
  appear, but subsequent window redraws would show invalid register values
  instead of the message.

git-svn-id: trunk@30135 -
2015-03-08 02:19:52 +00:00
nickysn
fa48ef574a * always show the "no values available" msg in the register windows when program
isn't running

git-svn-id: trunk@30134 -
2015-03-08 01:47:54 +00:00