diff options
author | gdbadmin <gdbadmin@sourceware.org> | 2010-09-01 01:51:07 +0000 |
---|---|---|
committer | gdbadmin <gdbadmin@sourceware.org> | 2010-09-01 01:51:07 +0000 |
commit | a1723c35ac1fdb9cd0f250546c914122ad39f8c3 (patch) | |
tree | 4845de8bff4c6db56119d8dc665a87b0c6577936 /gdb/gdbserver/config.in | |
parent | 86c80b5af02e66b2d4129c00e0088cb55000dfdb (diff) | |
download | binutils-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.zip binutils-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.tar.gz binutils-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.tar.bz2 |
include alloca.h if available.
On LynxOS, alloca is defined in allocal.h. This fixes one warning that
occurs when building GDBserver for LynxOS.
gdb/gdbserver/ChangeLog:
* configure.ac: Add configure check for alloca.
* configure, config.in: Regenerate.
* server.h: Include alloca.h if it exists.
* gdbreplay.c: Include alloca.h if it exists.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r-- | gdb/gdbserver/config.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index c547776..a6a9704 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -1,5 +1,20 @@ /* config.in. Generated from configure.ac by autoheader. */ +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + /* Define to 1 if you have the <arpa/inet.h> header file. */ #undef HAVE_ARPA_INET_H @@ -184,6 +199,14 @@ /* Bug reporting address */ #undef REPORT_BUGS_TO +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS |