binutils-gdb/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
ax.def
break-common.h
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
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
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
gdb_assert.h Move common-utils.h to common-defs.h 2014-08-07 09:06:44 +01:00
gdb_locale.h
gdb_setjmp.h Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
gdb_signals.h
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
gdb_wait.h
host-defs.h
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
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
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
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
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