]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
re PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parame...
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
336669e7
CW
12002-02-18 Carlo Wood <carlo@gnu.org>
2
3 PR c++/5390
4 * cplus-dem.c (demangle_integral_value): Accept multi-digit
5 numbers that do not start with an underscore; This is needed
6 for integer template parameters. This doesn't break anything
7 because multi-digit numbers are never followed by a digit.
8 * testsuite/demangle-expected: Corrected all mangled test
9 cases with multi-digit template parameters: g++ 2.95.x does
10 not generate underscores around these parameters.
11
c13db5d1
JM
122002-02-05 Jason Merrill <jason@redhat.com>
13
14 * cplus-dem.c (flags): Add DMGL_VERBOSE
15 (cplus_demangle_v3_p): Remove.
16 (demangle_it): Add DMGL_TYPES to passed flags.
17 * cp-demangle.c (cplus_demangle_v3_all): Remove.
18 (cplus_demangle_v3_type): Remove.
19 (cplus_demangle_v3): Add options parm.
20
d74697b8
L
212002-02-02 H.J. Lu (hjl@gnu.org)
22
23 * cp-demangle.c (cp_demangle_type): Do not protect with
24 IN_LIBGCC2.
25 (cplus_demangle_v3_all): New.
26 (cplus_demangle_v3): Call cplus_demangle_v3_all.
27 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
28
29 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
30 Initialized to cplus_demangle_v3.
31 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
32 of cplus_demangle_v3.
33 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
34 command line symbol.
35
36 * testsuite/regress-demangle: Pass the mangled name at the
37 command line.
38
3a441e38
L
392002-02-01 H.J. Lu <hjl@gnu.org>
40
41 * cp-demangle.c (cp_demangle_type): Call demangling_new with
42 DMGL_GNU_V3.
43
6d747e63
PE
442002-01-31 Phil Edwards <pme@gcc.gnu.org>
45
46 * cp-demangle.c: Revert yesterday's change.
47
46af757b
AM
482002-01-31 Adam Megacz <adam@xwt.org>
49
50 * gcc/libiberty/configure.in: Treat mingw the same as cywin
51 wrt HAVE_SYS_ERRLIST.
52
46ab74b1
PE
532002-01-30 Phil Edwards <pme@gcc.gnu.org>
54
55 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
56 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
57 cp_demangle_type.
58 * testsuite/demangle-expected: New gnu-v3 test.
59
e64d0626
MV
602002-01-22 Momchil Velikov <velco@fadata.bg>
61
62 * configure.in (variable detection): Use arrays of unspecified
63 size instead of plain integers.
64
9ce3f7e5
DD
652002-01-18 DJ Delorie <dj@redhat.com>
66
67 * Makefile.in (TESTLIB): New. This library is for future
68 testsuites.
69 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
70 break down by letter.
71 (REQUIRED_OFILES): List long-to-compile files first.
72 (maint-deps): New, target for updating dependencies.
73 (dependencies): Update.
74 * maint-tool: Add dependency-generating option.
75 * configure.in: Check for _doprnt even if we're not providing it.
76 * configure: Regenerate.
77
78 * _doprnt.c: Modifications to allow compiling on any platform.
79 * copysign.c: Likewise.
80 * putenv.c: Likewise.
81 * setenv.c: Likewise.
82 * vsprintf.c: Likewise.
83
0e83ceb1
DR
842002-01-15 Douglas B Rupp <rupp@gnat.com>
85
86 * mkstemps.c (mkstemps): On VMS, open temp file with option
87 that causes it to be deleted when closed.
88
adddf5bf
KG
892002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
90
5e65297b
KG
91 * cp-demangle.c (long_options): Const-ify.
92 * cplus-dem.c (long_options): Likewise.
93
adddf5bf
KG
94 * cplus-dem.c (mystrstr): Delete. All callers changed to use
95 strstr instead.
96
a4219437
IR
972001-12-31 Ira Ruben <ira@apple.com>
98
99 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
100 * configure: Regenerated.
af328d8d
DR
101
1022001-12-24 Douglas B. Rupp <rupp@gnat.com>
103
104 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
105 * configure: Regenerated.
a4219437 106
63de15a4
CR
1072001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
108
109 PR other/2719
110 * cplus-dem.c (consume_count): Treat negative count as an error.
111 * testsuite/demangle-expected: Added testcase.
112
ee262b6f
DR
113Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
114
115 * configure.in: Hardcode that vfork works on VMS host.
116 * configure: Regenerated.
117
d06ba3c7
RH
1182001-12-06 Richard Henderson <rth@redhat.com>
119
120 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
121 (cplus_demangle): Support no_demangling.
122
e490616e
ZW
1232001-11-27 Zack Weinberg <zack@codesourcery.com>
124
125 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
126 in libiberty context. Fix typo in leading comment.
127 * configure.in: Fix various AC_DEFINEs so autoheader works.
128 If any of vprintf, vsprintf, vfprintf is missing from libc,
129 then AC_REPLACE_FUNCS(_doprnt).
130
97e620cf 1312001-11-26 DJ Delorie <dj@redhat.com>
e490616e 132 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
133
134 * Makefile.in (stamp-h): Depend on Makefile for proper
135 serialization.
136 (*-subdir): Depend on config.h for proper serialization.
137
c3bb7df0
DD
1382001-11-26 DJ Delorie <dj@redhat.com>
139
140 * configure.in: Check for alloca.h (for regex.c and putenv.c).
141 * configure: Regenerate.
142 * config.h: Add HAVE_ALLOCA_H.
143
23850d35
KG
1442001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
145
2c47b56b
KG
146 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
147 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
148 is available.
23850d35 149
7ddfb651
JL
150Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
151
d3982b71
JL
152 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
153 * configure.in (HAVE_UINTPTR_T): Test for system defining
154 uintptr_t and define HAVE_UINTPTR_T appropriately.
155 * regex.c (uintptr_t): Do not provide a definition if the
156 system provided one.
157
7ddfb651
JL
158 * regex.c (PREFIX): Provide an alternate definition for
159 non-ANSI/ISO compilers.
160 (ARG_PREFIX): Likewise.
161
2e683037
JM
1622001-11-12 Jim Meyering <meyering@lucent.com>
163
164 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
165 this code would end up calling gettext even in packages built
166 with --disable-nls.
167 * getopt.c (_): Likewise.
168 * regex.c (_): Likewise.
169
f749bd83
AM
1702001-11-03 Alan Modra <amodra@bigpond.net.au>
171
172 * configure.in: Cope with missing makeinfo.
55a10d7c 173 * configure: Regenerate.
f749bd83 174
26ad2982
KG
1752001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
176
e5969ba6
KG
177 * hex.c (hex_init): Provide empty stub.
178
26ad2982
KG
179 * hex.c (hex_init): Delete.
180 (_hex_value): Const-ify and initialize at compile-time.
181
afb649d5
L
1822001-10-19 H.J. Lu <hjl@gnu.org>
183
184 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
185 necessary.
186
5bed56d9
DD
1872001-10-17 DJ Delorie <dj@redhat.com>
188
189 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
190 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 191 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
192 Improve manual formatting.
193 * functions.texi: Regenerate.
194
aac04c15
DD
1952001-10-15 DJ Delorie <dj@redhat.com>
196
197 * Makefile.in (TEXIFILES): Add fnmatch.txh.
198 (maint-undoc): New.
199 maint-tool: Add "undoc" tool.
200 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
201 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
202 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
203 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
204 documentation.
205 * fnmatch.txh: New.
206 * functions.texi: Regenerate.
fae8182a 207
0e4e9e8f
JM
2082001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
209
210 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
211 * strtod.c: Use "ISO C" instead of "ANSI C".
212 * functions.texi: Regenerate.
213
7f8fa05d
JM
2142001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
215
216 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
217 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
218 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
219 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
220 spelling. Give names to function arguments in documentation. Use
221 (void) prototypes in documentation.
222 * functions.texi: Regenerate.
223
0be6abca
KG
2242001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
225
226 * argv.c (buildargv, tests, main): Const-ify.
227 * cp-demangle.c (operator_code): Likewise.
228 * cplus-dem.c (optable, libiberty_demanglers,
229 cplus_demangle_set_style, cplus_demangle_name_to_style,
230 print_demangler_list): Likewise.
231 * hashtab.c (higher_prime_number): Likewise.
232 * strcasecmp.c (charmap): Likewise.
233 * strerror.c (error_info, strerror, main): Likewise.
234 * strncasecmp.c (charmap): Likewise.
235 * strsignal.c (signal_info): Likewise.
236
0e30ffc5
DD
2372001-09-29 DJ Delorie <dj@redhat.com>
238
239 * configure: Regenerate.
240
576fb787
KG
2412001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242
243 * concat.c: Include stdlib.h.
244
e922f978
EZ
2452001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
246
247 * libiberty.texi: (Top level): Add syncodeindex pg. Add
248 @dircategory and @direntry directives. Add @finalout.
249 (many nodes): Lose the next,prev,up pointers on the @nide line.
250 (Using, Supplemental Functions, Replacement Functions): Fix
251 markup.
252 (Functions): Move around, to allow makeinfo to build the manual
253 without next,prev,up pointers in thye node lines.
254 (Licenses): Fix typos.
255
256 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
257 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
258 * functions.texi: Regenerate.
259
260 * copying-lib.texi: Lose the next,prev,up pointers on the @node
261 line.
262
ae9092da
DD
2632001-09-27 DJ Delorie <dj@redhat.com>
264
265 * configure.in: Don't use in-tree texinfo, because libiberty must
266 be built before it. Check for makeinfo version 4 or higher.
267 * functions.texi: Regenerate.
fae8182a 268
aaa5f039
DD
2692001-09-20 DJ Delorie <dj@redhat.com>
270 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 271
aaa5f039
DD
272 * configure.in (MAKEINFO, PERL): Detect these.
273 (--enable-maintainer-mode): Add.
274 * configure: Regenerate.
275 * Makefile.in (MAKEINFO, PERL): Define.
276 (libiberty.info, libiberty.dvi, libiberty.html): New.
277 (CFILES): Add bsearch.c.
278 (CONFIGURED_OFILES): New, list of objects configure might add.
279 (maint-missing, maint-buildall): New, for maintainers only.
280 (clean, mostlyclean): Add info/dvi/html files.
281 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
282 * gather-docs: New, for maintainers.
283 * maint-tool: New, for maintainers.
284 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
285 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
286 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
287 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
288 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
289 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
290 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
291 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
292 documentation.
fae8182a 293
c1766881
KG
2942001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
295
296 * concat.c (reconcat): Fix for traditional C.
297
ad43d46f
KG
2982001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
299
300 * concat.c (reconcat): New function.
301
c1d49704
KG
3022001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303
c793eea7
KG
304 * concat.c (vconcat_length, vconcat_copy, concat_length,
305 concat_copy, concat_copy2): New functions.
306 (concat): Use vconcat_length/vconcat_copy.
307
c1d49704
KG
308 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
309 Define.
310
7a98d9b2
KG
3112001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
312
313 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
314 VA_FIXEDARG & VA_CLOSE.
fae8182a 315
7a98d9b2
KG
316 * vasprintf.c: Check HAVE_STRING_H when including string.h.
317 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
318 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
319
e2dff3f2
KG
3202001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
321
322 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
323
d0708dc1
UD
3242001-08-23 Ulrich Drepper <drepper@redhat.com>
325
326 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
327
3282001-08-23 Ulrich Drepper <drepper@redhat.com>
329
330 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
331 instead of mbrtowc.
332 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
333 wcslen, and __wcscoll instead of wcscoll.
334
ffb9435b
MK
3352001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
336
337 * fibheap.c (fibheap_init, fibnode_init): Remove.
338 (fibheap_new, fibnode_new): Use xcalloc to allocate and
339 initialize memory.
340 (fibheap_insert): Remove check for node allocation failure.
341
f379eac3
RH
3422001-08-21 Richard Henderson <rth@redhat.com>
343
344 * Makefile.in (fibheap.o): Depend on config.h.
345 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
346 functions for inlining.
347
b1c45ae4
CF
348Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
349
350 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
351 hosting on cygwin.
352 * configure: Regenerate.
353
0310e5ac
AC
3542001-08-20 Andrew Cagney <ac131313@redhat.com>
355
356 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
357 HARRIS_FLOAT_FORMAT.
358 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
359 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
360 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
361 (floatformat_m88110_harris_ext): New float formats.
362
8c23e0a4
DB
3632001-08-20 Daniel Berlin <dan@cgsoftware.com>
364
365 * fibheap.c: New file. Fibonacci heap.
366
367 * Makefile.in (CFILES): Add fibheap.c.
368 (REQUIRED_OFILES): Add fibheap.o.
369 (fibheap.o): Add dependencies for fibheap.o.
370
91625004
CF
3712001-08-17 Christopher Faylor <cgf@cygnus.com>
372
373 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
374 * configure: Regenerate.
375
9e0ba685
RH
3762001-08-16 Richard Henderson <rth@redhat.com>
377
378 * hashtab.c (htab_hash_string): New.
379
d80dedbe
AC
3802001-08-13 Andrew Cagney <ac131313@redhat.com>
381
382 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
383 name.
384
ccea0d85
IH
3852001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
386
387 * regex.c (wcs_regex_compile): Use appropriate string
388 to compare with collating element.
389 Fix the padding for the alignment.
390
b0e9bc8c 3912001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
392
393 * lbasename.c (lbasename): Change function definition to return a
394 const char pointer.
395
056400f1
JM
3962001-08-07 Jason Merrill <jason_merrill@redhat.com>
397
398 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
399 for".
400
4e627c41
RH
4012001-08-03 Richard Henderson <rth@redhat.com>
402
403 * Makefile.in (concat.o): Depend on config.h.
404
b6a2f884
AJ
4052001-07-30 Andreas Jaeger <aj@suse.de>
406
407 * concat.c: Include "config.h".
408
c4b9cfe0
AJ
4092001-07-30 Andreas Jaeger <aj@suse.de>
410
411 * regex.c: Declare wcs functions only if compiling with
412 MBS_SUPPORT.
413 Don't use #elif for traditional C.
414
4152001-07-23 Ulrich Drepper <drepper@redhat.com>
416
417 * regex.c: Revamp memory allocation for WCHAR functions to
418 not use too much stack.
419
4202001-07-30 Andreas Jaeger <aj@suse.de>
421
422 * regex.c: Declare wcs functions only if compiling with
423 MBS_SUPPORT.
424 Don't use #elif for traditional C.
425
2cf50fd3
DJ
4262001-07-25 Daniel Jacobowitz <drow@mvista.com>
427
428 * Makefile.in (regex.o): Add dependency on config.h.
429
27ffc806
DD
4302001-07-18 Andreas Schwab <schwab@suse.de>
431
432 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
433 underscore character.
434
4352001-07-18 Ulrich Drepper <drepper@redhat.com>
436
437 * regex.c: Limit string length printed in debug messages to 100
438 chars.
439
4402001-07-18 Andreas Jaeger <aj@suse.de>
441
442 * regex.c: Place under LGPL version 2.1.
443
dd771632
JJ
4442001-07-10 Jeff Johnston <jjohnstn@redhat.com>
445
446 * Makefile.in: Add support for regex code.
447 * regex.c: New file.
448
29650b2b
MK
4492001-07-05 Mark Klein <mklein@dis.com>
450
451 * Makefile.in: Add ffs.c dependency.
452 * configure.in: Add ffs.c.
453 * ffs.c: New file.
454
c8b28221
RH
4552001-06-18 Richard Henderson <rth@redhat.com>
456
457 * concat.c: Include <sys/types.h>.
458
473c2d0b
LR
4592001-06-11 Loren J. Rittle <ljrittle@acm.org>
460
a4c03da2 461 bootstrap/3106
473c2d0b
LR
462 * strerror.c (sys_nerr): Hide the OS header version.
463 * strsignal.c (sys_nsig): Likewise.
464
0bdcca68
RH
4652001-06-10 Richard Henderson <rth@redhat.com>
466
467 * concat.c: Include string.h. Fix int vs size_t usage.
468 Simplify the iteration loops. Use memcpy.
469
6de133d3
MK
4702001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
471
472 * partition.c: Fix misspelling of `implementation'.
473
8a153288
TS
4742001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
475
476 * md5.c (md5_init_ctx): Declare constants as unsigned.
477 (md5_process_block): Likewise.
478
641b2721
ZW
4792001-05-07 Zack Weinberg <zackw@stanford.edu>
480
481 * cp-demangle.c (demangle_v3_with_details,
482 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
483 function definition.
484 * ternary.c: Use K+R style function definitions. Use PTR, not
485 void *. Make arguments constant where possible.
486
5cdba4ff
MM
4872001-05-07 Mark Mitchell <mark@codesourcery.com>
488
489 * splay-tree.h (splay_tree_max): New function.
490 (splay_tree_min): Likewise.
491
9dab060e
DB
4922001-04-15 Daniel Berlin <dan@cgsoftware.com>
493
494 * ternary.c: New file - Ternary search tree implementation.
495
496 * Makefile.in: Add ternary.o, and ternary.c dependencies.
497
d02af173
ZW
4982001-04-03 Zack Weinberg <zackw@stanford.edu>
499
500 * make-temp-file.c (try): Inline.
501
94b68558
RH
5022001-02-28 Richard Henderson <rth@redhat.com>
503
504 * Makefile.in (make-temp-file.o): Depend on config.h.
505
27f66c0b
KG
5062001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
507
508 * memchr.c (memchr): Adjust condition to avoid infinite loop.
509
f1a0345c
JJ
5102001-03-23 Jakub Jelinek <jakub@redhat.com>
511
512 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
513 `_' not followed by a digit is invalid.
514
a519fba6
JB
5152001-03-22 Jim Blandy <jimb@redhat.com>
516
517 * cp-demangle.c (string_list_delete): Use dyn_string_delete
518 instead of free, to free the contents as well as the string
519 structure.
520
49ee944b
ZW
5212001-03-21 Zack Weinberg <zackw@stanford.edu>
522
523 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
524 Don't default P_tmpdir to anything. Try /var/tmp before
525 /usr/tmp.
526
33437dc7
ZW
5272001-03-20 Zack Weinberg <zackw@stanford.edu>
528
529 * choose-temp.c: Split off make_temp_file, and the code
530 duplicated between it and choose_temp_base, into...
531 * make-temp-file.c: ... here; new file.
532
533 * Makefile.in (CFILES): Add make-temp-file.c.
534 (REQUIRED_OFILES): Add make-temp-file.o.
535
7dce2eff
JB
5362001-03-20 Jim Blandy <jimb@redhat.com>
537
538 * cp-demangle.c (struct demangling_def): New fields:
539 is_constructor and is_destructor.
540 (demangling_new): Initialize them.
541 (demangle_ctor_dtor_name): Set them, if we detect a constructor
542 or destructor.
543 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
544 is_gnu_v3_mangled_dtor): New functions.
545
e03a61f1
JM
5462001-03-20 Jason Merrill <jason@redhat.com>
547
548 * cplus-dem.c (main): Skip initial $.
549
8860ddab
MM
5502001-03-15 Michael Meissner <meissner@redhat.com>
551
552 * hashtab.c (higher_prime_number): Silence warning that 4294967291
553 might be a signed integer under pre-ISO C systems.
554
2b757d51
NB
5552001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
556 John David Anglin <dave@hiauly1.hia.nrc.ca>
557
558 * libiberty/lbasename.c: New file.
559 * libiberty/Makefile.in: Update for lbasename.
560
1f50aafb
ZW
5612001-03-06 Zack Weinberg <zackw@stanford.edu>
562
563 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
564 * configure.in: Replace all alloca logic with a simple use of
565 the above new macro.
566 * config.table: Kill *-*-beos* entry.
567 * config/mh-beos: Delete.
568 * configure, config.in: Regenerate.
569
570 * Makefile.in (ALLOCA, HFILES): Kill.
571 (REQUIRED_OFILES): Add alloca.o.
572 (alloca.o): Depend on libiberty.h.
573 (argv.o): Don't depend on alloca-conf.h.
574 * alloca-conf.h: Delete.
575 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
576 blocks. Provide the C alloca unconditionally. Use PTR where
577 appropriate. Make i00afunc static.
578 * argv.c: Don't include alloca-conf.h.
579
d9fd5aae
JDA
5802001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
581
582 * cplus-dem.c (main): Cast enum style to int.
583
4031ed65
LR
5842001-02-16 Loren J. Rittle <ljrittle@acm.org>
585
586 * cplus-dem.c (main): Initialize style.
587
2ca46e8a
PE
5882001-02-02 Phil Edwards <pme@sources.redhat.com>
589
590 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
591
3b60dd8e
BM
5922001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
593
594 Add support for Java demangling under the v3 ABI:
595 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
596 (struct demangling_def): Add `style' field.
597 (demangling_new): New parameter `style'. Set it in demangling_t.
598 (demangle_prefix): Use NAMESPACE_SEPARATOR.
599 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
600 (cp_demangle): New parameter `style'. Pass it to demangling_new().
601 (main): Call cp_demangle with extra parameter.
602 (java_demangle_v3): New function.
603 (java_builtin_type_names): New. Table of primitive type names used
604 for Java demangling.
605 (demangle_builtin_type): Look up in java_builtin_type_names if doing
606 Java output.
1f50aafb 607 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
608 demangling.
609 (long_options): Remove obsolete `java' option.
610 (main): Remove explicit handling of `java' option. Instead, pass style
611 parameter in cplus_demangle flags as gdb does.
612 * testsuite/demangle.expected: Add some Java test cases.
613
584932e9
DD
6142000-12-29 DJ Delorie <dj@redhat.com>
615
616 * fnmatch.c: Make the note about the origins of this file more
617 accurate, at least until we can sync with glibc.
618 * getopt.c: Ditto.
619 * getopt1.c: Ditto.
620 * md5.c: Ditto.
621 * obstack.c: Ditto.
622
dac45916
MS
6232000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
624
625 * bsearch.c: New file.
626 * configure.in (funcs): Add bsearch.
627 (AC_CHECK_FUNCS): Likewise.
628 * configure, config.in: Regenerate.
629
a8e4a997
MS
6302000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
631
632 * safe-ctype.c: #include "ansidecl.h".
633 * strtod.c: Likewise.
634
75444da7
MS
6352000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
636
637 * strtoul.c: Include safe-ctype.h, not ctype.h.
638
f6bbde28
ZW
6392000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
640
641 * safe-ctype.c: New file.
642 * Makefile.in (CFILES): Add safe-ctype.c.
643 (REQUIRED_OFILES): Add safe-ctype.o.
644
645 * argv.c: Define ISBLANK and use it, not isspace.
646 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
647 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
648 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
649 before calling TOLOWER(c)/TOUPPER(c).
650
6c1ce62b 6512000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
652
653 * Makefile.in (distclean): When cleaning, remove testsuite.
654
b5d1497d
JM
6552000-12-05 Jason Merrill <jason@redhat.com>
656
657 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
658 name before allocating the dyn_string.
659
c6e13630
JM
6602000-12-04 Jason Merrill <jason@redhat.com>
661
662 * cp-demangle.c: s/new_abi/v3/.
663 * cplus-dem.c: Likewise.
664 (current_demangling_style): Now auto_demangling.
665 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 666 (main): Use standard symbol chars for auto_demangling.
c6e13630 667
a4c9b97e
MM
6682000-11-26 Mark Mitchell <mark@codesourcery.com>
669
670 * hashtab.c (higher_prime_number): Use a table, rather than a
671 seive, to find the next prime.
672
3b3bd9a7
L
6732000-11-22 H.J. Lu <hjl@gnu.org>
674
675 * cplus-dem.c (main): Handle gnat_demangling.
676
d1209685
ZW
6772000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
678
679 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
680 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
681 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
682 argument form of AC_DEFINE in dummy definitions block. Use
683 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
684 in dummy block. Preload cache variables instead of bypassing
685 tests, where possible.
686 * acconfig.h: Removed.
687
688 * xmalloc.c (xmalloc_failed): New function, does error
689 reporting on failed allocation.
690 (xmalloc, xcalloc, xrealloc): Use it.
691
cf183ac2
HPN
6922000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
693
694 * cplus-dem.c (cplus_demangle): Fix formatting.
695 (grow_vect): Ditto.
696 (ada_demangle): Ditto.
697 (internal_cplus_demangle): Ditto.
698 (mop_up): Ditto.
699
7002000-11-21 H.J. Lu <hjl@gnu.org>
701
702 * cplus-dem.c (main): Handle java_demangling.
703
8bcc782c
KG
7042000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
705
706 * cplus-dem.c (grow_vect): Prototype.
707 (ada_demangle): Cast the arg of ctype macros to unsigned char.
708
29120f44
HPN
7092000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
710
711 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
712 parameter `option'.
713
0437a5a8
KB
7142000-11-15 Kenneth Block <kenneth.block@compaq.com>
715
9e038f71 716 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
717 be used in GCC.
718
eab0c1ab 7192000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 720
29120f44 721 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
722 list.
723
d50d20ec
HPN
7242000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
725
726 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
727 xcalloc depending on htab->return_allocation_failure. Return zero
728 if calloc fails.
d50d20ec
HPN
729 (htab_create): Update comment to cover memory allocation.
730 (htab_try_create): New.
731 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 732 Update comment to cover this.
d50d20ec 733
35e9340f
HPN
7342000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
735
736 * hashtab.c: Change void * to PTR where necessary.
737 (htab_create, htab_expand): Correct formatting of comment before
738 function.
739
ea343d1a 7402000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
741
742 * cp-demangle.c (string_list_def): Add caret_position and comments.
743 (result_caret_pos): New macro.
744 (result_append_string): Rename to...
745 (result_add_string): ... this, and insert at caret position.
d1209685 746 Rename throughout.
0870bfd6
AS
747 (result_append): Rename to...
748 (result_add): ... this, and insert at caret position. Rename
d1209685 749 throughout.
0870bfd6
AS
750 (result_append_char): Rename to...
751 (result_add_char): ... this, and insert at caret position. Rename
d1209685 752 throughout.
0870bfd6
AS
753 (result_append_space): Remove.
754 (string_list_new): Initialize caret position.
755 (result_add_separated_char): Use caret position.
756 (result_get_caret): New funtion.
757 (result_set_caret): Likewise.
758 (result_shift_caret): Likewise.
759 (result_previous_char_is_space): Likewise.
760 (substitution_start): Use caret position.
761 (substitution_add): Likewise.
762 (demangling_new): Initialize caret position.
763 (demangle_encoding): Use caret position.
d1209685 764 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
765 (demangle_type_ptr): Use switch statement. Handle pointers to
766 arrays. Don't use result_append_space. Use caret position.
767 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
768 call to demangle_array_type.
769 (demangle_array_type): Add parameter to handle pointers to arrays.
770
f15b9af9
MM
7712000-10-01 Mark Mitchell <mark@codesourcery.com>
772
773 * splay-tree.c (splay_tree_insert): Fix formatting.
774
8f17b5c5
MM
7752000-09-16 Mark Mitchell <mark@codesourcery.com>
776
777 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
778
4eaa189a
MS
7792000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
780
781 * splay-tree.c: #include <stdio.h>.
782
29791078
HPN
7832000-09-14 Hans-Peter Nilsson <hp@axis.com>
784
785 * testsuite/demangle-expected: Add two tests for anonymous
786 namespaces.
787 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
788
2c9f4db7
MM
7892000-09-10 Mark Mitchell <mark@codesourcery.com>
790
791 * splay-tree.c (splay_tree_predecessor): New function.
792 (splay_tree_successor): Likewise.
793
bb22da4b
HPN
7942000-09-10 Hans-Peter Nilsson <hp@axis.com>
795
796 * testsuite/demangle-expected: Add four tests for type_info
797 mangling.
bb22da4b
HPN
798 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
799 for a non-template non-qualified type_info function or node.
800
759e8187
AS
8012000-09-08 Alex Samuel <samuel@codesourcery.com>
802
803 * cp-demangle.c: Fix copyright banner.
804
2ecd81ef
MS
8052000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
806
807 * md5.c: #include "ansidecl.h".
808
d93998ec
AS
8092000-09-06 Alex Samuel <samuel@codesourcery.com>
810
811 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
812 (demangle_type): Handle substitution candidates correctly in the
813 face of special substitutions.
814
1056d228
AS
8152000-09-05 Alex Samuel <samuel@codesourcery.com>
816
817 * cp-demangle.c (demangle_encoding): Rename variable.
818 (demangle_name): Rename parameter. Handle return type
819 suppression.
820 (demangle_nested_name): Rename parameter.
821 (demangle_prefix): Likewise. Change return type suppression.
822 (demangle_unqualified_name): Add parameter. Flag constructors and
823 conversion operators.
824 (demangle_special_name): Fix comment.
825 (demangle_type): Rename variable.
826 (demangle_bare_function_type): Check for missing return type and
d1209685 827 parameter.
1056d228
AS
828 (demangle_class_enum_type): Rename parameter.
829 (demangle_discriminator): Fix misspelling in comment.
830
2f31ed7e
DD
8312000-08-31 DJ Delorie <dj@redhat.com>
832
833 * configure.in (Cygwin): special case cygwin only when we're
834 building cygwin, not when we're hosting cygwin.
835
02bcb9c6
AS
8362000-09-04 Alex Samuel <samuel@codesourcery.com>
837
838 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
839 <expression>.
840
aee749cf
AS
8412000-09-04 Alex Samuel <samuel@codesourcery.com>
842
843 * cp-demangle.c (demangle_type_ptr): Increment position past
844 pointer and reference characters.
845
92a16bbe
AS
8462000-09-04 Alex Samuel <samuel@codesourcery.com>
847
848 * cp-demangle.c (demangle_nv_offset): New function.
849 (demangle_v_offset): Likewise.
850 (demangle_call_offset): Likewise.
851 (demangle_special_name): Update thunk demangling to comply with
852 ABI changes.
d1209685 853
31e0ab1f
AS
8542000-09-03 Alex Samuel <samuel@codesourcery.com>
855
856 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
857 (substitution_def): Remove template_parm_number.
858 (NOT_TEMPLATE_PARM): Remove.
859 (result_insert_string): New macro.
860 (result_insert): Likewise.
861 (result_insert_char): Likewise.
862 (substitution_add): Remove last parameter. Don't store template
d1209685 863 parm number.
31e0ab1f
AS
864 (BFT_NO_RETURN_TYPE): Define as NULL.
865 (demangle_encoding): Adjust call to demangle_bare_function_type.
866 (demangle_name): Adjust substitution. Adjust call to
d1209685 867 substitution_add.
31e0ab1f
AS
868 (demangle_prefix): Adjust call to substitution_add.
869 (demangle_identifier): Handle anonymous namespaces.
870 (demangle_operator_name): Change demangling of vendor-extended
871 operator to match ABI changes.
872 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 873 substitutions here.
31e0ab1f
AS
874 (demangle_type): Adjust calls to demangle_template_param,
875 substitution_add, and demangle_type_ptr. Fix substitution of
876 templated types.
877 (demangle_function_type): Change parameter to a pointer.
878 (demangle_bare_function_type): Likewise. Adjust insertion point.
879 (demangle_template_param): Remove last parameter.
880 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 881 demangle_template_param.
31e0ab1f
AS
882 (is_mangled_char): Accept `$' and `.'.
883 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
884 * dyn-string.c (dyn_string_insert_char): New function.
885
ccbc3eb7
HPN
8862000-08-31 Hans-Peter Nilsson <hp@axis.com>
887
888 * testsuite/demangle-expected: Add nine tests for
889 underscore-after-number followed by five tests for name-signature
890 delimiter.
891
53dce582
RH
8922000-08-28 Richard Henderson <rth@cygnus.com>
893
894 * Makefile.in (md5.o): Depend on config.h.
895
881c6935
JM
8962000-08-28 Jason Merrill <jason@redhat.com>
897
898 * Makefile.in (REQUIRED_OFILES): Add md5.o.
899 (CFILES): Add md5.c.
900 * md5.c: New file.
901
a440fd19
AS
9022000-08-27 Alex Samuel <samuel@codesourcery.com>
903
904 * cp-demangle.c (demangle_name): Initialize template_p in local
905 name case. Don't re-add substitutions as candidates.
906 (demangle_nested_name): Use <unqualified-name>.
907 (demangle_prefix): Likewise. Don't add template names as
908 substitution candidates twice, or re-add a substitution or the
909 last prefix component.
910 (demangle_local_name): Adjust output format.
911
d01ce591
AS
9122000-08-25 Alex Samuel <samuel@codesourcery.com>
913
914 * cp-demangle.c (result_add_separated_char): Change parameter to
915 int.
916 (substitution_add): Don't check for duplicates. Check if
917 previously allocated size is zero.
918 (demangle_name): Remove duplicate check for std substitution.
919 Clear template flag appropriately.
920 (demangle_prefix): Remove argument to demangle_substitution.
921 Don't check that template flag is already set.
922 (demangle_operator_name): Add pt operator.
923 (demangle_type): Don't treat r as built-in type. Remove argument
924 to demangle_substitution. Fix substitution candidate mechanics.
925 Handle <template-template-parm>s. Improve comments.
d1209685 926 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
927 (demangle_substitution): Remove parameter.
928 (print_usage): Remove extra fprintf option.
929
2f59c8eb
GM
9302000-08-24 Greg McGary <greg@mcgary.org>
931
932 * libiberty/random.c (end_ptr): Revert previous change.
933
2f26c11d
GM
9342000-08-24 Greg McGary <greg@mcgary.org>
935
936 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
937 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
938 * libiberty/random.c (end_ptr): Likewise.
939
e282c9c9
AS
9402000-08-23 Alex Samuel <samuel@codesourcery.com>
941
942 * cp-demangle.c (result_close_template_list): Remove function.
943 (result_add_separated_char): New function.
944 (result_open_template_list): New macro.
945 (result_close_template_list): Likewise.
946 (demangle_prefix): Don't set template_p if the
947 prefix ends with a ctor name.
948 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
949 (demangle_type): Check for template args after substitution.
950 (demangle_template_args): Use result_open_template_list.
d1209685 951
c9b6494a
ZW
9522000-08-02 Zack Weinberg <zack@wolery.cumb.org>
953
954 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
955
d1209685 9562000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
957
958 * config/mh-openedition.h: Added -DLE370 definition.
959
0aab2795
ME
9602000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
961
962 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
963 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
964 Cast program to 'char *' in errmsg_arg assignment.
965 (PWAIT_ERROR): Define.
966 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
967 to DJGPP's WIF* macros.
968
c2f275e4
RB
9692000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
970 Jeff Law <law@cygnus.com>
971
73aa9564
RB
972 * getcwd.c: Include string.h, stdlib.h for prototypes
973
c2f275e4 974 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
975 * rename.c: Include config.h, unistd.h
976 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 977
ccbc3eb7
HPN
9782000-07-24 Hans-Peter Nilsson <hp@axis.com>
979
980 * cplus-dem.c (work_stuff_copy_to_from): New.
981 (delete_non_B_K_work_stuff): New.
982 (delete_work_stuff): New.
983 (mop_up): Break out work_stuff partly destruction to
984 delete_non_B_K_work_stuff.
985 (iterate_demangle_function): New.
986 (demangle_prefix): Call iterate_demangle_function instead of
987 demangle_function_name. Leave handling of name-signature
988 __-delimiters to iterate_demangle_function.
989 (demangle_integral_value): Strip an optional
990 following underscore cautiously. Handle negative numbers.
991
3388651c
DB
9922000-07-24 Daniel Berlin <dberlin@redhat.com>
993
d1209685 994 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
995 if (AUTO_DEMANGLING || GNU_DEMANGLING)
996
0fac482e
AS
9972000-07-21 Alex Samuel <samuel@codesourcery.com>
998
999 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1000 allocating ctor mangling.
1001 (demangle_array_type): Handle empty and non-constant array length.
1002
8502a100 10032000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
1004 Jeff Law <law@cygnus.com>
1005
c6451ce1
MS
1006 * configure.in (AC_CHECK_HEADERS): Add time.h.
1007 (AC_HEADER_TIME): Add check.
1008 * configure, config.in: Regenerate.
1009 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1010
cd447360
MS
1011 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1012 * configure, config.in: Regenerate.
1013 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1014 * strtol.c, strtoul.c: #include "config.h". Portably #include
1015 <limits.h> and/or <sys/param.h>.
1016 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 1017
3b58c099
MS
1018 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1019 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1020 * configure, config.in: Regenerate.
1021 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1022
8502a100
MS
1023 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1024
da0c7743
MS
10252000-07-21 Mike Stump <mrs@wrs.com>
1026
1027 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 1028 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 1029
838f8562
KG
10302000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1031
1032 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1033
1034 * setenv.c (setenv): Initialize variable `ep'.
1035
1036 * sigsetmask.c (abort): Prototype.
1037
1038 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1039 __STDC__ for stdarg.h include.
1040 (int_vasprintf): Prototype.
1041 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1042 definition. Cast `global_total_width' in comparison.
1043 (main): Prototype. Return a value.
1044
1045 * vfork.c (fork): Prototype.
1046
1047 * xexit.c: Include config.h.
1048
e9958132
JM
10492000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1050
1051 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1052 and print it with %u.
1053
39a6492f
HPN
10542000-07-17 Hans-Peter Nilsson <hp@axis.com>
1055
1056 * testsuite/regress-demangle (failed test): Show result and
1057 expected output.
1058
6d0be369
AH
10592000-07-07 Andrew Haley <aph@cygnus.com>
1060
1061 * cplus-dem.c (main): fflush() after emitting last char before
1062 waiting for input.
1063
bece74bd
AS
10642000-06-28 Alex Samuel <samuel@codesourcery.com>
1065
1066 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1067 (demangle_name): Handle <substitution> followed by
1068 <unqualified-template-name>.
1069 (demangle_type): Follow special substitutions with
1070 <class-enum-type>
1071 (demangle_subtitution): Set template_p for special substitutions.
1072 (main): Fix typos.
d1209685 1073
229b8ec7
AS
10742000-06-27 Alex Samuel <samuel@codesourcery.com>
1075
1076 * cp-demangle.c (demangle_special_name): Swap base and derived
1077 class when demangling construction vtables.
1078
051664b0
AS
10792000-06-21 Alex Samuel <samuel@codesourcery.com>
1080
1081 * cp-demangle.c: Don't include ctype.h.
1082 (IS_DIGIT): New macro.
1083 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1084 instead of isdigit and isalpanum.
1085 (demangling_def): Make name and next const pointers.
1086 (STATUS_ALLOCATION_FAILED): New status code.
1087 (dyn_string_append_space): Handle failure in
1088 dyn_string_append_char.
1089 (int_to_dyn_string): Likewise. Change return value to status_t.
1090 (string_list_new): Handle failure of dyn_string_init.
1091 (result_close_template_list): Change return type to status_t.
1092 Handle failure in dyn_string_append.
1093 (result_push): Change return value to status_t. Handle failure in
1094 string_list_new. Handle failure of result_push throughout.
1095 (substitution_add): Change return value to status_t. Handle
1096 dyn_string failures. Handle failure of substitution_add
1097 throughout.
1098 (template_arg_list_new): Return NULL on allocation failure.
1099 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1100 Handle error result throughout.
1101 (result_append): Likewise.
1102 (result_append_char): Likewise.
1103 (result_append_space): Likewise.
1104 (demangling_new): Make argument a const pointer. Handle
1105 allocation failures.
1106 (demangle_template_args): Handle failure in template_arg_list_new
1107 and result_close_template_list.
1108 (demangle_discriminator): Return if int_to_dyn_string fails.
1109 (cp_demangle): Likewise.
1110 (cp_demangle_type): New function.
1111 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1112 memory allocation failure.
1113 (main): Likewise.
1114 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1115 IN_LIBGCC2.
1116 (dyn_string_init): Change return value to int. Handle
1117 RETURN_ON_ALLOCATION_FAILURE case.
1118 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1119 (dyn_string_release): Delete the dyn_string.
1120 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1121 (dyn_string_copy): Change return type to int.
1122 (dyn_string_copy_cstr): Likewise.
1123 (dyn_string_prepend): Likewise.
1124 (dyn_string_prepend_cstr): Likewise.
1125 (dyn_string_insert): Likewise.
1126 (dyn_string_insert_cstr): Likewise.
1127 (dyn_string_append): Likewise.
1128 (dyn_string_append_cstr): Likewise.
1129 (dyn_string_append_char): Likewise.
1130 (dyn_string_substring): Likewise.
d1209685 1131
fe06b696
ZW
11322000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1133
1134 * cp-demangle.c (demangle_operator_name): Add spaces before
1135 names beginning with a letter: delete, delete[], new, new[],
1136 sizeof.
1137 (demangle_special_name): Handle TF <type> and TJ <type>.
1138
6223e158
PDM
1139Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1140
1141 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1142
48f3e29b
PDM
1143Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1144
1145 * cp-demangle.c (stdio.h): File included unconditionaly.
1146 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1147 * dyn-string.c (stdio.h): File included.
1148 * partition.c (partition_print): No `&' needed to take the address of
1149 a function.
1150
69197e7e
KG
11512000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1152
1153 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 1154
69197e7e
KG
1155 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1156
1157 * cp-demangle.c (demangle_char): Change parameter from char to int.
1158 (demangle_expression, demangle_expr_primary): Remove extra
1159 semi-colon in prototype.
1160
1161 * dyn-string.c (dyn_string_append_char): Change parameter from
1162 char to int.
1163
1164 * memcmp.c (memcmp): Constify.
1165
1166 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1167 __extension__.
1168
1169 * partition.c (elem_compare): Prototype. Don't cast away
1170 const-ness.
1171
1172 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 1173
7eb23b1f
KG
11742000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1175
1176 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1177
1178 * cp-demangle.c: Include demangle.h.
1179 (template_arg_list_new): DeANSIfy.
1180 (cp_demangle): Make static and add prototype.
1181 (operator_code, operators): Constify.
1182 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1183
3faa108c
AS
11842000-06-05 Alex Samuel <samuel@codesourcery.com>
1185
1186 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1187 unsigned char.
1188 (demangle_unqualified_name): Likewise.
1189 (demangle_number_literally): Likewise.
1190 (demangle_type): Likewise.
1191 (demangle_substitution): Likewise.
1192 (is_mangled_char): Likewise, for isalnum.
1193
69afa80d
AS
11942000-06-04 Alex Samuel <samuel@codesourcery.com>
1195
1196 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1197 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1198 (cp-demangle.o): New dependency.
1199 (dyn-string.o): Likewise.
1200
1201 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1202
1203 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1204 demangler.
1205 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1206 demangling mode.
1207 (gnu_new_abi_symbol_characters): New function.
1208 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1209 file.
1210 * cp-demangle.c: New file.
d1209685 1211
0b72c3df
AC
1212Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1213
1214 * floatformat.c: Add name to each floatformat field.
1215
270cea06
JL
1216Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1217
1218 * Makefile.in (objalloc.o): Depend on config.h
1219
d11ec6f0
ZW
12202000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1221
1222 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1223 if HAVE_STRING_H.
1224 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1225 * objalloc.c: Include config.h. Include stdlib.h and don't
1226 declare malloc or free if HAVE_STDLIB_H.
1227 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1228 else declare malloc without prototype. Include string.h if
1229 HAVE_STRING_H, else declare memset without prototype. Don't
1230 include stddef.h.
1231
f8e2da56
MS
12322000-05-23 Mike Stump <mrs@wrs.com>
1233
1234 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 1235 -j3.
f8e2da56 1236
650f3068
DA
12372000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1238
1239 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1240
1d2da2e1
HB
12412000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1242
d1209685 1243 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
1244 probably zero, also eliminate a warning on alpha.
1245
47668d0a
DE
12462000-05-15 David Edelsohn <edelsohn@gnu.org>
1247
c7a79a32 1248 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
1249 on $(enable_shared).
1250
36348eab
JJ
12512000-05-10 Jakub Jelinek <jakub@redhat.com>
1252
1253 * config.table: Use mh-sparcpic for sparc*-*-*.
1254
209bbe34
NC
12552000-05-08 Nick Clifton <nickc@cygnus.com>
1256
1257 * Makefile.in (CFILES): Add strncmp.c.
1258 (NEEDED): Add strncmp.
1259
a85a47fb
KG
12602000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1261
1262 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1263 Cast the arguments to `islower' to `unsigned char'.
1264 (print_demangler_list): Prototype.
1265
4aef973c
PDM
1266Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1267
1268 * sort.c (UCHAR_MAX): Provide fallback definition.
1269
3b94497c
AO
12702000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1271
1272 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1273 SUBDIRS.
1274
24eaa47a
KB
12752000-04-28 Kenneth Block <block@zk3.dec.com>
1276 Jason Merrill <jason@casey.cygnus.com>
1277
d1209685
ZW
1278 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1279 (cplus_demangle_set_style): New function for setting style.
1280 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 1281
a9266bfa
KG
12822000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1283
1284 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1285
1286 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1287 (libiberty_AC_FUNC_STRNCMP): Invoke.
1288
1289 * strncmp.c: New file.
1290
8e02c4d0
JH
1291Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1292
1293 * hashtab.c (htab_expand): Add prototype.
1294 (find_empty_slot_for_expand): Likewise.
1295
4feeaae3
KG
12962000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1297
1298 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1299 match prototype.
1300 (htab_expand): Cast the return value of xcalloc.
1301
18a94a2f
MM
13022000-04-24 Mark Mitchell <mark@codesourcery.com>
1303
1304 * hashtab.c (hash_pointer): New function.
1305 (eq_pointer): Likewise.
1306 (htab_hash_pointer): New variable.
1307 (htab_eq_pointer): Likewise.
1308
eeb0656f
MM
13092000-04-23 Mark Mitchell <mark@codesourcery.com>
1310
b51024fc
MM
1311 * sort.c (sort_pointers): Fix endianness bugs.
1312
eeb0656f
MM
1313 * sort.c: New file.
1314 * Makefile.in (CFILES): Add sort.c
1315 (REQUIRED_OFILES): Add sort.o.
1316 (sort.o): New target.
1317
7277f72d
MS
13182000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1319
1320 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1321 4.3BSD systems.
1322
e38992e8
RK
1323Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1324
1325 * hashtab.c: Various minor cleanups.
1326 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1327 (htab_find_slot): Likewise.
1328
498e1ab1
DP
13292000-04-16 Dave Pitts <dpitts@cozx.com>
1330
1331 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 1332
dc17cc7b
RH
13332000-04-05 Richard Henderson <rth@cygnus.com>
1334
1335 * splay-tree.c (splay_tree_remove): New.
1336
b13eb66b
MM
13372000-03-30 Mark Mitchell <mark@codesourcery.com>
1338
1339 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1340 codes.
1341 (htab_find_with_hash): Likewise.
1342 (htab_find_slot_with_hash): Likewise.
d1209685 1343
0194e877
ZW
13442000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1345
1346 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1347 unless it will be used. Rearrange loop for better
1348 optimization.
1349 (higher_prime_number): Add static prototype.
1350
abc61fd4
JL
1351Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1352
1353 * Makefile.in (partition.o): Depend on config.h
1354
8c5d513f
BS
13552000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1356
1357 * hashtab.c (find_empty_slot_for_expand): New function.
1358 (htab_expand): Use it instead of htab_find_slot.
1359 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1360 argument HASH.
1361 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1362 (htab_find): New wrapper function.
1363 (htab_find_slot): Likewise.
1364 (htab_traverse): Pass slot, not entry, to called function.
1365
d9d4fb43
AS
13662000-03-09 Alex Samuel <samuel@codesourcery.com>
1367
1368 * Makefile.in (CFILES): Add partition.c.
1369 (REQUIRED_OFILES): Add partition.o.
1370 (partition.o): New rule.
1371 * partition.c: New file.
d1209685 1372
5dc9cffd
ZW
13732000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1374
1375 * hashtab.c (htab_create): Set del_f.
1376 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1377 Use it.
1378
5194cf08
ZW
13792000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1380
1381 * hashtab.c: Remove debugging variables (all_searches,
1382 all_collisions, all_expansions). Delete
1383 all_hash_table_collisions.
1384 (create_hash_table, delete_hash_table, empty_hash_table,
1385 find_hash_table_entry, remove_element_from_hash_table_entry,
1386 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1387 hash_table_elements_number, hash_table_collisions): Rename to:
1388 htab_create, htab_delete, htab_empty, htab_find_slot,
1389 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1390 htab_elements, htab_collisions.
1391 (htab_find): New function, handles common case where you don't
1392 plan to add or delete an entry.
1393 (htab_expand): Don't create a whole new table, just a new
1394 entry vector.
1395 (htab_find_slot): Simplify logic.
1396
5ad5a984
ILT
13971999-08-03 Ian Lance Taylor <ian@zembu.com>
1398
1399 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1400 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1401
1402 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1403 $(TARGETLIB)n so it works on MSDOS.
1404 (install_to_tooldir): Likewise.
1405
14061999-07-21 Ian Lance Taylor <ian@zembu.com>
1407
1408 From Mark Elbrecht:
1409 * makefile.dos: Remove; obsolete.
1410 * configure.bat: Remove; obsolete.
1411
14121999-07-11 Ian Lance Taylor <ian@zembu.com>
1413
1414 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1415 warning.
1416
aeecce42
MK
14172000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1418
1419 * pexecute.c: Conditionally include string.h.
5194cf08 1420 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 1421
1eaf7d9c
KG
14222000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1423
1424 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1425 we're using gcc.
1426
1427 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1428
0fadedb2
GK
14291999-12-27 Geoff Keating <geoffk@cygnus.com>
1430
1431 * vasprintf.c (int_vasprintf): Don't re-read the format character
1432 as this mishandles strings like '%%s'.
1433
08230f26
MM
14341999-12-05 Mark Mitchell <mark@codesourcery.com>
1435
1436 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1437 rather than struct splay_tree_node.
1438 (splay_tree_insert): Use struct splay_tree_s rather than struct
1439 splay_tree.
1440
6de9b8ff
PDM
1441Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1442
1443 * hashtab.c (sys/types.h): File included.
1444
f3636679
JM
14451999-11-22 Jason Merrill <jason@casey.cygnus.com>
1446
1447 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1448 BSD license, pursuant with
1449
1450 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1451
36dd3a44
JL
1452Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1453
1454 * hashtab.c: Include stdio.h.
1455
6e300472
JL
1456Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1457
1458 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1459
df548dfc
PDM
1460Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1461
1462 * xstrdup (sys/types.h): Include this file.
1463
2c375143
NS
14641999-10-28 Nathan Sidwell <nathan@acm.org>
1465
1466 * Makefile.in (SUBDIRS): New macro.
1467 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1468 avoid multiple subdirectory cleaning.
1469 (*-subdir): Use SUBDIRS.
1470
a82cecda
JK
14711999-10-25 Jim Kingdon <http://developer.redhat.com/>
1472
1473 * cplus-dem.c: Move declarations of standard_symbol_characters and
1474 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1475 warnings.
1476
ed38f5d5
ZW
14771999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1478
1479 * hashtab.c (find_hash_table_entry): When returning a
1480 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1481 (clear_hash_table_slot): New function which deletes an entry
1482 by its position in the table, not its value.
1483 (traverse_hash_table): New function which calls a hook
1484 function for every live entry in the table.
1485
b60fe4a7
MM
14861999-10-19 Mark Mitchell <mark@codesourcery.com>
1487
1488 * cplus-dem.c (INTBUF_SIZE): New macro.
1489 (string_append_template_idx): New function.
1490 (demangle_expression): Likewise.
1491 (demangle_integral_value): Use it.
1492 (demangle_real_value): New function, split out from ...
1493 (demangle_template_value_parm): ... here. Use
1494 string_append_template_idx. Use demangle_real_value.
1495 (demangle_template): Use string_append_template_idx.
1496 (demangle_qualified): Use consume_count_with_underscores.
1497 (get_count): Tweak formatting.
1498 (do_type): Use string_append_template_idx.
5194cf08 1499
3da5522a
KG
15001999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1501
1502 * calloc.c: Add a public domain notice.
1503
d7d36ea8
PDM
1504Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1505
1506 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1507
a2f945c6
VM
1508Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1509
1510 * Makefile.in (CFILES): Add hashtab.c
1511 (REQUIRED_OFILES): Add hashtab.o
1512 (hashtab.o): Add dependencies.
1513 * hashtab.c: New file
1514
7f22ec2e
MK
1515Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1516
1517 * basename.c (DIR_SEPARATOR): New macro.
1518 (DIR_SEPARATOR_2): Likewise.
1519 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1520 (IS_DIR_SEPARATOR): Likewise.
1521 (main): Handle MSDOS style pathname.
1522
7c56a6ce
MM
15231999-10-11 Mark Mitchell <mark@codesourcery.com>
1524
1525 * cplus-dem.c (do_type): Handle pointer to member types whose
1526 enclosing classes have namespace scope.
1527
cd32188b
ME
1528Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1529
1530 * config.table: Provide a backup shell for executing move-if-change.
1531
fc232f7a
MM
15321999-10-02 Mark Mitchell <mark@codesourcery.com>
1533
1534 * xmalloc.c (xmalloc): Fix spelling error.
1535 (xcalloc, xrealloc): Likewise.
1536
2a138827
KG
15371999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1538
1539 * cplus-dem.c (fancy_abort, demangle_integral_value,
1540 demangle_arm_hp_template, recursively_demangle,
1541 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1542 (program_name, program_version, fatal): Constify a char*.
1543 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1544 (main): Call return, not exit.
1545
5a657fc3
KG
15461999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1547
1548 * choose-temp.c: Remove obsolete comment about gcc.
1549 (make_temp_file): Constify a char*.
1550
33c5ddcd
KG
1551Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1552
1553 * xmemdup.c: Include sys/types.h.
1554
b10647f1
JG
15551999-09-07 Jeff Garzik <jgarzik@pobox.com>
1556
1557 * xmemdup.c: New xmemdup function.
1558 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1559
3dd6c3af
LV
1560Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1561
5194cf08 1562 * config.table: Add openedition target.
3dd6c3af
LV
1563 * config/mh-openedition: New file.
1564
19e28e2a
ME
1565Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1566
1567 * pexecute.c (pexecute): Fill in temp_base when needed.
1568
4dfeccf9
RH
15691999-08-31 Richard Henderson <rth@cygnus.com>
1570
1571 * getpwd.c: Check HAVE_GETCWD before defining it away.
1572
4ac3cb83
KG
15731999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1574
1575 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1576 (REQUIRED_OFILES): Add getpwd.o.
1577 (getpwd.o): Add target.
1578
1579 * configure.in (AC_PREREQ): Bump to 2.13.
1580 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1581
1582 * getpwd.c: New file, moved here from gcc.
1583
e797ff70
KG
15841999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1585
1586 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1587 comparing against a signed quantity.
1588 (arm_special): Likewise.
1589 (demangle_fund_type): Likewise.
1590 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 1591 ATTRIBUTE_UNUSED.
e797ff70
KG
1592 (main): Constify variable `valid_symbols'.
1593
55247fce
PDM
1594Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1595
1596 * strtoul.c (strtoul): Add parentheses around && within ||.
1597
76632dd0
DJ
1598Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1599
1600 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1601 libdir, libsubdir and tooldir.
1602
d080bbfa
MM
16031999-08-01 Mark Mitchell <mark@codesourcery.com>
1604
1605 * splay-tree.c (splay_tree_insert): Return the new node.
1606
a81c752a
RH
16071999-07-14 Richard Henderson <rth@cygnus.com>
1608
5194cf08 1609 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
1610 prototyping directly.
1611 * choose-temp.c: Conditionally include string.h.
1612
8f1824d9
JM
16131999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1614
1615 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1616
652374d3
ILT
16171999-07-11 Ian Lance Taylor <ian@zembu.com>
1618
1619 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1620 warning.
1621
a4494286
JM
16221999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1623
1624 * Makefile.in (needed-list): Only include stuff we actually need
1625 for libstdc++.
1626
90e72e20
AS
16271999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1628
1629 * configure.in (checkfuncs): Add gettimeofday.
1630 * config.in, configure: Regenerated.
1631
b569200e
MK
1632Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1633
1634 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1635 the test fails.
1636 * configure: Regenerate.
1637
73919448
MS
16381999-06-10 Mike Stump <mrs@wrs.com>
1639
1640 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1641 parallel builds.
1642
fee9125c
KG
16431999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1644
1645 * putenv.c: Include ansidecl.h to define `const'.
1646 * setenv.c: Likewise.
1647
71cce721
MN
1648Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1649
a7c9637f
JL
1650 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1651 * configure.in (funcs): Add putenv and setenv.
1652 (AC_CHECK_FUNCS): Check for putenv and setenv.
1653 * configure: Rebuilt.
1654 * putenv.c setenv.c: New files.
1655
71cce721
MN
1656 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1657 bytes of space using malloc.
1658
53504016
SG
1659Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1660
1661 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1662 the *mangled pointer beyond the end of the string. Clean up code to
1663 match prevailing coding style.
1664
34842539
MH
16651999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1666
1667 * tmpnam.c (L_tmpnam): Fix typo.
1668
3a08531d
ME
1669Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1670
1671 * cplus-dem.c (standard_symbol_characters): Renamed from
1672 standard_symbol_alphabet. No longer modify TABLE.
1673 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1674 modify TABLE.
1675 (main): Corresponding changes. Use strchr to determine if a
1676 character is valid.
1677
8db9d08b
JB
16781999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1679
1680 * cplus-dem.c (main): Use table lookup to distinguish identifier
1681 characters from non-identifier characters.
1682 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1683
6a071f4a
FF
1684Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1685
1686 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1687 * getruntime.c: Only attempt to include sys/resource.h and
1688 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1689 are defined.
1690
7dd88617
DT
1691Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1692
1693 * configure.in (alloca detection): Handle alloca directly for interix.
1694 * configure: Rebuilt.
1695
7a1528bc
MK
1696Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1697
1698 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1699
76409268
JB
17001999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1701
1702 Fix from Dale Hawkins:
5194cf08 1703 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
1704 reallocated properly if we use it again.
1705
1706 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1707 stricter about syntax. Always null-terminate string.
1708
acbbd80a
MK
1709Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1710
1711 * configure.in (checkfuncs): Check for sbrk.
1712 * config.in: Rebuilt.
1713 * configure: Likewise.
1714 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1715
92523551
JB
17161999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1717
1718 Fix from Marcus Daniels:
1719 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1720 identifier looking for another underscore.
1721
36eb4217
MK
1722Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1723
1724 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1725 * xmalloc.c: Likewise.
1726 (xcalloc): UWIN has sbrk.
1727 (xrealloc): Fix guard macro.
1728
2c45d1a0
RH
17291999-04-11 Richard Henderson <rth@cygnus.com>
1730
1731 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1732 or <alloca.h>.
1733 * clock.c (GNU_HZ): New definition.
1734 (clock): Use it.
1735 * getruntime.c: Likewise.
1736
1737 * config.table: Use mh-beos.
1738 * config/mh-beos: New file.
1739
391cdef0
MM
17401999-04-11 Mark Mitchell <mark@codesourcery.com>
1741
1742 * cplus-dem.c (demangle_template_value_parm): Handle
1743 pointers-to-members.
1744 (do_type): Handle template parameters as qualifiers.
1745
9d229989
JB
17461999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1747
1748 * cplus-dem.c: Attempt to handle overflows in counts with some
1749 semblance of grace.
1750 (consume_count): Detect overflows. Return -1 to indicate errors,
1751 instead of zero.
1752 (demangle_template_value_parm, demangle_template): Handle change
1753 to consume_count's return convention.
1754
7c72138a
TT
17551999-04-05 Tom Tromey <tromey@cygnus.com>
1756
1757 * testsuite/regress-demangle: New file.
1758 * testsuite/demangle-expected: New file.
1759
1760 * Makefile.in (all, check, installcheck, info, install-info,
1761 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1762 distclean, maintainer-clean, realclean): Depend on corresponding
1763 `-subdir' target.
1764 (all-subdir check-subdir installcheck-subdir info-subdir
1765 install-info-subdir clean-info-subdir dvi-subdir
1766 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1767 distclean-subdir maintainer-clean-subdir): New target.
1768 * testsuite/Makefile.in: New file.
1769 * configure: Rebuilt.
1770 * configure.in: Create testsuite/Makefile.
1771
ae7f7270
MM
17721999-04-02 Mark Mitchell <mark@codesourcery.com>
1773
1774 * splay-tree.h (splay_tree_compare_pointers): Define.
1775
30f72379
MM
17761999-03-30 Mark Mitchell <mark@codesourcery.com>
1777
1778 * splay-tree.c (splay_tree_compare_ints): Define.
1779
4cc48683
TT
17801999-03-30 Tom Tromey <tromey@cygnus.com>
1781
1782 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1783 don't advance input pointer.
1784 (demangle_class_name): If consume_count didn't find a count, do
1785 nothing. Don't bother with `strlen' sanity check; consume_count
1786 does it for us.
1787
3510075c
JL
17881999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1789
1790 From Art Haas <ahaas@neosoft.com>:
1791 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1792 when doing arm or hp style.
1793 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 1794
89f602a7
MK
1795Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1796
1797 * pexecute.c (__CYGWIN32__): Rename to
1798 (__CYGWIN__): this.
1799 * xmalloc.c: Likewise.
1800
1801 Changes to support i386-pc-uwin.
1802 * configure.in (*-*-uwin*): Workaround for vfork bug.
1803 * configure: Regenerate.
1804 * pexecute.c (pexecute): Be like standard Unix.
1805 (pwait): Likewise.
1806 * xmalloc.c (first_break): Define.
1807 (xmalloc_set_program_name): Use.
1808 (xmalloc): Use.
1809
9346c824
FS
1810Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1811
1812 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1813
3510075c
JL
1814Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1815
1816 * config.table: Check cygwin*, not cygwin32*.
1817
8ec65f13
DB
1818Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1819
1820 * Makefile.in: Change mkstemp -> mkstemps.
1821
687361c8
ME
1822Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1823
1824 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1825 * configure.in (funcs): Check for and conditionally add mkstemps to
1826 the list of functions libiberty will provide.
1827 * configure: Rebuilt.
5194cf08 1828
b207e09c
MK
1829Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1830
5194cf08 1831 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
1832 platforms that don't have HZ.
1833 * getruntime.c (HZ): Likewise.
1834
16b4c15e
RH
1835Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1836
1837 * Makefile.in (xstrdup.o): Depend on config.h.
1838
38beb75c
UD
1839Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1840
1841 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1842 freeing it.
1843
7e4311a3
KG
1844Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1845
1846 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1847
3510075c
JL
1848Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1849
1850 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1851 splay-tree.o.
1852
18531999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1854
1855 * configure.in: Require autoconf 2.12.1 or higher.
1856
fb9939b8
MM
18571998-12-30 Michael Meissner <meissner@cygnus.com>
1858
1859 * random.c (NULL): Don't redefine NULL if it is already defined.
1860
087aa398
KG
1861Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1862
1863 * argv.c (buildargv): Cast the result of alloca in assignment.
1864
1865 * choose-temp.c: Include stdlib.h.
38beb75c 1866
087aa398 1867 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
1868 (snarf_numeric_literal): Constify first parameter.
1869 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1870 int, not a char.
087aa398
KG
1871 (demangle_qualifier): Likewise.
1872 (demangle_signature): Cast the argument of a ctype function to
1873 unsigned char.
1874 (arm_pt): Add parens around assignment used as truth value.
1875 (demangle_arm_hp_template): Constify variable `args'.
1876 (do_hpacc_template_const_value): Cast the argument of a ctype
1877 function to unsigned char.
1878 (do_hpacc_template_literal): Remove unused variable `i'.
1879 (snarf_numeric_literal): Constify parameter `args'.
1880 Cast the argument of a ctype function to unsigned char.
1881
1882 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 1883 avoid ambiguous `else'.
38beb75c 1884
087aa398 1885 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
1886 `cstart' and `cend' to unsigned char. Cast the argument of macro
1887 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
1888
1889 * objalloc.c (free): Add prototype.
1890
21f2174d
HPN
1891Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1892
1893 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1894
3510075c
JL
1895Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1896
1897 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 1898 doesn't exist.
3510075c 1899 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 1900
e8fc8222
AM
1901Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1902
1903 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1904 bumping the pointer we read from. Also prepend these codes,
1905 as we do in other places.
1906
3510075c
JL
19071998-12-18 Nick Clifton <nickc@cygnus.com>
1908
1909 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1910 'const char *' in order to match its usage when calling siblings.
1911 (snarf_numeric_literal): Make first arg 'const char **' in order
1912 to match usage.
11a0bb74 1913
f4f30aa1
JL
1914Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1915
11a0bb74
KG
1916 * choose-temp.c: Don't check IN_GCC anymore.
1917
1918 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1919 * memchr.c (memchr): Likewise.
1920 * memcpy.c (memcpy): Likewise.
1921 * memmove.c (memmove): Likewise.
38beb75c 1922
11a0bb74
KG
1923 * mkstemp.c: Don't check IN_GCC anymore.
1924 * pexecute.c: Likewise.
1925 * splay-tree.c: Likewise.
38beb75c 1926
11a0bb74
KG
1927 * strchr.c (strchr): Use `const', not `CONST'.
1928 * strrchr.c (strrchr): Likewise.
1929 * strtol.c (strtol): Likewise.
1930 * strtoul.c (strtoul): Likewise.
1931
70d5ccef
DT
1932Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1933 Elena Zannoni <ezannoni@cygnus.com>
1934 Stan Shebs <shebs@cygnus.com>
1935 Edith Epstein <eepstein@cygnus.com>
1936 Andres MacLeod <amacleod@cygnus.com>
1937 Satish Pai <pai@apollo.hp.com>
1938
1939 * HP aCC demangling support.
1940 * cplus-dem.c
1941 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
1942 demangling correctly when -edg specified; set the demangling style
1943 when user specifies 'edg'. Set strip_underscore to
1944 prepends_underscore, if not HPUXHPPA. Set
1945 current_demangling_style to hp_demangling if HPUXHPPA. Set
1946 current demangling style correctly if the switch is hp. Read
1947 label correctly also in the HP style case.
70d5ccef 1948 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 1949 function.
70d5ccef 1950 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 1951 style for this case is the same as ARM.
70d5ccef
DT
1952 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1953 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
1954 demangle_arm_pt.); check and set value of temp_start field in
1955 multiple places. Also, when ceching for end of template args,
1956 check to see if at end of static member of template class.
70d5ccef 1957 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 1958 include template args in string defining class.
70d5ccef
DT
1959 (demangle_class_name): use demangel_arm_hp_template.
1960 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
1961 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1962 Handle EDG_DEMANGLING style. Handle constructor and destructor
1963 ops for HP style.
70d5ccef 1964 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
1965 styles. global destructor and constructor for HP style are same
1966 as for ARM style. Same for local variables.
70d5ccef
DT
1967 (demangle_qualified): handle EDG_DEMANGLING style.
1968 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
1969 cases '1' - '9' : initialize the temp_start field to -1 and handle
1970 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1971 and AUTO_DEMANGLING styles. If expecting a function and managed
1972 to demangle the funct args, then handle the LUCID_DEMANGLING,
1973 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1974 class name after "Lnnn_ in HP style case. HP style too needs to
1975 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 1976 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 1977 value param for HP/aCC.
70d5ccef 1978 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 1979 literal parameter for HP aCC.
70d5ccef
DT
1980 (recursively_demangle): new function
1981 (snarf_numeric_literal): new function.
1982 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 1983 to message.
70d5ccef 1984
8d525fa8
CF
1985Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1986
1987 * pexecute.c: Remove obsolete ifdefed cygwin code.
1988
9b1a92d8
KG
1989Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1990
1991 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1992 * cplus-dem.c: Likewise. Conform to libiberty.h.
1993 * pexecute.c: Likewise.
1994 * splay-tree.c: Likewise.
1995
c85c3232
MS
19961998-11-25 Mike Stump <mrs@wrs.com>
1997
1998 * Makefile.in (splay-tree.o): Add config.h dependency.
1999
35a6cd99
KG
2000Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2001
2002 * configure.in: Use AC_PREREQ(2.12.1).
2003
6e6e34b7
BK
20041998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2005
5194cf08 2006 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 2007
59b67c11
JL
2008Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2009
2010 * mpw.c (mpw_access): Add missing parens.
2011
a6458d1d
KG
2012Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2013
2014 * configure.in: Call AC_HEADER_SYS_WAIT.
2015
2016 * pexecute.c: Include sys/wait.h when !IN_GCC.
2017
3510075c
JL
2018Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2019
2020 * pexecute.c: revert back to checking old Cygwin
2021 preprocessor symbol until some time has passed.
2022
2023Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2024
2025 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2026 since it will now support similar constructs.
2027
a9acf741
KG
2028Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2029
2030 * configure.in: Check for calloc.
2031
2032 * calloc.c: New file.
2033
2034 * xmalloc.c (xcalloc): New function.
2035
a49fb37a
AM
2036Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2037
2038 *cplus-dem.c (demangle_prefix): Use the last "__"
2039 in the mangled name when looking for the signature. This allows
2040 template names to begin with "__".
2041
0e714131
MM
20421998-11-08 Mark Mitchell <mark@markmitchell.com>
2043
ec2288ff
MM
2044 * cplus-dem.c (type_kind_t): Add tk_reference.
2045 (demangle_template_value_parm): Handle it.
2046 (do_type): Use it for references, instead of tk_pointer.
2047
0e714131
MM
2048 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2049 not internal_cplus_demangle.
2050
2931b6d4
KG
2051Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2052
2053 * choose-temp.c: Don't include gansidecl.h.
2054 * mkstemp.c: Likewise.
2055 * pexecute.c: Likewise.
2056
dd8f3ed5
GN
2057Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2058
5194cf08
ZW
2059 * configure.in: detect cygwin* instead of cygwin32*
2060 * configure: regenerate
dd8f3ed5 2061
c5f7c445
KG
2062Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2063
2064 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
2065 whether to include config.h. Possibly include unistd.h in the
2066 !IN_GCC case. Define VFORK_STRING as a printable function call
2067 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2068 defined, include vfork.h. If VMS is defined, define vfork()
2069 appropriately. Remove vfork check on USG, we're using autoconf.
2070 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2071 locally what string to use.
c5f7c445 2072
ad3ef78e
MM
20731998-10-26 Mark Mitchell <mark@markmitchell.com>
2074
2075 * splay-tree.c: Tweak include directives to make sure declarations of
2076 xmalloc and free are available.
2077
224301c1
MM
20781998-10-25 Mark Mitchell <mark@markmitchell.com>
2079
2080 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2081 anonymous namespaces.
38beb75c 2082
d9db46fd
MM
20831998-10-23 Mark Mitchell <mark@markmitchell.com>
2084
2085 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2086 with type_quals.
2087 (TYPE_UNQUALIFIED): New macro.
2088 (TYPE_QUAL_CONST): Likewise.
2089 (TYPE_QUAL_VOLATILE): Likewise.
2090 (TYPE_QUAL_RESTRICT): Likewise.
2091 (code_for_qualifier): New function.
2092 (qualifier_string): Likewise.
2093 (demangle_qualifier): Likewise.
2094 (internal_cplus_demangle): Use them.
2095 (demangle_signature): Likewise.
2096 (demangle_template_value_parm): Likewise.
2097 (do_type): Likewise.
2098 (demangle_fund_type)): Likewise.
224301c1 2099
b056ad1c
KG
2100Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2101
2102 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2103 to match prototype.
2104
ed87f9c8
MM
21051998-10-21 Mark Mitchell <mark@markmitchell.com>
2106
2107 * splay-tree.c: New file.
2108 * Makefile.in (CFILES): Add it.
2109 (REQUIRED_OFILES): Likewise.
2110 (splay-tree.o): Add dependencies.
2111
e0c13971
AS
2112Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2113
2114 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2115 range of 'K' index.
2116
91e0f659
KG
2117Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2118
2119 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2120
2121 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2122 `unsigned char'.
2123 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2124 comparing against one.
2125 (cplus_mangle_opname): Likewise.
2126 (demangle_integral_value): Cast argument of ctype macro to
2127 `unsigned char'.
2128 (demangle_template_value_parm): Likewise.
2129 (demangle_template): Initialize variable `bindex'. Cast the
2130 result of `strlen' to (int) when comparing against one. Remove
2131 unused variable `start_of_value_parm'.
2132 (demangle_class_name): Cast the result of `strlen' to (int) when
2133 comparing against one.
2134 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2135 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2136 when comparing against one.
2137 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2138 (get_count): Likewise.
2139 (do_type): Likewise. Cast the result of `strlen' to (int) when
2140 comparing against one.
2141 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2142 (demangle_function_name): Cast the result of `strlen' to (int)
2143 when comparing against one.
2144
2145 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2146 comparing against one.
2147
73aeb2ff
JL
2148Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2149
5194cf08
ZW
2150 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2151 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2152 * config.in, configure: Rebuilt.
ae76f1be 2153
73aeb2ff
JL
2154 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2155 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2156 * config.in, configure: Rebuilt.
2157
dd8f3ed5
GN
2158Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2159
5194cf08 2160 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 2161
f77d8413
MT
2162Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2163
2164 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2165
ca6b370d
JL
2166Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2167
2168 * Merge egcs & devo libiberty.
2169
ab4856b1
ML
2170