]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
6f848550
DD
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
44354ae1
DD
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
42da15d6
DD
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
b117c158
DD
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
c78d91b1
DD
442002-01-31 Phil Edwards <pme@gcc.gnu.org>
45
46 * cp-demangle.c: Revert yesterday's change.
47
bef8b55d
DD
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
2c955b8b
DD
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
58b1717a
RH
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
cc096b71
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
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
20d54542
DD
892002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
90
c23795e2
DD
91 * cp-demangle.c (long_options): Const-ify.
92 * cplus-dem.c (long_options): Likewise.
93
20d54542
DD
94 * cplus-dem.c (mystrstr): Delete. All callers changed to use
95 strstr instead.
96
f348a7b1
DD
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.
101
d86cd745
DD
1022001-12-24 Douglas B. Rupp <rupp@gnat.com>
103
104 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
105 * configure: Regenerated.
106
ae533646
DD
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
c0eb281b
DD
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
2da4c07f
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
24acd898
DD
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
fec50157 1312001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 132 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
133
134 * Makefile.in (stamp-h): Depend on Makefile for proper
135 serialization.
136 (*-subdir): Depend on config.h for proper serialization.
137
5527febf
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
941d74a0
DD
1442001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
145
146 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
147 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
148 is available.
149
dc579051
DD
150Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
151
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
158 * regex.c (PREFIX): Provide an alternate definition for
159 non-ANSI/ISO compilers.
160 (ARG_PREFIX): Likewise.
161
1a78a35a
DD
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
4e55c4b6
DD
1702001-11-03 Alan Modra <amodra@bigpond.net.au>
171
172 * configure.in: Cope with missing makeinfo.
173 * configure: Regenerate.
174
d311a83a
DD
1752001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
176
177 * hex.c (hex_init): Provide empty stub.
178
179 * hex.c (hex_init): Delete.
180 (_hex_value): Const-ify and initialize at compile-time.
181
3bc62f91
DD
1822001-10-19 H.J. Lu <hjl@gnu.org>
183
184 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
185 necessary.
186
5d852400
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,
5527febf 191 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
192 Improve manual formatting.
193 * functions.texi: Regenerate.
194
ba19b94f
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.
207
56056af5
DD
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
99b58139
DD
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
e6450fe5
DD
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
da191b5b
DD
2372001-09-29 DJ Delorie <dj@redhat.com>
238
239 * configure: Regenerate.
240
916aaa12
DD
2412001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242
243 * concat.c: Include stdlib.h.
244
fa9f0e33
DD
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
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.
268
39423523
DD
2692001-09-20 DJ Delorie <dj@redhat.com>
270 Phil Edwards <pedwards@disaster.jaj.com>
271
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.
293
66c94e19
DD
2942001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
295
296 * concat.c (reconcat): Fix for traditional C.
297
99ee3a8f
DD
2982001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
299
300 * concat.c (reconcat): New function.
301
54c20242
DD
3022001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303
304 * concat.c (vconcat_length, vconcat_copy, concat_length,
305 concat_copy, concat_copy2): New functions.
306 (concat): Use vconcat_length/vconcat_copy.
307
308 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
309 Define.
310
843f21be
DD
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.
315
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
8a423cb3
DD
3202001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
321
322 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
323
dc676635
DD
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
f080c76d
DD
3352001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
336
4e55c4b6
DD
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.
f080c76d 341
f01b59ed
DD
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
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
eb828599
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
4e55c4b6
DD
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
68a41de7
DD
3712001-08-17 Christopher Faylor <cgf@cygnus.com>
372
373 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
374 * configure: Regenerate.
375
8fc34799
DD
3762001-08-16 Richard Henderson <rth@redhat.com>
377
378 * hashtab.c (htab_hash_string): New.
379
16bad250
AC
3802001-08-13 Andrew Cagney <ac131313@redhat.com>
381
382 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
383 name.
384
a9022147
DD
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
8aefe91a 3912001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
392
393 * lbasename.c (lbasename): Change function definition to return a
394 const char pointer.
395
e7e9b069
DD
3962001-08-07 Jason Merrill <jason_merrill@redhat.com>
397
398 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
399 for".
400
cc5144f8
DD
4012001-08-03 Richard Henderson <rth@redhat.com>
402
403 * Makefile.in (concat.o): Depend on config.h.
404
8aefe91a
DD
4052001-07-30 Andreas Jaeger <aj@suse.de>
406
407 * concat.c: Include "config.h".
408
86710ce2
DD
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
a5d8f731
DD
4262001-07-25 Daniel Jacobowitz <drow@mvista.com>
427
428 * Makefile.in (regex.o): Add dependency on config.h.
429
6ad8a379
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
2a6ef469
DD
4442001-07-10 Jeff Johnston <jjohnstn@redhat.com>
445
446 * Makefile.in: Add support for regex code.
447 * regex.c: New file.
448
7b78baae
DD
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
926150e2
DD
4552001-06-18 Richard Henderson <rth@redhat.com>
456
457 * concat.c: Include <sys/types.h>.
458
11f6f21d
DD
4592001-06-11 Loren J. Rittle <ljrittle@acm.org>
460
461 bootstrap/3106
462 * strerror.c (sys_nerr): Hide the OS header version.
463 * strsignal.c (sys_nsig): Likewise.
464
d42dae6c
DD
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
e05c6d27
DD
4702001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
471
472 * partition.c: Fix misspelling of `implementation'.
473
b50c4073
DD
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
457161bf
DD
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
e00bc6a7
DD
4872001-05-07 Mark Mitchell <mark@codesourcery.com>
488
489 * splay-tree.h (splay_tree_max): New function.
490 (splay_tree_min): Likewise.
491
400ee7e1
DB
4922001-04-15 Daniel Berlin <dan@cgsoftware.com>
493
494 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
495
496 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 497
d9697354
DD
4982001-04-03 Zack Weinberg <zackw@stanford.edu>
499
500 * make-temp-file.c (try): Inline.
501
a7bf099b
DD
5022001-02-28 Richard Henderson <rth@redhat.com>
503
504 * Makefile.in (make-temp-file.o): Depend on config.h.
505
30a1def2
DD
5062001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
507
508 * memchr.c (memchr): Adjust condition to avoid infinite loop.
509
079c672a
DD
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
a88e356a
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
1dffcc66
DD
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
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
e61231f1
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
a9cbbe6d
DD
5462001-03-20 Jason Merrill <jason@redhat.com>
547
548 * cplus-dem.c (main): Skip initial $.
549
b1e51b3c
DD
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
8aa30e60 5552001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 556 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 557
8aa30e60
DD
558 * libiberty/lbasename.c: New file.
559 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 560
30673bf5
DD
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.
fa03f0a7 569
30673bf5
DD
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.
fa03f0a7 579
5810f394
DD
5802001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
581
582 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 583
a9db032a
DD
5842001-02-16 Loren J. Rittle <ljrittle@acm.org>
585
586 * cplus-dem.c (main): Initialize style.
fa03f0a7 587
8aefe91a
DD
5882001-02-02 Phil Edwards <pme@sources.redhat.com>
589
590 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
591
bc9bf259
DD
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.
607 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
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.
fa03f0a7 613
f6528837
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.
9d969b59 622
c6da642e
DD
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
ae7d06ad 6302000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
631
632 * safe-ctype.c: #include "ansidecl.h".
633 * strtod.c: Likewise.
634
ae7d06ad 6352000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
636
637 * strtoul.c: Include safe-ctype.h, not ctype.h.
638
ac424eb3
DD
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
4415a860
DD
6512000-12-07 Mike Stump <mrs@wrs.com>
652
653 * Makefile.in (distclean): When cleaning, remove testsuite.
654
849ee224
DD
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
ae7d06ad 6602000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
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.
ae7d06ad 666 (main): Use standard symbol chars for auto_demangling.
e49a569c 667
ae7d06ad 6682000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
669
670 * hashtab.c (higher_prime_number): Use a table, rather than a
671 seive, to find the next prime.
ae7d06ad
NC
672
6732000-11-22 H.J. Lu <hjl@gnu.org>
674
675 * cplus-dem.c (main): Handle gnat_demangling.
676
6772000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
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.
ae7d06ad 687
2ea7befd
DD
688 * xmalloc.c (xmalloc_failed): New function, does error
689 reporting on failed allocation.
690 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 691
f1775526
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
ae7d06ad 7042000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
705
706 * cplus-dem.c (grow_vect): Prototype.
707 (ada_demangle): Cast the arg of ctype macros to unsigned char.
708
5dd42ef4
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
296731c1
DD
7142000-11-15 Kenneth Block <kenneth.block@compaq.com>
715
8944fb9d 716 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
717 be used in GCC.
718
6e53a714 7192000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 720
5dd42ef4 721 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
722 list.
723
99a4c1bd
HPN
7242000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
725
726 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
727 xcalloc depending on htab->return_allocation_failure. Return zero
728 if calloc fails.
99a4c1bd
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.
8aefe91a 732 Update comment to cover this.
99a4c1bd 733
e0f3df8f
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
ae7d06ad 7402000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
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.
ae7d06ad 746 Rename throughout.
59666b35
DD
747 (result_append): Rename to...
748 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 749 throughout.
59666b35
DD
750 (result_append_char): Rename to...
751 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 752 throughout.
59666b35
DD
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.
ae7d06ad 764 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
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
ae7d06ad
NC
768 call to demangle_array_type.
769 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 770
ae7d06ad 7712000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
772
773 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
774
7752000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
776
777 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
778
7792000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
780
781 * splay-tree.c: #include <stdio.h>.
782
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
7892000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
790
791 * splay-tree.c (splay_tree_predecessor): New function.
792 (splay_tree_successor): Likewise.
ae7d06ad
NC
793
7942000-09-10 Hans-Peter Nilsson <hp@axis.com>
795
796 * testsuite/demangle-expected: Add four tests for type_info
797 mangling.
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
8012000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
802
803 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
804
8052000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
806
807 * md5.c: #include "ansidecl.h".
808
8092000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
810
811 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
812 (demangle_type): Handle substitution candidates correctly in the
813 face of special substitutions.
ae7d06ad
NC
814
8152000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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
827 parameter.
828 (demangle_class_enum_type): Rename parameter.
829 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
830
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
8362000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
837
838 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
839 <expression>.
ae7d06ad
NC
840
8412000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
842
843 * cp-demangle.c (demangle_type_ptr): Increment position past
844 pointer and reference characters.
ae7d06ad
NC
845
8462000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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.
ae7d06ad
NC
853
8542000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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
863 parm number.
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
867 substitution_add.
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
873 substitutions here.
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
881 demangle_template_param.
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.
ae7d06ad
NC
885
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
8922000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
893
894 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
895
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
9022000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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.
ae7d06ad
NC
911
9122000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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.
926 (demangle_template_param): Don't handle template arg lists here.
927 (demangle_substitution): Remove parameter.
928 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
929
9302000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
931
932 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
933
9342000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
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.
ae7d06ad
NC
939
9402000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
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.
d3e85005 951
ae7d06ad 9522000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 953
ae7d06ad 954 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 955
ae7d06ad 9562000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
957
958 * config/mh-openedition.h: Added -DLE370 definition.
959
a9f34fb6
JL
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
90aaccd1 9692000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 970 Jeff Law <law@cygnus.com>
90aaccd1 971
ae7d06ad 972 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 973
90aaccd1 974 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
975 * rename.c: Include config.h, unistd.h
976 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 977
6ef554e3
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
ae7d06ad 9922000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 993
ae7d06ad 994 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
995 if (AUTO_DEMANGLING || GNU_DEMANGLING)
996
ae7d06ad
NC
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
b1233257 10032000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1004 Jeff Law <law@cygnus.com>
1005
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
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.
b1233257 1017
7d3ffcaf
JL
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
b1233257
JL
1023 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1024
ae7d06ad
NC
10252000-07-21 Mike Stump <mrs@wrs.com>
1026
1027 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1028 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1029
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
9adf30b2
JL
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
2ed78d1b
HPN
10542000-07-17 Hans-Peter Nilsson <hp@axis.com>
1055
1056 * testsuite/regress-demangle (failed test): Show result and
1057 expected output.
1058
0473bdf7
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
03d5f569
JM
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.
ae7d06ad 1073
03d5f569
JM
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
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.
ae7d06ad 1131
eb383413 11322000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1133
eb383413
L
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>.
9cc28cc8 1138
eb383413
L
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
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
11512000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1152
1153 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1154
eb383413
L
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'.
ae7d06ad 1173
eb383413
L
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
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
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.
ae7d06ad 1211
f03aa80d
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
77bfb694
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
5c82d20a
ZW
12202000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1221
eb383413 1222 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
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
eb383413
L
12322000-05-23 Mike Stump <mrs@wrs.com>
1233
1234 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1235 -j3.
eb383413
L
1236
12372000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1238
1239 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1240
12412000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1242
ae7d06ad 1243 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1244 probably zero, also eliminate a warning on alpha.
1245
12462000-05-15 David Edelsohn <edelsohn@gnu.org>
1247
1248 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1249 on $(enable_shared).
1250
12512000-05-10 Jakub Jelinek <jakub@redhat.com>
1252
1253 * config.table: Use mh-sparcpic for sparc*-*-*.
1254
12552000-05-08 Nick Clifton <nickc@cygnus.com>
1256
1257 * Makefile.in (CFILES): Add strncmp.c.
1258 (NEEDED): Add strncmp.
1259
12602000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1261
eb383413
L
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
1266Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1267
1268 * sort.c (UCHAR_MAX): Provide fallback definition.
1269
12702000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1271
1272 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1273 SUBDIRS.
1274
eb383413
L
12752000-04-28 Kenneth Block <block@zk3.dec.com>
1276 Jason Merrill <jason@casey.cygnus.com>
1277
ae7d06ad
NC
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.
eb383413
L
1281
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
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
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
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
13092000-04-23 Mark Mitchell <mark@codesourcery.com>
1310
1311 * sort.c (sort_pointers): Fix endianness bugs.
1312
1313 * sort.c: New file.
1314 * Makefile.in (CFILES): Add sort.c
1315 (REQUIRED_OFILES): Add sort.o.
1316 (sort.o): New target.
1317
19be4303
JL
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
eb383413
L
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
13292000-04-16 Dave Pitts <dpitts@cozx.com>
1330
1331 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1332
afe36a78
RH
13332000-04-05 Richard Henderson <rth@cygnus.com>
1334
1335 * splay-tree.c (splay_tree_remove): New.
1336
eb383413
L
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.
ae7d06ad 1343
eb383413
L
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
b4fe2683
JM
1351Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1352
1353 * Makefile.in (partition.o): Depend on config.h
1354
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
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.
ae7d06ad 1372
b4fe2683
JM
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
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
08372f14
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
9c8ac5a9
ILT
14061999-07-21 Ian Lance Taylor <ian@zembu.com>
1407
1408 From Mark Elbrecht:
1409 * makefile.dos: Remove; obsolete.
8f36e47c 1410 * configure.bat: Remove; obsolete.
9c8ac5a9 1411
0c0a36a4
ILT
14121999-07-11 Ian Lance Taylor <ian@zembu.com>
1413
1414 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1415 warning.
1416
14172000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1418
1419 * pexecute.c: Conditionally include string.h.
b4fe2683 1420 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1421
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
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
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
1441Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1442
1443 * hashtab.c (sys/types.h): File included.
1444
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
1452Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1453
1454 * hashtab.c: Include stdio.h.
1455
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
1460Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1461
1462 * xstrdup (sys/types.h): Include this file.
1463
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
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
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
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.
b4fe2683 1499
0c0a36a4
ILT
15001999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1501
1502 * calloc.c: Add a public domain notice.
1503
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
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
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
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
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
15321999-10-02 Mark Mitchell <mark@codesourcery.com>
1533
1534 * xmalloc.c (xmalloc): Fix spelling error.
1535 (xcalloc, xrealloc): Likewise.
1536
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
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
1551Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1552
1553 * xmemdup.c: Include sys/types.h.
1554
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
1560Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1561
b4fe2683 1562 * config.table: Add openedition target.
0c0a36a4
ILT
1563 * config/mh-openedition: New file.
1564
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
15691999-08-31 Richard Henderson <rth@cygnus.com>
1570
1571 * getpwd.c: Check HAVE_GETCWD before defining it away.
1572
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
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
b4fe2683 1591 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1592 (main): Constify variable `valid_symbols'.
1593
1594Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1595
1596 * strtoul.c (strtoul): Add parentheses around && within ||.
1597
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
16031999-08-01 Mark Mitchell <mark@codesourcery.com>
1604
1605 * splay-tree.c (splay_tree_insert): Return the new node.
1606
35ca97ea
RH
16071999-07-14 Richard Henderson <rth@cygnus.com>
1608
b4fe2683 1609 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1610 prototyping directly.
1611 * choose-temp.c: Conditionally include string.h.
1612
0c0a36a4
ILT
16131999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1614
1615 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1616
af32ff69
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
0c0a36a4
ILT
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
16271999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1628
1629 * configure.in (checkfuncs): Add gettimeofday.
1630 * config.in, configure: Regenerated.
1631
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
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
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
1648Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1649
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
1656 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1657 bytes of space using malloc.
1658
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
16651999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1666
1667 * tmpnam.c (L_tmpnam): Fix typo.
1668
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
e9868447
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
33fbbfbc
RH
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
0c0a36a4
ILT
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
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
252b5132
RH
17001999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1701
1702 Fix from Dale Hawkins:
b4fe2683 1703 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
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
c1687039
ILT
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
0c0a36a4
ILT
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
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
252b5132
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
0c0a36a4
ILT
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
252b5132
RH
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
0c0a36a4
ILT
17551999-04-05 Tom Tromey <tromey@cygnus.com>
1756
1757 * testsuite/regress-demangle: New file.
1758 * testsuite/demangle-expected: New file.
252b5132 1759
0c0a36a4
ILT
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.
252b5132
RH
1771
17721999-04-02 Mark Mitchell <mark@codesourcery.com>
1773
1774 * splay-tree.h (splay_tree_compare_pointers): Define.
1775
17761999-03-30 Mark Mitchell <mark@codesourcery.com>
1777
1778 * splay-tree.c (splay_tree_compare_ints): Define.
1779
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
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.
b4fe2683 1794
252b5132
RH
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
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
1814Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1815
1816 * config.table: Check cygwin*, not cygwin32*.
1817
1818Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1819
1820 * Makefile.in: Change mkstemp -> mkstemps.
1821
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.
b4fe2683 1828
252b5132
RH
1829Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1830
b4fe2683 1831 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1832 platforms that don't have HZ.
1833 * getruntime.c (HZ): Likewise.
1834
1835Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1836
1837 * Makefile.in (xstrdup.o): Depend on config.h.
1838
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
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
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
18571998-12-30 Michael Meissner <meissner@cygnus.com>
1858
1859 * random.c (NULL): Don't redefine NULL if it is already defined.
1860
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.
1866
1867 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
1868 (snarf_numeric_literal): Constify first parameter.
1869 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1870 int, not a char.
252b5132
RH
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
8aefe91a 1883 avoid ambiguous `else'.
252b5132
RH
1884
1885 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
1886 `cstart' and `cend' to unsigned char. Cast the argument of macro
1887 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
1888
1889 * objalloc.c (free): Add prototype.
1890
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
1895Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1896
1897 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 1898 doesn't exist.
252b5132 1899 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1900
252b5132
RH
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
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.
1913
1914Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1915
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.
1922
1923 * mkstemp.c: Don't check IN_GCC anymore.
1924 * pexecute.c: Likewise.
1925 * splay-tree.c: Likewise.
1926
1927 * strchr.c (strchr): Use `const', not `CONST'.
1928 * strrchr.c (strrchr): Likewise.
1929 * strtol.c (strtol): Likewise.
1930 * strtoul.c (strtoul): Likewise.
1931
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
8aefe91a
DD
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.
252b5132 1948 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 1949 function.
252b5132 1950 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 1951 style for this case is the same as ARM.
252b5132
RH
1952 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1953 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
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.
252b5132 1957 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 1958 include template args in string defining class.
252b5132
RH
1959 (demangle_class_name): use demangel_arm_hp_template.
1960 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
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.
252b5132 1964 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
1965 styles. global destructor and constructor for HP style are same
1966 as for ARM style. Same for local variables.
252b5132
RH
1967 (demangle_qualified): handle EDG_DEMANGLING style.
1968 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
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.
252b5132 1976 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 1977 value param for HP/aCC.
252b5132 1978 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 1979 literal parameter for HP aCC.
252b5132
RH
1980 (recursively_demangle): new function
1981 (snarf_numeric_literal): new function.
1982 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 1983 to message.
252b5132
RH
1984
1985Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1986
1987 * pexecute.c: Remove obsolete ifdefed cygwin code.
1988
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
19961998-11-25 Mike Stump <mrs@wrs.com>
1997
1998 * Makefile.in (splay-tree.o): Add config.h dependency.
1999
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
20041998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2005
b4fe2683 2006 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2007
2008Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2009
2010 * mpw.c (mpw_access): Add missing parens.
2011
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
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
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
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
20421998-11-08 Mark Mitchell <mark@markmitchell.com>
2043
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
2048 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2049 not internal_cplus_demangle.
2050
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
2057Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2058
b4fe2683
JM
2059 * configure.in: detect cygwin* instead of cygwin32*
2060 * configure: regenerate
252b5132
RH
2061
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
8aefe91a
DD
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.
252b5132
RH
2072
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
20781998-10-25 Mark Mitchell <mark@markmitchell.com>
2079
2080 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2081 anonymous namespaces.
2082
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.
2099
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
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
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
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
2148Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2149
b4fe2683
JM
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.
252b5132
RH
2153
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
2158Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2159
b4fe2683 2160 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2161
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
2166Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2167
2168 * Merge egcs & devo libiberty.
2169
2170