Commit Graph

183 Commits

Author SHA1 Message Date
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