old-cross-binutils/gdb/common
Yao Qi 9c232dda88 Include alloca.h unconditionally
Since gnulib alloca module was imported, we can include alloca.h in
both gdb and gdbserver unconditionally, so this patch adds inclusion
of alloca.h in common-defs.h.  This patch also removes AC_FUNC_ALLOCA
in configure.ac because we don't need to check alloca any more.

This patch below is removed in fact.

  [RFA/commit] include alloca.h if available.
  https://www.sourceware.org/ml/gdb-patches/2010-08/msg00566.html

Since alloca.h is from gnulib now, we don't have to check malloc.h in
configure and include malloc.h in code.  This patch also remove them
too.

gdb:

2014-11-21  Yao Qi  <yao@codesourcery.com>

	* common/common-defs.h: Include alloca.h
	* configure.ac: Don't invoke AC_FUNC_ALLOCA.
	* configure: Re-generated.
	* defs.h: Remove code handling alloca.
	* utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined
	or not.

gdb/gdbserver:

2014-11-21  Yao Qi  <yao@codesourcery.com>

	* configure.ac: Don't invoke AC_FUNC_ALLOCA.
	(AC_CHECK_HEADERS): Remove malloc.h.
	* configure: Re-generated.
	* config.in: Re-generated.
	* server.h: Don't include alloca.h and malloc.h.
	* gdbreplay.c: Don't check HAVE_ALLOCA_H is defined.
	Don't include malloc.h.
2014-11-21 22:05:41 +08:00
..
agent.c Rename target_{stop,continue}_ptid 2014-09-22 11:33:59 +01:00
agent.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
ax.def Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
break-common.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
btrace-common.h Do not include defs.h or server.h in any header file 2014-07-31 13:25:01 +01:00
buffer.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
buffer.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
cleanups.c Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
cleanups.h Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
common-debug.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
common-debug.h Introduce show_debug_regs 2014-09-11 11:19:56 +01:00
common-defs.h Include alloca.h unconditionally 2014-11-21 22:05:41 +08:00
common-exceptions.c Include cleanups.h in common-defs.h 2014-10-08 09:33:22 +01:00
common-exceptions.h Introduce common/common-exceptions.[ch] 2014-08-29 10:53:37 +01:00
common-regcache.h Introduce common-regcache.h 2014-09-12 10:11:42 +01:00
common-types.h Introduce common-types.h 2014-08-19 10:07:19 +01:00
common-utils.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
common-utils.h Introduce common/errors.h 2014-08-19 10:07:18 +01:00
common.m4 Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
create-version.sh Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
errors.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
errors.h Move internal_{,v}warning to common/errors.[ch] 2014-08-29 10:53:35 +01:00
filestuff.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
filestuff.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
format.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
format.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_assert.h Move common-utils.h to common-defs.h 2014-08-07 09:06:44 +01:00
gdb_locale.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_setjmp.h Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
gdb_signals.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_vecs.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
gdb_vecs.h Add delim_string_to_char_ptr_vec. 2014-01-17 10:23:29 -08:00
gdb_wait.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
host-defs.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
print-utils.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
print-utils.h share "cell" code 2014-02-12 09:59:13 -07:00
ptid.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
ptid.h Move ptid_match to common/ptid.c. 2014-02-27 14:30:07 +00:00
queue.h Include gdb_assert.h in common-defs.h 2014-08-07 09:06:45 +01:00
rsp-low.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
rsp-low.h update rsp-low comments 2014-02-12 09:59:20 -07:00
signals.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
symbol.h Introduce common/symbol.h 2014-09-11 11:43:21 +01:00
vec.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
vec.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
version.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
x86-xstate.h Rename 32- and 64-bit Intel files from "i386" to "x86" 2014-09-02 16:54:08 +01:00
xml-utils.c Include common-defs.h instead of defs.h/server.h in shared code 2014-09-12 10:11:42 +01:00
xml-utils.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00