Commit Graph

25 Commits

Author SHA1 Message Date
pierre
659e372ee6 Add gdb_get_stdout and gdb_get_stderr function to gdb_get_stdin.c source
git-svn-id: trunk@35559 -
2017-03-11 08:22:41 +00:00
pierre
51d849ae3b Handle collect2 -plugin option and avoid error output on non-existing gdb.exe
git-svn-id: trunk@32221 -
2015-11-02 15:07:33 +00:00
pierre
938c797a0d Fix error in last commit opthandled -> opt_handled; Add FORCEAWK option to overrule AWK found in Makefile
git-svn-id: trunk@31827 -
2015-09-25 13:44:23 +00:00
pierre
4cb5a35228 Add removedir= argument; use cd ; pwd -P to obtain absolute path; use defs.h header in gdb_get_stdin.c source
git-svn-id: trunk@31816 -
2015-09-24 15:34:21 +00:00
pierre
3530328cfd Allow to impose variable value as parameter (like AWK, as mawk from Makefile does not work)
git-svn-id: trunk@28950 -
2014-10-31 11:17:44 +00:00
pierre
6c8a00224f Add code to define DISABLE_CPU_FEATURES_INIT, if mingw GDB executable does not contain it
git-svn-id: trunk@28940 -
2014-10-27 22:14:23 +00:00
pierre
5a2ed55af4 avoid gcc warning about old-style code in gdb_get_stdin
git-svn-id: trunk@28935 -
2014-10-26 23:01:06 +00:00
pierre
8db439a027 Add recognition of --enable-64-bit-bfd configure option, set GDB_CORE_ADDR_FORCE_64BITS conditional in this case
git-svn-id: trunk@26712 -
2014-02-07 16:46:23 +00:00
pierre
59d29b6c91 + Handler -dynamic-linker correctly, i.e.
skip next argument.
  + Add all library paths as $LIBRARYPATH and $OBJECTPATH
    at the end of gdblib.inc to be able to parse it
    directly in main fp.pas IDE program source
    (This solves the warning about crtbegin.o not found,
    at least for sparc-linux machine).

git-svn-id: trunk@24916 -
2013-06-19 10:48:31 +00:00
pierre
4892461009 Fix error in script about check if C compiler is GNU
git-svn-id: trunk@24911 -
2013-06-17 08:18:30 +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
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
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
pierre
1759d5fc8e Correctly handle implicitlibs="c gcc"
git-svn-id: trunk@21451 -
2012-06-01 14:28:41 +00:00
pierre
4f752004c3 Adapt to OpenBSD
git-svn-id: trunk@20650 -
2012-03-29 12:54:39 +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
37a7332b81 Try to improve script
git-svn-id: trunk@19832 -
2011-12-12 16:48:37 +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
8b874e0646 * Try to get script to work for freebsd
git-svn-id: trunk@15892 -
2010-08-24 14:24:17 +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
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