Commit Graph

355 Commits

Author SHA1 Message Date
michael
3408f8409a * Preparation for Unicode RTL compilation
git-svn-id: trunk@24700 -
2013-06-01 10:41:10 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00
joost
527c407b62 * Re-generated Makefiles for the changes in the Makefile.fpcs in r24349
git-svn-id: trunk@24350 -
2013-04-27 20:48:14 +00:00
joost
20a3809e58 * Now zipinstall is passed to fpmake by all Makefile.fpc's
git-svn-id: trunk@24349 -
2013-04-27 20:34:00 +00:00
pierre
3ceac493eb Commit go32v2 specific fix in 2.6.0 branch rev 20576
git-svn-id: trunk@24033 -
2013-03-28 13:04:54 +00:00
pierre
4f2691c729 + Search CC, MAKE and AWK variables inside Makefile
+ Set CC_is_gcc to 1 if CC contains gcc substring
  + Use --verbose for LDFLAGS if using gcc
  + Create gdb_get_stdin.c source to avoid problems related to stdin
    macro expansion on some targets. Add gdb_get_stdin.o object
    to XM_ADD_FILES if compilation successful.
    Set LIBGDB_HAS_GET_STDIN conditional in gdblib.inc on success.
  * Rebuild libgdb.a with possible gdb_get_stdin.o added.
  * Check for collect2 in make.log
  + Add libgdb.a manually if not use anymore on gdb executable command line.
  * Try to avoid wrong parsing of library list.

git-svn-id: trunk@24032 -
2013-03-28 12:40:11 +00:00
pierre
2da4a7b3d9 * Add moe information about libgdb.a and examples from tests directory
git-svn-id: trunk@24031 -
2013-03-28 12:29:13 +00:00
pierre
d4ecf952f9 Basic GDB 7.6 support
git-svn-id: trunk@24030 -
2013-03-28 12:27:56 +00:00
pierre
f095c98e76 * move smartlink off to before interface
* Reorganize ifdef GDB_VXYZ part
  + Add code for LIBGDB_HAS_GET_STDIN (possibly set in gen-gdblib-inc.sh script).
  + Use GDB_USE_XSTRVPRINTF conditional.

git-svn-id: trunk@23660 -
2013-02-25 16:28:10 +00:00
pierre
3b1465f314 Do not set GDB_HAS_DEBUG_FILE_DIRECTORY for GDB 6.6 release
git-svn-id: trunk@23659 -
2013-02-25 16:01:09 +00:00
yury
e88bc322bc + Merge the targetandroid branch. Support for arm and i386 android targets.
***************************************************************************

Revision: 23518
Author: yury
Date: 25 Jan 2013 0:14:31
Message:
* Build databases support for Android.
----
Modified : /branches/targetandroid/packages/dblib/fpmake.pp
Modified : /branches/targetandroid/packages/fcl-db/fpmake.pp

Revision: 23516
Author: yury
Date: 24 Jan 2013 23:08:12
Message:
* again made less complex for arm and sparc so it compiles there too without running out of registers.
----
Modified : /branches/targetandroid/tests/webtbs/tw2242.pp

Revision: 23515
Author: yury
Date: 24 Jan 2013 23:01:36
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw4038.pp

Revision: 23514
Author: yury
Date: 24 Jan 2013 22:32:39
Message:
* Disabled the test for Android.

----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp

Revision: 23512
Author: yury
Date: 24 Jan 2013 12:30:07
Message:
* Allow passing of double quoted paths in TEST_OPT.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc

Revision: 23511
Author: yury
Date: 24 Jan 2013 12:29:01
Message:
* Fixed building of packages when cross-testing. Pass CROSSOPT to build packages in such case, otherwise options specified in TEST_OPT are used to build fpmake. The source compiler not always accepts target options. For example -Cfsoft option, often used for arm compiler, is not accepted by x86 compiler.
----
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/tstunits/Makefile.fpc

Revision: 23497
Author: yury
Date: 22 Jan 2013 19:10:54
Message:
* Reverted r23400 and r23401. Tomas has promised to commit more correct fix to trunk.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23496
Author: yury
Date: 22 Jan 2013 19:05:51
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp

Revision: 23495
Author: yury
Date: 22 Jan 2013 18:58:30
Message:
* Add %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/tbs/tb0582.pp
Modified : /branches/targetandroid/tests/test/tweaklib2.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw13628b.pp
Modified : /branches/targetandroid/tests/webtbs/tw14798.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw2812.pp
Modified : /branches/targetandroid/tests/webtbs/tw3082.pp
Modified : /branches/targetandroid/tests/webtbs/tw3402.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822b.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp

Revision: 23492
Author: yury
Date: 22 Jan 2013 16:43:42
Message:
* Turn off special handling of interrupt calling convention for i386-android.
----
Modified : /branches/targetandroid/compiler/i386/n386cal.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas

Revision: 23491
Author: yury
Date: 22 Jan 2013 16:34:32
Message:
* Added %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/test/targ1b.pp
Modified : /branches/targetandroid/tests/test/tlib1b.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tlibrary2.pp
Modified : /branches/targetandroid/tests/test/tlibrary3.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23490
Author: yury
Date: 22 Jan 2013 16:28:00
Message:
* These libs are for tests, that run only on windows. Mark libs for windows only as well.

----
Modified : /branches/targetandroid/tests/test/library/tlib3a.pp
Modified : /branches/targetandroid/tests/test/library/tlib3b.pp

Revision: 23489
Author: yury
Date: 22 Jan 2013 16:18:56
Message:
* Do not copy a library to a remote target if this library name is specified using %DELFILES directive.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23488
Author: yury
Date: 22 Jan 2013 15:47:52
Message:
* Implemented { %DELFILES file1 file2 ... } directive for tests. Primarily it is needed to delete shared libraries used by tests when TEST_DELTEMP=1. When testing on a real Android device, it is not good to run tests on flash memory partitions. Android devices have 1Mb RAM based tempfs partition for /tmp folder, which is ideal for running tests. Since 1Mb is very small size these days, it is needed to clean all test leftovers. Test shared libraries are the biggest leftovers and this new DELFILES directive will help to delete them.
* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.
----
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/utils/dotest.pp
Modified : /branches/targetandroid/tests/utils/testu.pp

Revision: 23487
Author: yury
Date: 22 Jan 2013 13:16:22
Message:
* Define CExtended and clongdouble as double for Android.
----
Modified : /branches/targetandroid/compiler/psystem.pas
Modified : /branches/targetandroid/rtl/inc/ctypes.pp

Revision: 23486
Author: yury
Date: 22 Jan 2013 13:14:36
Message:
* Fixed compilation for case when extended <> cextended.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext6.pp

Revision: 23485
Author: yury
Date: 22 Jan 2013 12:41:43
Message:
* More correct comparison of long double values for case when long double=double in C.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext.pp

Revision: 23484
Author: yury
Date: 22 Jan 2013 11:53:41
Message:
* Do not pass -f switch for rm when testing via adb, since default android shell do not support -f switch.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23483
Author: yury
Date: 22 Jan 2013 11:47:31
Message:
* Added ICU version of Android 4.1.
* Increment by 2 when finding an unknown ICU version.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23479
Author: yury
Date: 21 Jan 2013 14:29:40
Message:
* Add define for android.
----
Modified : /branches/targetandroid/tests/test/cg/tcalcst6.pp
Modified : /branches/targetandroid/tests/test/cg/tcalvar6.pp

Revision: 23478
Author: yury
Date: 21 Jan 2013 14:22:06
Message:
+ Added C object files for android-i386.
----
Added : /branches/targetandroid/tests/test/cg/obj/android/i386
Modified : /branches/targetandroid/tests/test/cg/obj/readme.txt

Revision: 23477
Author: yury
Date: 21 Jan 2013 14:08:25
Message:
* Add missing checks for android target.
----
Modified : /branches/targetandroid/compiler/aasmdata.pas
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/expunix.pas
Modified : /branches/targetandroid/compiler/ncgld.pas
Modified : /branches/targetandroid/compiler/ogelf.pas
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas
Modified : /branches/targetandroid/compiler/x86/rax86.pas

Revision: 23475
Author: yury
Date: 21 Jan 2013 13:51:09
Message:
* Set android-i368 stack alignment to 16.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23474
Author: yury
Date: 21 Jan 2013 13:45:29
Message:
* Removed -z relro linker option, since it causes problems.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23451
Author: yury
Date: 19 Jan 2013 1:32:26
Message:
* Pass some security switches to LD. They are passed by GCC.
* Removed unused function.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23450
Author: yury
Date: 19 Jan 2013 1:27:45
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as

Revision: 23449
Author: yury
Date: 19 Jan 2013 1:27:02
Message:
* Simplify arm startup code.
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23448
Author: yury
Date: 19 Jan 2013 1:25:58
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23447
Author: yury
Date: 19 Jan 2013 1:19:29
Message:
* Rewrite initialization code for i386-android. i386-android works.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23441
Author: yury
Date: 18 Jan 2013 16:51:09
Message:
* Add android to supported targets for assemblers. It fixes assembling for i386-android.
----
Modified : /branches/targetandroid/compiler/arm/agarmgas.pas
Modified : /branches/targetandroid/compiler/i386/cpuelf.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas

Revision: 23435
Author: yury
Date: 18 Jan 2013 0:46:23
Message:
* Enable safecall exception handling for arm-android.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23434
Author: yury
Date: 18 Jan 2013 0:28:59
Message:
* Removed leftover from my experiments (calling directly pascal main).
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23433
Author: yury
Date: 17 Jan 2013 23:43:09
Message:
* Uses SysUtils to make executable bigger. Otherwise string pointers for FindResource can be less than $10000. They are treated as IDs in such case and the test will fail.
----
Modified : /branches/targetandroid/tests/test/units/system/tres.pp

Revision: 23429
Author: yury
Date: 17 Jan 2013 18:49:23
Message:
* Thread safety.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23427
Author: yury
Date: 17 Jan 2013 14:48:03
Message:
* Skip this test for android.
----
Modified : /branches/targetandroid/tests/test/textthr.pp

Revision: 23426
Author: yury
Date: 17 Jan 2013 14:21:51
Message:
* Fixed ifdefs linux to unix.
----
Modified : /branches/targetandroid/tests/test/tstring10.pp
Modified : /branches/targetandroid/tests/test/units/classes/tsetstream.pp
Modified : /branches/targetandroid/tests/test/units/dos/tdos.pp
Modified : /branches/targetandroid/tests/test/units/dos/tidos.pp

Revision: 23425
Author: yury
Date: 17 Jan 2013 14:20:56
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp
Modified : /branches/targetandroid/tests/test/testfpuc.pp
Modified : /branches/targetandroid/tests/test/textthr.pp
Modified : /branches/targetandroid/tests/test/tlib2a.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tpoll.pp
Modified : /branches/targetandroid/tests/test/tsafecall1.pp
Modified : /branches/targetandroid/tests/test/tsafecall2.pp
Modified : /branches/targetandroid/tests/test/tsafecall3.pp
Modified : /branches/targetandroid/tests/test/tsafecall4.pp
Modified : /branches/targetandroid/tests/test/units/system/tres.pp
Modified : /branches/targetandroid/tests/test/units/system/tres2.pp
Modified : /branches/targetandroid/tests/test/units/system/tres3.pp

