diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-07 18:30:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-07 18:30:39 +0000 |
commit | f0bbf79aea89403d07798c118e640bb6e8f26c70 (patch) | |
tree | 98867715626ecec54b8ab93a3d255f00f8db658a /binutils | |
parent | 5cece5267784495835c2fb2fb4141612d4c3c02b (diff) | |
download | gdb-f0bbf79aea89403d07798c118e640bb6e8f26c70.zip gdb-f0bbf79aea89403d07798c118e640bb6e8f26c70.tar.gz gdb-f0bbf79aea89403d07798c118e640bb6e8f26c70.tar.bz2 |
Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
(NEED_DECLARATION_SBRK): New macro.
* configure, config.in: Rebuild.
* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 12 | ||||
-rw-r--r-- | binutils/acconfig.h | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ee48db6..11bc722 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,15 @@ +Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be> + + * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. + * acconfig.h (NEED_DECLARATION_STRSTR): New macro. + (NEED_DECLARATION_SBRK): New macro. + * configure, config.in: Rebuild. + * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. + (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. + + * prdbg.c (pr_end_struct_type): Avoid using a string constant in + assert, for the benefit of broken assert macros. + Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian@cygnus.com> * objdump.c (disassemble_data): Set disasm_info.flavour from diff --git a/binutils/acconfig.h b/binutils/acconfig.h index bcd47f0..a3e0eab 100644 --- a/binutils/acconfig.h +++ b/binutils/acconfig.h @@ -1,6 +1,12 @@ +/* Whether strstr must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_STRSTR + /* Whether fprintf must be declared even if <stdio.h> is included. */ #undef NEED_DECLARATION_FPRINTF + +/* Whether sbrk must be declared even if <unistd.h> is included. */ +#undef NEED_DECLARATION_SBRK @TOP@ /* Is the type time_t defined in <time.h>? */ |