Commit Graph

30093 Commits

Author SHA1 Message Date
Jonas Maebe
483b3b4a30 * more ESysEINTR handling
git-svn-id: trunk@12926 -
2009-03-19 22:01:09 +00:00
Jonas Maebe
08865be30e * fixed a bunch of cases where ESysEINTR wasn't handled
* call fpexit instead of halt when fpexec fails (the (v)forked child
    would otherwise close down a bunch of resources of the parent)
  * use vfork instead of fork on Darwin and Solaris (faster)
  * fixed indentation (use "svn diff -x -w" to see the important
    differences)

git-svn-id: trunk@12925 -
2009-03-19 21:53:54 +00:00
Jonas Maebe
8b53f8c41a * fixed a bunch of cases where ESysEINTR wasn't handled
git-svn-id: trunk@12924 -
2009-03-19 21:46:12 +00:00
Jonas Maebe
7fa0b94f36 * fixed unix version of tprocess.waitonexit (use unix.waitprocess so all
corner cases are properly handled) (mantis #11797)

git-svn-id: trunk@12923 -
2009-03-19 20:14:57 +00:00
Jonas Maebe
3844b9b325 + univint dependencies on Darwin for packages using custapp after r12921
git-svn-id: trunk@12922 -
2009-03-19 17:33:30 +00:00
Jonas Maebe
477b4d1f8b * implemented TApplication.GetExename() using CoreFoundation api's
for 32 bit Darwin platforms (we don't have a 64 bit clean interface
    for CoreFoundation yet) instead of using the (unreliable) paramstr(0)
    (mantis #13327)

git-svn-id: trunk@12921 -
2009-03-19 17:32:06 +00:00
Jonas Maebe
c548ce30ba * replaced old DWARF CFI section notation for Darwin with new one (more
changes are required before it works for Darwin)

git-svn-id: trunk@12920 -
2009-03-19 14:22:26 +00:00
Jonas Maebe
d8aa5a1ff8 * set the node complexity of realconstn to 1 instead of the default (maximum)
git-svn-id: trunk@12919 -
2009-03-19 14:20:51 +00:00
Jonas Maebe
e9dedb7377 * disabled generation of DW_AT_low_pc/DW_AT_high_pc compilation unit
information for Win32, as it doesn't work there due to the way we
    name sections on that platform
   (http://lists.freepascal.org/lists/fpc-devel/2009-March/016591.html)

git-svn-id: trunk@12918 -
2009-03-19 10:02:09 +00:00
Jonas Maebe
41dcda600c * disabled the internal linker when using DWARF debug info (it doesn't
work correctly with DWARF)
  * only force the internal linker for STABS when generating relocatable
    output (rather than for all debugging formats)

git-svn-id: trunk@12917 -
2009-03-19 09:01:29 +00:00
Jonas Maebe
630aa5c493 * do not use voidtype for temporary parameter/result locations when
inlining, because that results in alignment settings of "0"
    (voidtype.savesize = 0 -> size2align(0) = 0), which is interpreted
    by the code generators as unaligned (and is actually even invalid
    nowadays). This caused errors on NDS when writing to memory mapped
    I/O devices (mantis #13343)

git-svn-id: trunk@12916 -
2009-03-18 22:25:06 +00:00
Jonas Maebe
f70db9cc93 * fcl-db depends on fcl-xml (xmldatapacketreader uses dom)
git-svn-id: trunk@12915 -
2009-03-18 21:49:13 +00:00
Jonas Maebe
3d739f7a80 * fixed test for non-i386 platforms after r12913
git-svn-id: trunk@12914 -
2009-03-18 20:05:15 +00:00
Jonas Maebe
9ab03e72f3 * mark class and interface parameters as pfAddress (further fix for
mantis #12038) + test

git-svn-id: trunk@12913 -
2009-03-17 20:37:11 +00:00
tom_at_work
ebe8c60813 * also compile lnfodwrf on win32 by default
git-svn-id: trunk@12912 -
2009-03-17 19:17:22 +00:00
Jonas Maebe
c90ecac667 - disabled CFI again for Darwin, it doesn't work there yet
git-svn-id: trunk@12911 -
2009-03-17 19:03:33 +00:00
Jonas Maebe
173ca78a68 * removed superfluous "end of debug info" marker (zero-byte), about
which objdump complained

git-svn-id: trunk@12910 -
2009-03-17 18:42:00 +00:00
Jonas Maebe
c9af7d6476 * added tf_dwarf_only_local_labels for Windows (should make DWARF usable
on Windows, although there are still some warnings)

git-svn-id: trunk@12909 -
2009-03-17 17:07:17 +00:00
florian
b4953e3a50 * ignore $CONTROLLERTPYES marco on non-AVR/ARM platforms in msg files
git-svn-id: trunk@12908 -
2009-03-17 13:55:52 +00:00
florian
6e8a6790d1 + FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL
git-svn-id: trunk@12907 -
2009-03-17 13:43:24 +00:00
Marc Weustink
0efd37a4c9 * enabled generation of dwarf frames for non x64 targets when dwarf debug info is requested
* renamed al_dwarf enum to al_dwarf_frame since this enum only enables frame generation
* renamed create_dwarf procedure for the same reason
* skipped check for dwarf support in assember, since we generate all dwarf info ourselves

git-svn-id: trunk@12906 -
2009-03-16 23:43:26 +00:00
Jonas Maebe
f54089a5e2 * encode the offset of absolute global variables in the symbol instead
of in the DWARF, as it's more efficient and avoids a gdb bug which
    occurs on some platforms (thanks to Jan Kratochvil for the tip,
    http://sourceware.org/ml/gdb/2009-03/msg00094.html )

git-svn-id: trunk@12905 -
2009-03-16 21:14:54 +00:00
Jonas Maebe
bfd753b7c9 - removed tf_dwarf_relative_addresses again, it causes differences
compared to the gcc-generated code (and removing it does not cause
    other differences). Partial revert of r12592.

git-svn-id: trunk@12904 -
2009-03-16 17:20:04 +00:00
Jonas Maebe
4e20c12326 * fixed compilation on x86_64 and ARM after r12891
git-svn-id: trunk@12903 -
2009-03-16 08:24:12 +00:00
Jonas Maebe
d67dbcf030 * fixed UTF8ToUnicode() based on patch by JoshyFun, and also added
support for 4-character UTF-8 codepoints (mantis #11791)
  * fixed UnicodeToUtf8() based on patch by A. J. Miller (mantis
    #13075)

git-svn-id: trunk@12902 -
2009-03-15 15:47:39 +00:00
michael
a43bda5052 * Added sort method to TCollection
git-svn-id: trunk@12901 -
2009-03-15 15:46:50 +00:00
Jonas Maebe
02bfd45775 * corrected properties
git-svn-id: trunk@12900 -
2009-03-15 15:21:17 +00:00
Jonas Maebe
4953b23666 - removed writeln() in JPEGError() to avoid triggering an (additional)
error in Win32 GUI programs

git-svn-id: trunk@12899 -
2009-03-15 13:27:24 +00:00
Jonas Maebe
ab8b32dafb - removed PARAOUTFILE define and ifdefs
git-svn-id: trunk@12898 -
2009-03-15 12:31:02 +00:00
Jonas Maebe
a8eb1cc30b - removed FPC_DARWIN_JMP_MAIN and FPC_DARWIN_PASCALMAIN defines and ifdefs
git-svn-id: trunk@12897 -
2009-03-15 12:21:59 +00:00
Jonas Maebe
c6470a75e7 * do not disable smart linking when using DWARF debug information on Darwin,
because there it does work correctly
  * print a note if smart linking is disabled due to using DWARF

git-svn-id: trunk@12896 -
2009-03-15 12:16:45 +00:00
Jonas Maebe
cdc4933826 - removed accidentally committed change from previous commit
git-svn-id: trunk@12895 -
2009-03-15 12:07:49 +00:00
Jonas Maebe
f2ce99029b * fixed sets in rtti for big endian systems
* changed set sizes in rtti to 1 byte for Delphi compatibility
  * fixed tests/webtbs/tw12038 for the new set sizes
  * documented at http://wiki.freepascal.org/User_Changes_Trunk#Sets_in_RTTI_.28run-time_type_information.29

git-svn-id: trunk@12894 -
2009-03-15 12:06:30 +00:00
Jonas Maebe
2c94fca8e1 * disable debug info generation, because these tests require smart linking,
which is incompatible with smart linking on most platforms

git-svn-id: trunk@12893 -
2009-03-15 12:03:59 +00:00
florian
097127d9aa * overload CreateStatusWindow and DrawStatusText with *W forms
git-svn-id: trunk@12892 -
2009-03-15 11:05:21 +00:00
Jonas Maebe
7e8343f6e2 * removed any use of pushleftright_pocalls for non-i386 platforms, since
they always use the same parameter pushing order
  * define the pushleftright_pocalls constant only for i386 so it cannot
    be accidentally used anymore for other platforms

git-svn-id: trunk@12891 -
2009-03-15 10:38:40 +00:00
Jonas Maebe
e4d52bb118 * use stdcall for the tested procvar definitions, so that the parameter
pushing order is the same on all platforms

git-svn-id: trunk@12890 -
2009-03-15 10:22:24 +00:00
florian
442333d05f * fixed string length which makes ObjC section names fit
git-svn-id: trunk@12889 -
2009-03-14 20:26:31 +00:00
Jonas Maebe
c26f9cc5df * set the RTTI type name of "open array" parameters to the name of the
elements of the array (like Kylix, mantis #12038) + test
  * add pfReference and pfArray TParamFlags for open array parameters
    like Kylix

git-svn-id: trunk@12888 -
2009-03-14 19:00:44 +00:00
Jonas Maebe
7ef279364b * disable smart linking when using DWARF debug info (doesn't work on all
platforms)

git-svn-id: trunk@12887 -
2009-03-14 15:33:59 +00:00
Jonas Maebe
145a7bf304 * only change the assembler to the default external assembler for Win32 when
using DWARF if it hasn't been changed yet

git-svn-id: trunk@12886 -
2009-03-14 15:28:00 +00:00
Jonas Maebe
8d2f3946e0 * fixed TextToFloat() in case ThousandSeparator = DecimalSeparator, based
on patch by Bart Broersma (mantis #13307)

git-svn-id: trunk@12885 -
2009-03-14 15:20:46 +00:00
Jonas Maebe
78c12ba82b * only store debug link file name in .gnu_debuglink section
(mantis #13324)

git-svn-id: trunk@12884 -
2009-03-14 14:03:38 +00:00
Jonas Maebe
2b69768afc + support for properties in DWARF2 where the accessor does not use a function
git-svn-id: trunk@12883 -
2009-03-14 11:12:46 +00:00
Jonas Maebe
b86cb8ba55 + interactive test for mantis #13313
git-svn-id: trunk@12882 -
2009-03-14 10:37:59 +00:00
joost
239538dccf Patch from Atilla Borka: (bug 13280
* Fixed TRequest.files.Size property
 * Only non zero length files or files with non empty names will be considered

git-svn-id: trunk@12881 -
2009-03-13 22:46:57 +00:00
joost
75815ee562 * Fixed TApacheRequest.RemoteHost property
git-svn-id: trunk@12880 -
2009-03-13 22:12:20 +00:00
Jonas Maebe
921e783225 * fixed indentation
git-svn-id: trunk@12879 -
2009-03-13 21:17:58 +00:00
Jonas Maebe
7bf643746e * reject "absolute" variables referencing locations with implicit
dereferences (the tests from the previous commit were actually
    for this change)

git-svn-id: trunk@12878 -
2009-03-13 21:17:39 +00:00
Jonas Maebe
4f51aef122 + Support for debug info for absolute variables when using dwarf2.
Needs a fix in gdb when referencing a location relative to a
    global variable (an array element other than the first, a field
    other than the first) on Mac OS X and when using external debug
    info on Linux/Windows.

git-svn-id: trunk@12877 -
2009-03-13 21:16:06 +00:00