Revision: 23424
Author: yury
Date: 17 Jan 2013 14:02:35
Message:
* Fixed AnsiStrLComp() and AnsiStrLIComp().
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23423
Author: yury
Date: 17 Jan 2013 13:49:55
Message:
* Fixed stupid copy-paste error.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23409
Author: yury
Date: 16 Jan 2013 16:46:02
Message:
* Fixed conflict of native android and java android targets.
----
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini

Revision: 23406
Author: yury
Date: 16 Jan 2013 15:33:50
Message:
* Set stackalign field.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23404
Author: yury
Date: 16 Jan 2013 12:57:51
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704a.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586a.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822c.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838a.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730a.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730c.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089a.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089b.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089d.pp
Modified : /branches/targetandroid/tests/webtbs/uw2364.pp

Revision: 23402
Author: yury
Date: 16 Jan 2013 12:50:52
Message:
* Use collation when comparing strings.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23401
Author: yury
Date: 16 Jan 2013 12:41:32
Message:
* If there is no HOME directory, the current dir must be used.
----
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23400
Author: yury
Date: 16 Jan 2013 12:40:25
Message:
* Fixed expanding ~ if there is no HOME env var set.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc

Revision: 23391
Author: yury
Date: 15 Jan 2013 14:12:56
Message:
* Make sure that the thread has been started, before destroying the event.
----
Modified : /branches/targetandroid/tests/test/tbrtlevt.pp

Revision: 23390
Author: yury
Date: 15 Jan 2013 13:55:24
Message:
* Do not use DOS code pages for Android. Now all CP string tests pass on Android.
----
Modified : /branches/targetandroid/tests/test/tcpstr17.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcat3.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti2.pp

Revision: 23389
Author: yury
Date: 15 Jan 2013 13:53:50
Message:
* Use more common code pages 1251 and 1252 instead of old DOS code pages (not available on Android). There is Euro symbol character that has different code in 1251 and 1252 code pages. Use it for tests.
----
Modified : /branches/targetandroid/tests/test/tcpstr1.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompare.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompareequal.pp

Revision: 23386
Author: yury
Date: 15 Jan 2013 10:22:30
Message:
* Skip 2 tests for android, since they require local execution.
----
Modified : /branches/targetandroid/tests/test/tcpstr19.pp
Modified : /branches/targetandroid/tests/test/tcpstr9.pp

Revision: 23385
Author: yury
Date: 15 Jan 2013 10:20:43
Message:
* Fixed running library tests on android.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23382
Author: yury
Date: 14 Jan 2013 16:20:44
Message:
* Implemented Unicode string manager for Android. It uses ICU library libicuuc.so. Note: ICU on Android has limited number of code pages. So don't expect support for DOS code pages or other exotic code pages.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23301
Author: yury
Date: 2 Jan 2013 20:47:09
Message:
* I've found that libc on Android does not implement widechar case functions such as towupper(). Such functions are just wrappers over regular char functions. Therefore the whole cwstring unit is useless for Android. For now I've added stub cwstring unit for Android and reverted all Android specific changes in unix/cwstring.pp. Later, Unicode manager for Androud should be implemented using libicuuc, which is default Android lib.
----
Added : /branches/targetandroid/rtl/android/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23299
Author: yury
Date: 2 Jan 2013 19:38:08
Message:
* Android does not have libiconv, so don't use it in cwstring unit. For now support only UTF-8 code page in ansistrings. Later it is possible to use libicuuc for code page conversions on Android.
----
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23298
Author: yury
Date: 2 Jan 2013 17:41:36
Message:
* Added uuchar unit to build for android.
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23289
Author: yury
Date: 2 Jan 2013 2:53:36
Message:
* Always specify dynamic linker name for executables.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23288
Author: yury
Date: 2 Jan 2013 2:04:41
Message:
* Updated Makefile
----
Modified : /branches/targetandroid/rtl/android/Makefile

Revision: 23287
Author: yury
Date: 2 Jan 2013 2:03:42
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23286
Author: yury
Date: 2 Jan 2013 2:01:43
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Deleted : /branches/targetandroid/rtl/android/arm/cprt0.as
Deleted : /branches/targetandroid/rtl/android/i386/cprt0.as

Revision: 23285
Author: yury
Date: 2 Jan 2013 1:59:48
Message:
* libctype is not needed, since only bionic is supported anyway.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23284
Author: yury
Date: 2 Jan 2013 1:49:12
Message:
* Rework of Android startup code. It is needed to always link to libc on android to implement finalization and environment variables in shared libraries.
* Cleanup of Android linker.
* Use only INSERT command in the linker script to inject custom .fpc sections. Whole linker script duplication is nor needed anymore.
* Use BFD linker, since GOLD linker does not support INSERT command. Other incompatibilities may also exist.
* Enable tf_smartlink_sections for i386-android.
* i386-android is broken after this commit. Will be fixed later.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23283
Author: yury
Date: 2 Jan 2013 1:48:07
Message:
* Enable weak externals for android.
----
Modified : /branches/targetandroid/compiler/systems.pas

Revision: 23236
Author: yury
Date: 28 Dec 2012 12:42:27
Message:
* Oops, wrong commit r23235. Reverted. Now correct: Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/rtl/inc/exeinfo.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23235
Author: yury
Date: 28 Dec 2012 11:38:04
Message:
* Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23232
Author: yury
Date: 27 Dec 2012 22:52:26
Message:
* Fixed the test for android.
----
Modified : /branches/targetandroid/tests/test/units/dos/tdos2.pp

Revision: 23231
Author: yury
Date: 27 Dec 2012 22:51:32
Message:
+ Added C object files for arm-android.
----
Added : /branches/targetandroid/tests/test/cg/obj/android
Added : /branches/targetandroid/tests/test/cg/obj/android/arm
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext6.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext6.o

Revision: 23226
Author: yury
Date: 27 Dec 2012 10:17:06
Message:
* Support for running tests on a remote Android device using ADB.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 22048
Author: tom_at_work
Date: 9 Aug 2012 17:13:51
Message:
re-apply the changes of r22045 to correct files after recent revert
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/i386
Added : /branches/targetandroid/rtl/android/i386/cprt0.as
Added : /branches/targetandroid/rtl/android/i386/dllprt0.as
Added : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 22047
Author: tom_at_work
Date: 9 Aug 2012 16:57:34
Message:
- revert r22045: applied changes to wrong files, i.e. linux system files, instead of android ones
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Added : /branches/targetandroid/rtl/linux/i386/cprt21.as
Added : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22045
Author: tom_at_work
Date: 9 Aug 2012 11:05:38
Message:
Made cprt0 startup files to compile. Static executables using them likely do not work though.
Removed obsolete startup files (?prt21*).

----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Deleted : /branches/targetandroid/rtl/linux/i386/cprt21.as
Deleted : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22044
Author: tom_at_work
Date: 9 Aug 2012 11:00:16
Message:
Updated systems/t_android to only recognize the "bionic" libc as valid libc.
Fix uninitialized defdynlinker variable when compiling i386-android causing garbage in the linker script.

----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 21296
Author: tom_at_work
Date: 15 May 2012 0:14:12
Message:
* basic android/x86 support
----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/i386/cputarg.pas
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/x86.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

Revision: 21066
Author: tom_at_work
Date: 26 Apr 2012 22:05:06
Message:
fix pthreads use with Android: it does not provide some functions. This patch is partially based on the bug report 0021525. Further, fix use of sem_timedwait in cthreads.pp since Android supports it.
----
Modified : /branches/targetandroid/rtl/linux/pthread.inc
Modified : /branches/targetandroid/rtl/unix/cthreads.pp

Revision: 21065
Author: tom_at_work
Date: 26 Apr 2012 16:15:52
Message:
bugfixes:
- do not compile ipc unit for android, not supported
- fix geterrnolocation external name
- implement dummy getdomainname; does not exist in android
- remove wrong 'if defined(android)' clauses
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/fpmake.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp

Revision: 21063
Author: tom_at_work
Date: 26 Apr 2012 12:53:37
Message:
- missing makefile
----
Added : /branches/targetandroid/rtl/android/Makefile

Revision: 21062
Author: tom_at_work
Date: 26 Apr 2012 12:41:13
Message:
- commit missing new files
----
Added : /branches/targetandroid/compiler/systems/i_android.pas
Added : /branches/targetandroid/compiler/systems/t_android.pas
Added : /branches/targetandroid/rtl/android
Added : /branches/targetandroid/rtl/android/Makefile.fpc
Added : /branches/targetandroid/rtl/android/arm
Added : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/arm/dllprt0.as
Added : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 21061
Author: tom_at_work
Date: 26 Apr 2012 12:36:42
Message:
- initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/arm/cputarg.pas
Modified : /branches/targetandroid/compiler/compiler.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile.fpc
Modified : /branches/targetandroid/packages/fpmkunit/src/fpmkunit.pp
Modified : /branches/targetandroid/packages/fppkg/src/fpmkunitsrc.inc
Modified : /branches/targetandroid/packages/gnome1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk2/fpmake.pp
Modified : /branches/targetandroid/packages/imlib/fpmake.pp
Modified : /branches/targetandroid/packages/opengl/fpmake.pp
Modified : /branches/targetandroid/packages/sdl/fpmake.pp
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/Makefile.fpc
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcmkcfg/fppkg.inc
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fppkg/fppkg.pp
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

git-svn-id: trunk@23604 -
2013-02-13 12:00:15 +00:00
marco
64ad892b55 * freebsd linking slightly alternate. Link .a's like Linux to avoid conflicts;
some extra linklibs (libgnu, libz) added. The libgnu linking might be 
   more version dependent.

git-svn-id: trunk@23590 -
2013-02-10 20:21:08 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +00:00
pierre
4a9dcfe0b8 Fix condition for compilation and running of gdbver executable
git-svn-id: trunk@23078 -
2012-11-29 09:56:42 +00:00
pierre
18d6e113b6 Do not search sub-directories in library directory list,\n list all found libraries, but use the first one
git-svn-id: trunk@23073 -
2012-11-28 10:32:59 +00:00
joost
b61960a0fb * Implemented BuildCPU, BuildOS en BuildString properties
git-svn-id: trunk@23007 -
2012-11-17 21:38:15 +00:00
joost
316717a710 * Re-generated all the Makefile.fpcs from the packages. So they are almost all the same now.
git-svn-id: trunk@23001 -
2012-11-17 00:18:50 +00:00
florian
6d055e71b9 * fix gdbint for mingw libgdb 7.2 we provide in the contribs dir
git-svn-id: trunk@22870 -
2012-10-28 21:28:40 +00:00
pierre
6d13176d9a Add support for GDB 7.5 release and change all packrecords to C
git-svn-id: trunk@22863 -
2012-10-27 22:41:19 +00:00
pierre
3915b8e7f9 Only consider -l option if -l is at start of argument
git-svn-id: trunk@22862 -
2012-10-27 21:58:24 +00:00
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
tom_at_work
7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
tom_at_work
7b6bcd315f Pass FPCOPT to fpmkunit and fpmake compilation. This prevents build errors of these programs if the given FPCOPT options of the previously compiled RTL are incompatible to default options. Regenerated associated makefiles.
git-svn-id: trunk@22080 -
2012-08-14 19:09:17 +00:00
pierre
1759d5fc8e Correctly handle implicitlibs="c gcc"
git-svn-id: trunk@21451 -
2012-06-01 14:28:41 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
joost
f8ab6e8adb * The hack calling ResolveFileNames directly does not work anymore
git-svn-id: trunk@20761 -
2012-04-08 19:25:56 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
4f752004c3 Adapt to OpenBSD
git-svn-id: trunk@20650 -
2012-03-29 12:54:39 +00:00
pierre
5262fbc77c * Add relocate_gdb_directory to avoid loading of main.o from libgdb.a
git-svn-id: trunk@20649 -
2012-03-29 12:54:09 +00:00
pierre
bc0c98f88a * Fix cross win32 to go32v2 gdbver run
git-svn-id: trunk@20443 -
2012-02-29 10:51:19 +00:00
joost
5f1409253a * Changed gdbver-binary output path to make it work with both packages/fpmake
and gdbint/fpmake

