Age | Commit message (Collapse) | Author | Files | Lines |
|
hp_symbol_characters inside...
* cplus-dem.c: Move declarations of standard_symbol_characters and
hp_symbol_characters inside #ifdef MAIN to avoid compiler
warnings.
From-SVN: r30175
|
|
change it to EMPTY_ENTRY first.
1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
* hashtab.c (find_hash_table_entry): When returning a
DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
(clear_hash_table_slot): New function which deletes an entry
by its position in the table, not its value.
(traverse_hash_table): New function which calls a hook
function for every live entry in the table.
* hashtab.h: Give hash_table_t a struct tag. Add prototypes
for clear_hash_table_slot and traverse_hash_table. Correct
prototype of all_hash_table_collisions.
From-SVN: r30138
|
|
* cplus-dem.c (INTBUF_SIZE): New macro.
(string_append_template_idx): New function.
(demangle_expression): Likewise.
(demangle_integral_value): Use it.
(demangle_real_value): New function, split out from ...
(demangle_template_value_parm): ... here. Use
string_append_template_idx. Use demangle_real_value.
(demangle_template): Use string_append_template_idx.
(demangle_qualified): Use consume_count_with_underscores.
(get_count): Tweak formatting.
(do_type): Use string_append_template_idx.
From-SVN: r30091
|
|
From-SVN: r30069
|
|
From-SVN: r30067
|
|
* Makefile.in (CFILES): Add hashtab.c
(REQUIRED_OFILES): Add hashtab.o
(hashtab.o): Add dependencies.
* hashtab.c: New file
From-SVN: r30012
|
|
* basename.c (DIR_SEPARATOR): New macro.
(DIR_SEPARATOR_2): Likewise.
(HAVE_DOS_BASED_FILESYSTEM): Likewise.
(IS_DIR_SEPARATOR): Likewise.
(main): Handle MSDOS style pathname.
From-SVN: r29937
|
|
classes have namespace scope.
* cplus-dem.c (do_type): Handle pointer to member types whose
enclosing classes have namespace scope.
From-SVN: r29901
|
|
From-SVN: r29883
|
|
* xmalloc.c (xmalloc): Fix spelling error.
(xcalloc, xrealloc): Likewise.
From-SVN: r29779
|
|
* cplus-dem.c (fancy_abort, demangle_integral_value,
demangle_arm_hp_template, recursively_demangle,
standard_symbol_characters, hp_symbol_characters, main): Add prototype.
(program_name, program_version, fatal): Constify a char*.
(usage, fatal): Mark with ATTRIBUTE_NORETURN.
(main): Call return, not exit.
From-SVN: r29776
|
|
* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
or <alloca.h>.
* clock.c (GNU_HZ): New definition.
(clock): Use it.
* getruntime.c: Likewise.
* config.table: Use mh-beos.
* config/mh-beos: New file.
From-SVN: r29680
|
|
include:
* libiberty.h (make_temp_file): Add a prototype.
libiberty:
* choose-temp.c: Remove obsolete comment about gcc.
(make_temp_file): Constify a char*.
gcc:
* collect2.c (make_temp_file): Don't prototype.
* gcc.c (make_temp_file): Likewise.
* mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
From-SVN: r29662
|
|
From-SVN: r29218
|
|
* xmemdup.c: New xmemdup function.
* Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
From-SVN: r29199
|
|
* config.table: Add openedition target.
* config/mh-openedition: New file.
From-SVN: r29188
|
|
From-SVN: r29053
|
|
From-SVN: r29013
|
|
* Makefile.in (CFILES): Add calloc.c and getpwd.c.
(REQUIRED_OFILES): Add getpwd.o.
(getpwd.o): Add target.
* configure.in (AC_PREREQ): Bump to 2.13.
(AC_CHECK_HEADERS): Add check for <sys/stat.h>.
* getpwd.c: New file, moved here from gcc.
From-SVN: r28996
|
|
* cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
comparing against a signed quantity.
(arm_special): Likewise.
(demangle_fund_type): Likewise.
(do_hpacc_template_const_value): Mark parameter `work' with
ATTRIBUTE_UNUSED.
(main): Constify variable `valid_symbols'.
From-SVN: r28859
|
|
From-SVN: r28819
|
|
and tooldir.
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc
From-SVN: r28569
|
|
From-SVN: r28389
|
|
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
From-SVN: r28269
|
|
* argv.c: Include stdlib.h and string.h instead of
prototyping directly.
* choose-temp.c: Conditionally include string.h.
From-SVN: r28099
|
|
From-SVN: r28071
|
|
From-SVN: r28003
|
|
* Makefile.in (needed-list): Only include stuff we actually need
for libstdc++.
From-SVN: r27999
|
|
From-SVN: r27737
|
|
* setenv.c (sys/types.h, stdio.h): Files included.
* xstrdup.c (sys/types.h): File included.
For the gcc-2.95 branch only. Not to be migrated into the mainline tree
because it is incomplete.
From-SVN: r27736
|
|
* configure.in (checkfuncs): Add gettimeofday.
* config.in, configure: Regenerated.
From-SVN: r27647
|
|
p
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
the test fails.
* configure: Regenerate.
From-SVN: r27642
|
|
�
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
the test fails.
* configure: Regenerate.
From-SVN: r27641
|
|
Mike Stump <mrs@wrs.com>
* Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
parallel builds.
From-SVN: r27477
|
|
* putenv.c: Include ansidecl.h to define `const'.
* setenv.c: Likewise.
From-SVN: r27221
|
|
From-SVN: r27172
|
|
* Makefile.in (CFILES): Add putenv.c and setenv.c.
* configure.in (funcs): Add putenv and setenv.
(AC_CHECK_FUNCS): Check for putenv and setenv.
* configure: Rebuilt.
* putenv.c setenv.c: New files.
[[Split portion of a mixed commit.]]
From-SVN: r27162.2
|
|
using malloc.
P
* getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
bytes of space using malloc.
From-SVN: r27161
|
|
using malloc.
�
* getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
bytes of space using malloc.
From-SVN: r27160
|
|
pointer beyond the end of the string.
* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
the *mangled pointer beyond the end of the string. Clean up code to
match prevailing coding style.
From-SVN: r26959
|
|
From-SVN: r26921
|
|
* cplus-dem.c (standard_symbol_characters): Renamed from
standard_symbol_alphabet. No longer modify TABLE.
(hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
modify TABLE.
(main): Corresponding changes. Use strchr to determine if a
character is valid.
From-SVN: r26912
|
|
From-SVN: r26888
|
|
from non-identifier...
* cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
From-SVN: r26887
|
|
Fred Fish <fnf@be.com>
* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
are defined.
From-SVN: r26808
|
|
* configure.in (alloca detection): Handle alloca directly for interix.
* configure: Rebuilt.
From-SVN: r26635
|
|
From-SVN: r26619
|
|
From-SVN: r26563
|
|
* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
reallocated properly if we use it again.
* cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
stricter about syntax. Always null-terminate string.
From-SVN: r26562
|
|
* configure.in (checkfuncs): Check for sbrk.
* config.in: Rebuilt.
* configure: Likewise.
* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
From-SVN: r26480
|