old-cross-binutils/gdb/common
Tom Tromey 3266f10be2 introduce common.m4
It has bothered me for a while that files in common/ use macros
defined via autoconf checks, but rely on each configure.ac doing the
proper checks independently.

This patch introduces common/common.m4 which consolidates the checks
assumed by code in common.

The rule I propose is that if something is needed or used by common,
it should be checked for by common.m4.  However, if the check is also
needed by gdb or gdbserver, then it should be duplicated there.

Built and regtested on x86-64 Fedora 18 (though this is hardly the
most strenuous case) and using the Fedora 18 mingw cross compilers.  I
also examined the config.in diffs to ensure that symbols did not go
missing.

2013-11-08  Tom Tromey  <tromey@redhat.com>

	* acinclude.m4: Include common.m4.
	* common/common.m4: New file.
	* configure, config.in: Rebuild.
	* configure.ac: Use GDB_AC_COMMON.

2013-11-08  Tom Tromey  <tromey@redhat.com>

	* acinclude.m4: Include common.m4, codeset.m4.
	* configure, config.in: Rebuild.
	* configure.ac: Use GDB_AC_COMMON.
2013-11-08 12:29:26 -07:00
..
agent.c PR gdb/7912: 2013-04-22 16:46:15 +00:00
agent.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
ax.def Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
break-common.h gdb/ 2013-07-27 07:11:46 +00:00
btrace-common.h Add branch trace information to struct thread_info. 2013-03-11 08:17:08 +00:00
buffer.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
buffer.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
common-utils.c Move savestring to common/common-utils.c, make gdbserver use it. 2013-02-14 17:11:41 +00:00
common-utils.h Move savestring to common/common-utils.c, make gdbserver use it. 2013-02-14 17:11:41 +00:00
common.m4 introduce common.m4 2013-11-08 12:29:26 -07:00
create-version.sh gdb/ 2013-07-04 01:22:38 +00:00
filestuff.c Minor O_CLOEXEC optimization, "regression" fix 2013-10-09 16:00:54 +00:00
filestuff.h 2013-05-10 Joel Brobecker <brobecker@adacore.com> 2013-05-10 17:01:00 +00:00
format.c Handle '#' flag for printf of pointer types. 2013-08-13 16:05:23 +00:00
format.h * ada-lang.c (ada_read_renaming_var_value): Pass const 2013-03-12 17:39:45 +00:00
gdb_assert.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_dirent.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_locale.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_signals.h infrun debug output: print enum gdb_signal symbol names instead of POSIX signal names. 2013-10-25 14:02:59 +00:00
gdb_stat.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_string.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_thread_db.h Move fallback thread_db.h to a separate file. 2013-04-16 18:14:55 +00:00
gdb_vecs.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb_vecs.h gdb/ 2013-06-26 08:01:57 +00:00
gdb_wait.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
glibc_thread_db.h Update glibc_thread_db.h from upstream. 2013-04-16 18:17:11 +00:00
host-defs.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
i386-cpuid.h gdb: clean up x86 cpuid implementations 2013-06-19 22:29:36 +00:00
i386-gcc-cpuid.h gdb: clean up x86 cpuid implementations 2013-06-19 22:29:36 +00:00
i386-xstate.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
linux-btrace.c gdb: btrace: fix build errors on older glibc builds 2013-09-29 03:57:34 +00:00
linux-btrace.h Implement branch tracing on Linux based on perf_event such that it can be shared 2013-03-11 08:24:07 +00:00
linux-osdata.c Fix off-by-one errors in *scanf format strings. 2013-10-25 14:02:59 +00:00
linux-osdata.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
linux-procfs.c PR gdb/7912: 2013-04-22 16:46:15 +00:00
linux-procfs.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
linux-ptrace.c Always run the PTRACE_O_TRACESYSGOOD tests even if PTRACE_O_TRACEFORK is not supported. 2013-10-03 10:13:34 +00:00
linux-ptrace.h Unify ptrace options discovery code and make both GDB and 2013-08-22 23:46:30 +00:00
mips-linux-watch.c gdb/ 2013-07-27 07:49:05 +00:00
mips-linux-watch.h gdb/ 2013-07-27 07:49:05 +00:00
ptid.c Clean up ptid.h/ptid.c. 2013-10-04 10:04:14 +00:00
ptid.h Clean up ptid.h/ptid.c. 2013-10-04 10:04:14 +00:00
queue.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
signals.c infrun debug output: print enum gdb_signal symbol names instead of POSIX signal names. 2013-10-25 14:02:59 +00:00
vec.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
vec.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
version.h don't keep a gdb-specific date 2013-06-24 15:06:27 +00:00
xml-utils.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
xml-utils.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00