git-svn-id: trunk@20286 -
2012-02-09 15:08:00 +00:00
pierre
b3c246e9f6 + Use MAKE and AWK variables to try to find GNU make and GNU awk
if available.
 + Add dexplicit building rule for libgdb.a
   This library is not generated automatically anymore after 7.4 release.
 + Only handle '-l' if it is at start of argument.

git-svn-id: trunk@20168 -
2012-01-25 07:42:40 +00:00
pierre
14edbfe855 + Handle gdblib.inc include file in GDBLibDir
git-svn-id: trunk@20167 -
2012-01-25 07:26:07 +00:00
pierre
bf321b72c7 * Try to fix go32v2 problems related to DJGPP code using C free on _environ ppchar by reallcating with malloc
git-svn-id: trunk@20111 -
2012-01-19 14:01:47 +00:00
pierre
a088820cfe * Try to fix problem with gdbver executable
git-svn-id: trunk@20110 -
2012-01-19 13:59:43 +00:00
joost
ee8268dd7f * Do not use a buildunit when compiling intgdb, since it is not possible to compile single files in the BeforeCompile even when a buildunits is used.
* Add the .exe extension to gdbver(.exe) on Windows.

git-svn-id: trunk@20105 -
2012-01-18 18:12:18 +00:00
pierre
0ad800b2db + Add some comments and follow main.c more closely
git-svn-id: trunk@20097 -
2012-01-16 22:12:06 +00:00
joost
68d9066200 * Changed more packages to fpmake building
git-svn-id: trunk@20089 -
2012-01-15 18:26:19 +00:00
joost
4795192b50 * Add package prefix when generating gdbver.inc
git-svn-id: trunk@20039 -
2012-01-10 17:03:49 +00:00
joost
073688f7cb * fpmake now builds gdbint for the same targets as fpcmake does
git-svn-id: trunk@19990 -
2012-01-06 22:38:41 +00:00
pierre
3da5c78e30 * Use xvasprintf instead od xstrvprintf as the later only appeared in GDB 6.2
* Also auto-reply to 'Discard symbol table' query if reset_command is true.

git-svn-id: trunk@19875 -
2011-12-19 13:01:49 +00:00
pierre
37a7332b81 Try to improve script
git-svn-id: trunk@19832 -
2011-12-12 16:48:37 +00:00
pierre
6140a41007 * Try to support upcoming GDB 7.4 version
git-svn-id: trunk@19831 -
2011-12-12 16:48:14 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
pierre
c86e36a53b Avoid warning on non-i386 CPUs
git-svn-id: trunk@19594 -
2011-11-03 16:38:28 +00:00
pierre
0eb0415194 * Fix longstanding confusion between two gdb functions catch_errors and catch_command_errors fix led to random from_tty parameter value
git-svn-id: trunk@19593 -
2011-11-03 16:31:56 +00:00
pierre
7d867d16bc Fix problem with QueryHook leading to crashes
git-svn-id: trunk@19525 -
2011-10-21 16:19:32 +00:00
florian
d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
joost
8c03cf38c7 * Added detection of gdb-version to fpmake
git-svn-id: trunk@18095 -
2011-08-04 19:19:06 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
pierre
c22c58b3a5 * Avoid double freeing of frames with zero size as it creates a problem with heaptrc unit
git-svn-id: trunk@17271 -
2011-04-08 11:40:42 +00:00
pierre
a41260fdf6 * Correct last patch for 7.0 case
git-svn-id: trunk@17087 -
2011-03-07 11:04:32 +00:00
pierre
084a274c5e * Fix gdbint for releases 7.1 7.2 and 7.3
git-svn-id: trunk@17086 -
2011-03-07 10:48:32 +00:00
pierre
110e3a6988 * improve script
git-svn-id: trunk@16453 -
2010-11-26 23:35:34 +00:00
pierre
041720e285 * Also recognize mingw gdb on -D__USE_MINGW_ACCESS option
git-svn-id: trunk@16319 -
2010-11-10 10:10:53 +00:00
pierre
9f46b931e2 * Extract implicit libraries from ifdef NotImplemented
to enable use of gdblib.inc file without addition of these
   implicit libraries
 * Add win64 library list
 * Increase jmp_buf size to 16*sizeof(longint), value used in mingw headers

git-svn-id: trunk@16315 -
2010-11-08 15:43:56 +00:00
pierre
64af782aca * Try to compile with mingw64 gdb
git-svn-id: trunk@16314 -
2010-11-08 15:37:09 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
pierre
8b874e0646 * Try to get script to work for freebsd
git-svn-id: trunk@15892 -
2010-08-24 14:24:17 +00:00
pierre
7d5e69ee14 * fix current_address type
* add python_libdir global cvar to avoid linking main.o from libgdb.a

git-svn-id: trunk@15889 -
2010-08-24 13:17:37 +00:00
pierre
a2d12c557d Use ptrint to cast a pointer to an integer
git-svn-id: trunk@15888 -
2010-08-24 13:15:18 +00:00
pierre
d227a9799b * add batch_flag to avoid libgdb.a/main.o integration
git-svn-id: trunk@15214 -
2010-05-03 14:29:19 +00:00
marco
94eae61a31 * fixed escaping of echo line. (mingw). Mantis 16335
git-svn-id: trunk@15170 -
2010-04-25 09:49:26 +00:00
pierre
d05cefe03a + add NO_GDBLIBINC variable to be able to disable use of -dUSE_GDBLIBINC
git-svn-id: trunk@14813 -
2010-01-27 12:30:35 +00:00
pierre
55cffbef12 * Update Makefiles
git-svn-id: trunk@14385 -
2009-12-10 08:36:52 +00:00
pierre
c02c000ddb * also define GDB_CVS if version contains cvs substring
git-svn-id: trunk@14381 -
2009-12-09 23:43:02 +00:00
pierre
08f3fdd828 * handle post 7.0 CVS diffs in structs
git-svn-id: trunk@14380 -
2009-12-09 23:41:55 +00:00
pierre
567d99b9c1 * more bp_location fixes
git-svn-id: trunk@14378 -
2009-12-09 15:29:19 +00:00
pierre
b49a438933 BP_LOCATION is used from 6.6
git-svn-id: trunk@14377 -
2009-12-09 14:53:00 +00:00
pierre
c519c3cb2e + bp_location struct added
git-svn-id: trunk@14376 -
2009-12-09 14:32:19 +00:00
pierre
d08b9e53bd solaris support and python first try
git-svn-id: trunk@14375 -
2009-12-09 10:44:44 +00:00
pierre
cec309e7be * also accept cc as compiler
git-svn-id: trunk@14374 -
2009-12-09 10:43:54 +00:00
pierre
5c2749d8ab * improve DJGPP output
git-svn-id: trunk@14161 -
2009-11-12 21:05:19 +00:00
pierre
5bc3c1f53d * Improve script to generate gdblib.inc
git-svn-id: trunk@14154 -
2009-11-12 16:24:58 +00:00
pierre
da59236bb3 + Script to generate libgdb directory
git-svn-id: trunk@14149 -
2009-11-11 21:41:24 +00:00
pierre
aedf395fbe * fix some conditional ordering
git-svn-id: trunk@14072 -
2009-11-05 23:48:59 +00:00
pierre
ba555a64c7 * be sure to delete src/gdbver.inc after use for cross compilation
git-svn-id: trunk@14071 -
2009-11-05 22:52:29 +00:00
pierre
b51ef19a68 * Try to fix the target_kill linking error
git-svn-id: trunk@14070 -
2009-11-05 22:51:28 +00:00
pierre
e7b84911dd + Define COMPILING_GDBINT_UNIT before including gdblib.inc file
git-svn-id: trunk@14062 -
2009-11-04 23:32:12 +00:00
pierre
eb7150e727 * add new fields to symtab_and_line record
git-svn-id: trunk@14036 -
2009-11-04 00:47:25 +00:00
pierre
409137bc44 * add missing directory for gdbcon.pp source
git-svn-id: trunk@14035 -
2009-11-04 00:31:20 +00:00
pierre
a0b8dbcce5 * use -dUSE_MINGW_GDB for gdbcon unit also
git-svn-id: trunk@14034 -
2009-11-04 00:28:57 +00:00
pierre
f1ea3f3ffe * added required gdb_datadir variable
git-svn-id: trunk@14033 -
2009-11-03 23:56:23 +00:00
pierre
11f73d1d7f * suppress VarArgs from QueryHook function
git-svn-id: trunk@14031 -
2009-11-03 23:30:51 +00:00
pierre
22ae7cdc3a * fix last commit
git-svn-id: trunk@14030 -
2009-11-03 23:25:56 +00:00
pierre
3a96d163fd + Add mingw unit
git-svn-id: trunk@14025 -
2009-11-03 22:43:08 +00:00
pierre
45b652581a + Add support for gdblib.inc file in libgdb directory
git-svn-id: trunk@14024 -
2009-11-03 22:30:15 +00:00
pierre
1992daedd5 + Add support for GDB 7.0.
git-svn-id: trunk@14021 -
2009-11-03 22:16:29 +00:00
pierre
de0f1b2866 * Add start_break_number field to TGDBController object
git-svn-id: trunk@14019 -
2009-11-03 22:08:11 +00:00
mazen
25788f1b52 * Added support of libgdb V608.
git-svn-id: trunk@13973 -
2009-10-30 11:28:09 +00:00
florian
1b04684d78 o more MingW support, see also discussion of #7412:
+ automatic detection of MingW libgdb
  + additional libraries

git-svn-id: trunk@13652 -
2009-09-05 17:05:26 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
Jonas Maebe
e246cac3ac * regenerated using latest fpcmake
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
marco
3ffd12f9fb * breakage due to fields after methods change fixed.
git-svn-id: trunk@13336 -
2009-06-27 13:43:50 +00:00
marco
c0aa309cde * Fix for gdb66/mingw (general?) program reset issue. Instructs GDB to turn confirmation off. Mantis 0011968
git-svn-id: trunk@13158 -
2009-05-17 12:43:57 +00:00
marco
55bf970d0b * small mingw related fixes.
git-svn-id: trunk@13153 -
2009-05-16 12:00:51 +00:00
marco
6eeab240ba * preparation for mingw debug info, Mantis 11968 as researched by Mario Mahardhika
git-svn-id: trunk@13131 -
2009-05-10 19:54:43 +00:00
peter
2916256b2c * change externalurl to homepageurl
git-svn-id: trunk@12170 -
2008-11-18 23:58:52 +00:00
marco
2bbe4590db * Another batch of manifests added to the respective fpmakes. Until httpd22.
git-svn-id: trunk@11975 -
2008-10-26 20:18:05 +00:00
marco
1295c499c9 * More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix.

git-svn-id: trunk@11949 -
2008-10-22 22:08:05 +00:00
marco
e5db5e4aa8 * regened makefiles to propagate makefile versions
git-svn-id: trunk@11947 -
2008-10-22 17:32:15 +00:00
marco
3591d54f24 * updated all makefile.fpc versions to 2.2.2 for fppkg compat.
git-svn-id: trunk@11945 -
2008-10-22 17:19:13 +00:00
peter
7b188a6a0e * reset version to latest release: 2.2.2-0
git-svn-id: trunk@11907 -
2008-10-17 18:36:45 +00:00
Jonas Maebe
9d8bee1887 * regenerated with changes in r11233
git-svn-id: trunk@11234 -
2008-06-15 15:52:25 +00:00
giulio
14d4f02fa0 * fixed fpc_zipinstall for go32v2 and the like
* makefiles regenerated

git-svn-id: trunk@11180 -
2008-06-03 14:01:09 +00:00
Tomas Hajny
77581bedd1 * makefiles regenerated with newer fpcmake
git-svn-id: trunk@11107 -
2008-05-28 06:34:32 +00:00
Jonas Maebe
b6c43bad7d * regenerated for i386-Haiku and darwin cross compilation changes
git-svn-id: trunk@11073 -
2008-05-24 09:29:08 +00:00
micha
0b2f80a38b * regenerate Makefiles to get armeb-linux support globally (also arm-darwin, so it seems)
git-svn-id: trunk@10888 -
2008-05-05 18:46:55 +00:00
micha
b0838b13d7 * add armeb target to compiler/Makefiles
git-svn-id: trunk@10552 -
2008-03-24 17:48:11 +00:00
florian
9edab963df * regenerated
git-svn-id: trunk@10299 -
2008-02-11 16:00:36 +00:00
florian
4056064f83 * fixed cross compilation
git-svn-id: trunk@10297 -
2008-02-11 15:35:59 +00:00
peter
f993b1efc9 * fix src/gdbint.pp for cross compiling
git-svn-id: trunk@10205 -
2008-02-04 19:13:19 +00:00
peter
601bc7345e * missing src/ for gdbint build with gdbver found
git-svn-id: trunk@10067 -
2008-01-27 18:04:11 +00:00
marco
4589df16b0 * gdbint moved
git-svn-id: trunk@9951 -
2008-01-26 18:18:09 +00:00
peter
6da3bb9300 * packages reorganization 2002-01-29 17:37:42 +00:00
peter
5f2e0cc5e3 * regenerated 2002-01-27 21:47:54 +00:00
pierre
1bf879848a * fix problem with 5.0 lib version 2002-01-25 22:39:29 +00:00
pierre
a385c6c6cc + add subversion for version output 2002-01-25 08:56:50 +00:00
pierre
1ebf70957c * fix go32v2 compilation for gdb 5.1 2002-01-24 12:31:51 +00:00
pierre
43d0fa7bf5 * adapt to GDB 5.1 2002-01-24 09:14:39 +00:00
pierre
4550770176 * avoid problem if gdb start generates output 2002-01-07 10:31:57 +00:00
peter
0816ae4006 * regenerated 2002-01-06 21:59:08 +00:00
marco
7866897343 * BSDhier fix to fpcmake.ini + makefile update. 2001-12-11 10:39:53 +00:00
peter
aff68fdfd4 * asw support 2001-10-18 20:55:18 +00:00
peter
ec9e4f4556 * fpc -PB instead of -P?
* check if fpc exists if not found fallback to ppc386
2001-10-16 20:52:34 +00:00
peter
6f2baf0fcf * regenerated 2001-10-14 21:43:09 +00:00
pierre
4679852c88 + define inferior_pid as a function for 5.01 2001-09-19 15:25:56 +00:00
pierre
e86d3007c8 New 2001-09-11 10:24:46 +00:00
pierre
597bfbf009 + NetBSD support 2001-09-11 10:22:36 +00:00
pierre
122947814d * Hack to allow to recognize CVS version as 5.01 2001-09-11 10:22:09 +00:00
peter
6e3bcf7133 * regenerated 2001-08-30 20:18:30 +00:00
peter
7aff068a92 * delete gdbver[.exe|.o] 2001-08-30 20:09:53 +00:00
peter
b34e51e7f6 * regenerated 2001-08-22 20:49:14 +00:00
peter
3e41bf3597 * Regenerated 2001-08-02 20:55:49 +00:00
peter
68ed130f45 * install Package.fpc 2001-07-31 22:02:11 +00:00
pierre
41e14de113 + first lines to support coming 5.1 release 2001-07-31 15:42:11 +00:00
peter
e5add358e2 * cygwin updates 2001-07-13 22:05:02 +00:00
peter
47f3d1e902 * Regenerated 2001-06-07 21:25:57 +00:00
peter
3fc45a47d2 * Win32 fixes for Makefile so it doesn't require sh.exe 2001-06-06 21:58:16 +00:00
peter
951851e866 * Regenerated 2001-06-04 21:44:30 +00:00
peter
4eb94da6ac * gecho, gdate fixes
* distinstall target rewrite to not install things twice
2001-05-30 21:39:06 +00:00
peter
293d6a1671 * Makefile fixes 2001-05-03 21:35:04 +00:00
peter
7b9b157103 * regenerated 2001-04-25 22:45:40 +00:00
marco
585bfc5781 * Freebsd fix 2001-04-20 18:43:00 +00:00
peter
d0d1b0a16a * small output fix so it won't trigger an error in the snapshot
scripts
2001-04-11 12:35:34 +00:00
peter
a1c19a463c * regenerated 2001-04-10 23:30:02 +00:00
peter
02af030262 * check for libgdb.a
* slightly better gdbver.exe generation
2001-04-10 21:05:21 +00:00
peter
96ba65165b * new file 2001-04-08 11:44:01 +00:00
peter
85a15f1788 * merged changes from fixes branch 2001-04-08 11:43:39 +00:00
peter
3c54458903 * regenerated 2001-02-24 10:46:41 +00:00
peter
3c2db9436f * regenerated 2001-02-22 21:15:03 +00:00
peter
e32556ca16 * regenerated for cygwin32 support 2001-02-20 21:59:59 +00:00
peter
3dad8c73a5 * regenerated 2001-02-02 22:41:11 +00:00
peter
d65ec7ac1c * default.fpcdir is back
* subdir requirement checking works, but not very optimal yet as
    it can load the same Makefile.fpc multiple times
2001-02-01 22:00:03 +00:00
peter
144161708e * regenarated 2001-01-30 21:56:49 +00:00
peter
53ed82759a * regenarated 2001-01-30 20:41:19 +00:00
peter
d9b97cc5bf * New FPCMake update 2001-01-29 21:52:17 +00:00
marco
41648a95f7 * renamefest in packages 2001-01-21 21:38:52 +00:00
peter
cd494453ca * regenerated 2000-12-19 21:17:35 +00:00
peter
b8a008b31c * regenerated 2000-10-26 23:03:50 +00:00
peter
a694ab21b1 * merged fixes from Pierre 2000-10-08 10:07:22 +00:00
peter
93b4bc7d16 * regenerated 2000-10-01 21:05:03 +00:00
peter
2b01b55217 * regenerated 2000-09-27 21:10:31 +00:00
peter
20a3fba0fb * regenerated 2000-09-20 19:50:28 +00:00
peter
d711221036 * regenerated 2000-09-01 21:58:14 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
pierre
a1c21be436 * avoid smartlinking 2000-07-11 08:12:18 +00:00
peter
8b38902424 * exampleinstall target added 2000-07-01 23:03:18 +00:00
peter
8e4522215a * smart,shared lib including for rpm/deb 2000-05-26 20:50:09 +00:00
pierre
35f5e513a5 * call DoSelectSourceLine even if fn is empty 2000-04-14 05:37:33 +00:00
peter
6ea5534991 * added extra ifdef to check if there are some objects else some
targets aren't added anymore
2000-04-11 15:34:47 +00:00
pierre
09cc55953c + inferior_pid moved to interface 2000-03-07 10:39:59 +00:00
peter
a2318ce5ec * regenerated 2000-02-09 14:29:22 +00:00
peter
2eb25f4422 * regenerated 2000-02-08 00:09:21 +00:00
pierre
7208c18216 + Get_current_frame and Set_current_frame 2000-02-06 22:32:45 +00:00
peter
dfca2834a9 * regenerated 2000-01-28 12:17:02 +00:00
peter
16bcf1dd2c * regenerated 2000-01-26 21:19:49 +00:00
peter
61e04d8e80 * regenerated 2000-01-18 20:58:37 +00:00
peter
206ae47ad5 * regenerate for win32 fix 2000-01-18 00:25:15 +00:00
peter
c888816ce9 * use env var again for win32 2000-01-16 22:24:19 +00:00
peter
aadec7d674 * package generation fixes 2000-01-14 12:16:40 +00:00
peter
ffaf1b5adc * regenerated 2000-01-13 21:15:26 +00:00
peter
d2529529f5 * regenerated for new package deps 2000-01-13 11:40:51 +00:00
peter
03f93fb547 * regenerated to support gecho and win32 fpcext.cmd fixes 2000-01-12 23:26:13 +00:00
peter
55ce17b756 * regenerated, win32 uses fpcext.cmd file to pass options instead of
environment
  * packagename support
2000-01-10 23:02:21 +00:00
peter
44ff14bd7d * fixed crash in getaddrsyminfo with symfync=nil 2000-01-10 11:14:42 +00:00
peter
fc6ef73478 * regenerated to support auto rtl compiling 2000-01-06 15:52:54 +00:00
peter
c1fabab00b * FPCDIR setting/detect
* lot of other updates to create .deb files correctly
2000-01-06 01:29:48 +00:00
peter
e3c8963279 * Makefile updates again 2000-01-04 00:00:14 +00:00
peter
2b4221b9b2 * regenerated 2000-01-03 19:42:36 +00:00
peter
3d6a9e3519 * moved symify to examples 2000-01-03 19:38:47 +00:00
peter
8baf3100ca * fixed exporting of variables which are declared by commandline or
set in the Makefile itself
1999-12-24 15:25:50 +00:00
peter
926aa3030b * regenerated 1999-12-23 19:43:59 +00:00
peter
eef7f751b0 * regenerated 1999-12-22 01:09:18 +00:00
peter
602b295aaf * zipinstall fixes 1999-12-21 16:09:12 +00:00
peter
005e98fb55 * fpcmaked -> fpcmade.<TARGET> 1999-12-19 15:16:39 +00:00