]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
From veksler at il.ibm.com:
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
38e57a35
DD
12002-03-27 Mark Mitchell <mark@codesourcery.com>
2
3 * dyn-string.c: Add libgcc exception to copyright notice.
4
cfed0715
DD
52002-03-26 H.J. Lu (hjl@gnu.org)
6
7 * config.table: Support --with-build-subdir.
8 * configure.in: Likewise.
9 * configure: Rebuild.
10
1504972f
DD
112002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
12
13 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
14 seen.
15
35efcd67
DD
162002-03-12 Mark Mitchell <mark@codesourcery.com>
17
18 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
19 notice.
20
dabc64ea
DD
212002-03-11 Douglas B Rupp <rupp@gnat.com>
22
23 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
24
3ddbd84c
JB
252002-03-06 Jim Blandy <jimb@redhat.com>
26
27 * splay-tree.c (splay_tree_xmalloc_allocate,
28 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
29 prototyped definitions. Mark `data' arguments as unused.
30
efdab807
AC
312002-03-06 Andrew Cagney <ac131313@redhat.com>
32
33 * floatformat.c (floatformat_arm_ext_big): Delete definition.
34
50d4562d
DD
352002-03-04 Phil Edwards <pme@gcc.gnu.org>
36
37 * configure.in: Add --enable-install-libiberty option.
38 * Makefile.in (INSTALLED_HEADERS): New variable.
39 (install_to_libdir): Possibly also copy headers.
40 * configure: Regenerated.
41
422002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
43
44 * xmalloc.c (xmalloc_fail): Clarify error message further.
45
6e9980f5
DD
462002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
47
48 * xmalloc.c (xmalloc_fail): Clarify error message.
49
2bbcdae9
JB
502002-02-21 Jim Blandy <jimb@redhat.com>
51
52 * splay-tree.c (splay_tree_xmalloc_allocate,
53 splay_tree_xmalloc_deallocate): New functions.
54 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
55 above functions and a dummy data pointer.
56 (splay_tree_new_with_allocator): New function.
57 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
58 splay_tree_remove): Use the splay tree's allocation and
59 deallocation functions.
60
59ea9fe7
DD
612002-02-19 Scott Snyder <snyder@fnal.gov>
62
63 * testsuite/demangle-expected: Add test case for infinite loop in
64 demangler.
65 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
66 if do_type() doesn't make any progress --- prevents an infinite
67 loop.
68
6f848550
DD
692002-02-18 Carlo Wood <carlo@gnu.org>
70
71 PR c++/5390
72 * cplus-dem.c (demangle_integral_value): Accept multi-digit
73 numbers that do not start with an underscore; This is needed
74 for integer template parameters. This doesn't break anything
75 because multi-digit numbers are never followed by a digit.
76 * testsuite/demangle-expected: Corrected all mangled test
77 cases with multi-digit template parameters: g++ 2.95.x does
78 not generate underscores around these parameters.
79
44354ae1
DD
802002-02-05 Jason Merrill <jason@redhat.com>
81
82 * cplus-dem.c (flags): Add DMGL_VERBOSE
83 (cplus_demangle_v3_p): Remove.
84 (demangle_it): Add DMGL_TYPES to passed flags.
85 * cp-demangle.c (cplus_demangle_v3_all): Remove.
86 (cplus_demangle_v3_type): Remove.
87 (cplus_demangle_v3): Add options parm.
88
42da15d6
DD
892002-02-02 H.J. Lu (hjl@gnu.org)
90
91 * cp-demangle.c (cp_demangle_type): Do not protect with
92 IN_LIBGCC2.
93 (cplus_demangle_v3_all): New.
94 (cplus_demangle_v3): Call cplus_demangle_v3_all.
95 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
96
97 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
98 Initialized to cplus_demangle_v3.
99 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
100 of cplus_demangle_v3.
101 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
102 command line symbol.
103
104 * testsuite/regress-demangle: Pass the mangled name at the
105 command line.
106
b117c158
DD
1072002-02-01 H.J. Lu <hjl@gnu.org>
108
109 * cp-demangle.c (cp_demangle_type): Call demangling_new with
110 DMGL_GNU_V3.
111
c78d91b1
DD
1122002-01-31 Phil Edwards <pme@gcc.gnu.org>
113
114 * cp-demangle.c: Revert yesterday's change.
115
bef8b55d
DD
1162002-01-31 Adam Megacz <adam@xwt.org>
117
118 * gcc/libiberty/configure.in: Treat mingw the same as cywin
119 wrt HAVE_SYS_ERRLIST.
120
2c955b8b
DD
1212002-01-30 Phil Edwards <pme@gcc.gnu.org>
122
123 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
124 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
125 cp_demangle_type.
126 * testsuite/demangle-expected: New gnu-v3 test.
127
58b1717a
RH
1282002-01-22 Momchil Velikov <velco@fadata.bg>
129
130 * configure.in (variable detection): Use arrays of unspecified
131 size instead of plain integers.
132
cc096b71
DD
1332002-01-18 DJ Delorie <dj@redhat.com>
134
135 * Makefile.in (TESTLIB): New. This library is for future
136 testsuites.
137 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
138 break down by letter.
139 (REQUIRED_OFILES): List long-to-compile files first.
140 (maint-deps): New, target for updating dependencies.
141 (dependencies): Update.
142 * maint-tool: Add dependency-generating option.
143 * configure.in: Check for _doprnt even if we're not providing it.
144 * configure: Regenerate.
145
146 * _doprnt.c: Modifications to allow compiling on any platform.
147 * copysign.c: Likewise.
148 * putenv.c: Likewise.
149 * setenv.c: Likewise.
150 * vsprintf.c: Likewise.
151
1522002-01-15 Douglas B Rupp <rupp@gnat.com>
153
154 * mkstemps.c (mkstemps): On VMS, open temp file with option
155 that causes it to be deleted when closed.
156
20d54542
DD
1572002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
158
c23795e2
DD
159 * cp-demangle.c (long_options): Const-ify.
160 * cplus-dem.c (long_options): Likewise.
161
20d54542
DD
162 * cplus-dem.c (mystrstr): Delete. All callers changed to use
163 strstr instead.
164
f348a7b1
DD
1652001-12-31 Ira Ruben <ira@apple.com>
166
167 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
168 * configure: Regenerated.
169
d86cd745
DD
1702001-12-24 Douglas B. Rupp <rupp@gnat.com>
171
172 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
173 * configure: Regenerated.
174
ae533646
DD
1752001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
176
177 PR other/2719
178 * cplus-dem.c (consume_count): Treat negative count as an error.
179 * testsuite/demangle-expected: Added testcase.
180
c0eb281b
DD
181Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
182
183 * configure.in: Hardcode that vfork works on VMS host.
184 * configure: Regenerated.
185
2da4c07f
RH
1862001-12-06 Richard Henderson <rth@redhat.com>
187
188 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
189 (cplus_demangle): Support no_demangling.
190
24acd898
DD
1912001-11-27 Zack Weinberg <zack@codesourcery.com>
192
193 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
194 in libiberty context. Fix typo in leading comment.
195 * configure.in: Fix various AC_DEFINEs so autoheader works.
196 If any of vprintf, vsprintf, vfprintf is missing from libc,
197 then AC_REPLACE_FUNCS(_doprnt).
198
fec50157 1992001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 200 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
201
202 * Makefile.in (stamp-h): Depend on Makefile for proper
203 serialization.
204 (*-subdir): Depend on config.h for proper serialization.
205
5527febf
DD
2062001-11-26 DJ Delorie <dj@redhat.com>
207
208 * configure.in: Check for alloca.h (for regex.c and putenv.c).
209 * configure: Regenerate.
210 * config.h: Add HAVE_ALLOCA_H.
211
941d74a0
DD
2122001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
213
214 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
215 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
216 is available.
217
dc579051
DD
218Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
219
220 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
221 * configure.in (HAVE_UINTPTR_T): Test for system defining
222 uintptr_t and define HAVE_UINTPTR_T appropriately.
223 * regex.c (uintptr_t): Do not provide a definition if the
224 system provided one.
225
226 * regex.c (PREFIX): Provide an alternate definition for
227 non-ANSI/ISO compilers.
228 (ARG_PREFIX): Likewise.
229
1a78a35a
DD
2302001-11-12 Jim Meyering <meyering@lucent.com>
231
232 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
233 this code would end up calling gettext even in packages built
234 with --disable-nls.
235 * getopt.c (_): Likewise.
236 * regex.c (_): Likewise.
237
4e55c4b6
DD
2382001-11-03 Alan Modra <amodra@bigpond.net.au>
239
240 * configure.in: Cope with missing makeinfo.
241 * configure: Regenerate.
242
d311a83a
DD
2432001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
244
245 * hex.c (hex_init): Provide empty stub.
246
247 * hex.c (hex_init): Delete.
248 (_hex_value): Const-ify and initialize at compile-time.
249
3bc62f91
DD
2502001-10-19 H.J. Lu <hjl@gnu.org>
251
252 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
253 necessary.
254
5d852400
DD
2552001-10-17 DJ Delorie <dj@redhat.com>
256
257 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
258 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 259 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
260 Improve manual formatting.
261 * functions.texi: Regenerate.
262
ba19b94f
DD
2632001-10-15 DJ Delorie <dj@redhat.com>
264
265 * Makefile.in (TEXIFILES): Add fnmatch.txh.
266 (maint-undoc): New.
267 maint-tool: Add "undoc" tool.
268 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
269 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
270 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
271 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
272 documentation.
273 * fnmatch.txh: New.
274 * functions.texi: Regenerate.
275
56056af5
DD
2762001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
277
278 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
279 * strtod.c: Use "ISO C" instead of "ANSI C".
280 * functions.texi: Regenerate.
281
99b58139
DD
2822001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
283
284 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
285 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
286 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
287 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
288 spelling. Give names to function arguments in documentation. Use
289 (void) prototypes in documentation.
290 * functions.texi: Regenerate.
291
e6450fe5
DD
2922001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
293
294 * argv.c (buildargv, tests, main): Const-ify.
295 * cp-demangle.c (operator_code): Likewise.
296 * cplus-dem.c (optable, libiberty_demanglers,
297 cplus_demangle_set_style, cplus_demangle_name_to_style,
298 print_demangler_list): Likewise.
299 * hashtab.c (higher_prime_number): Likewise.
300 * strcasecmp.c (charmap): Likewise.
301 * strerror.c (error_info, strerror, main): Likewise.
302 * strncasecmp.c (charmap): Likewise.
303 * strsignal.c (signal_info): Likewise.
304
da191b5b
DD
3052001-09-29 DJ Delorie <dj@redhat.com>
306
307 * configure: Regenerate.
308
916aaa12
DD
3092001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
310
311 * concat.c: Include stdlib.h.
312
fa9f0e33
DD
3132001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
314
315 * libiberty.texi: (Top level): Add syncodeindex pg. Add
316 @dircategory and @direntry directives. Add @finalout.
317 (many nodes): Lose the next,prev,up pointers on the @nide line.
318 (Using, Supplemental Functions, Replacement Functions): Fix
319 markup.
320 (Functions): Move around, to allow makeinfo to build the manual
321 without next,prev,up pointers in thye node lines.
322 (Licenses): Fix typos.
323
324 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
325 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
326 * functions.texi: Regenerate.
327
328 * copying-lib.texi: Lose the next,prev,up pointers on the @node
329 line.
330
3312001-09-27 DJ Delorie <dj@redhat.com>
332
333 * configure.in: Don't use in-tree texinfo, because libiberty must
334 be built before it. Check for makeinfo version 4 or higher.
335 * functions.texi: Regenerate.
336
39423523
DD
3372001-09-20 DJ Delorie <dj@redhat.com>
338 Phil Edwards <pedwards@disaster.jaj.com>
339
340 * configure.in (MAKEINFO, PERL): Detect these.
341 (--enable-maintainer-mode): Add.
342 * configure: Regenerate.
343 * Makefile.in (MAKEINFO, PERL): Define.
344 (libiberty.info, libiberty.dvi, libiberty.html): New.
345 (CFILES): Add bsearch.c.
346 (CONFIGURED_OFILES): New, list of objects configure might add.
347 (maint-missing, maint-buildall): New, for maintainers only.
348 (clean, mostlyclean): Add info/dvi/html files.
349 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
350 * gather-docs: New, for maintainers.
351 * maint-tool: New, for maintainers.
352 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
353 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
354 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
355 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
356 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
357 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
358 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
359 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
360 documentation.
361
66c94e19
DD
3622001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363
364 * concat.c (reconcat): Fix for traditional C.
365
99ee3a8f
DD
3662001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
367
368 * concat.c (reconcat): New function.
369
54c20242
DD
3702001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
371
372 * concat.c (vconcat_length, vconcat_copy, concat_length,
373 concat_copy, concat_copy2): New functions.
374 (concat): Use vconcat_length/vconcat_copy.
375
376 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
377 Define.
378
843f21be
DD
3792001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
380
381 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
382 VA_FIXEDARG & VA_CLOSE.
383
384 * vasprintf.c: Check HAVE_STRING_H when including string.h.
385 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
386 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
387
8a423cb3
DD
3882001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
389
390 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
391
dc676635
DD
3922001-08-23 Ulrich Drepper <drepper@redhat.com>
393
394 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
395
3962001-08-23 Ulrich Drepper <drepper@redhat.com>
397
398 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
399 instead of mbrtowc.
400 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
401 wcslen, and __wcscoll instead of wcscoll.
402
f080c76d
DD
4032001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
404
4e55c4b6
DD
405 * fibheap.c (fibheap_init, fibnode_init): Remove.
406 (fibheap_new, fibnode_new): Use xcalloc to allocate and
407 initialize memory.
408 (fibheap_insert): Remove check for node allocation failure.
f080c76d 409
f01b59ed
DD
4102001-08-21 Richard Henderson <rth@redhat.com>
411
412 * Makefile.in (fibheap.o): Depend on config.h.
413 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
414 functions for inlining.
415
416Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
417
418 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
419 hosting on cygwin.
420 * configure: Regenerate.
421
eb828599
AC
4222001-08-20 Andrew Cagney <ac131313@redhat.com>
423
424 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
425 HARRIS_FLOAT_FORMAT.
426 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
427 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
428 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
429 (floatformat_m88110_harris_ext): New float formats.
430
4e55c4b6
DD
4312001-08-20 Daniel Berlin <dan@cgsoftware.com>
432
433 * fibheap.c: New file. Fibonacci heap.
434
435 * Makefile.in (CFILES): Add fibheap.c.
436 (REQUIRED_OFILES): Add fibheap.o.
437 (fibheap.o): Add dependencies for fibheap.o.
438
68a41de7
DD
4392001-08-17 Christopher Faylor <cgf@cygnus.com>
440
441 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
442 * configure: Regenerate.
443
8fc34799
DD
4442001-08-16 Richard Henderson <rth@redhat.com>
445
446 * hashtab.c (htab_hash_string): New.
447
16bad250
AC
4482001-08-13 Andrew Cagney <ac131313@redhat.com>
449
450 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
451 name.
452
a9022147
DD
4532001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
454
455 * regex.c (wcs_regex_compile): Use appropriate string
456 to compare with collating element.
457 Fix the padding for the alignment.
458
8aefe91a 4592001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
460
461 * lbasename.c (lbasename): Change function definition to return a
462 const char pointer.
463
e7e9b069
DD
4642001-08-07 Jason Merrill <jason_merrill@redhat.com>
465
466 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
467 for".
468
cc5144f8
DD
4692001-08-03 Richard Henderson <rth@redhat.com>
470
471 * Makefile.in (concat.o): Depend on config.h.
472
8aefe91a
DD
4732001-07-30 Andreas Jaeger <aj@suse.de>
474
475 * concat.c: Include "config.h".
476
86710ce2
DD
4772001-07-30 Andreas Jaeger <aj@suse.de>
478
479 * regex.c: Declare wcs functions only if compiling with
480 MBS_SUPPORT.
481 Don't use #elif for traditional C.
482
4832001-07-23 Ulrich Drepper <drepper@redhat.com>
484
485 * regex.c: Revamp memory allocation for WCHAR functions to
486 not use too much stack.
487
4882001-07-30 Andreas Jaeger <aj@suse.de>
489
490 * regex.c: Declare wcs functions only if compiling with
491 MBS_SUPPORT.
492 Don't use #elif for traditional C.
493
a5d8f731
DD
4942001-07-25 Daniel Jacobowitz <drow@mvista.com>
495
496 * Makefile.in (regex.o): Add dependency on config.h.
497
6ad8a379
DD
4982001-07-18 Andreas Schwab <schwab@suse.de>
499
500 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
501 underscore character.
502
5032001-07-18 Ulrich Drepper <drepper@redhat.com>
504
505 * regex.c: Limit string length printed in debug messages to 100
506 chars.
507
5082001-07-18 Andreas Jaeger <aj@suse.de>
509
510 * regex.c: Place under LGPL version 2.1.
511
2a6ef469
DD
5122001-07-10 Jeff Johnston <jjohnstn@redhat.com>
513
514 * Makefile.in: Add support for regex code.
515 * regex.c: New file.
516
7b78baae
DD
5172001-07-05 Mark Klein <mklein@dis.com>
518
519 * Makefile.in: Add ffs.c dependency.
520 * configure.in: Add ffs.c.
521 * ffs.c: New file.
522
926150e2
DD
5232001-06-18 Richard Henderson <rth@redhat.com>
524
525 * concat.c: Include <sys/types.h>.
526
11f6f21d
DD
5272001-06-11 Loren J. Rittle <ljrittle@acm.org>
528
529 bootstrap/3106
530 * strerror.c (sys_nerr): Hide the OS header version.
531 * strsignal.c (sys_nsig): Likewise.
532
d42dae6c
DD
5332001-06-10 Richard Henderson <rth@redhat.com>
534
535 * concat.c: Include string.h. Fix int vs size_t usage.
536 Simplify the iteration loops. Use memcpy.
537
e05c6d27
DD
5382001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
539
540 * partition.c: Fix misspelling of `implementation'.
541
b50c4073
DD
5422001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
543
544 * md5.c (md5_init_ctx): Declare constants as unsigned.
545 (md5_process_block): Likewise.
546
457161bf
DD
5472001-05-07 Zack Weinberg <zackw@stanford.edu>
548
549 * cp-demangle.c (demangle_v3_with_details,
550 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
551 function definition.
552 * ternary.c: Use K+R style function definitions. Use PTR, not
553 void *. Make arguments constant where possible.
554
e00bc6a7
DD
5552001-05-07 Mark Mitchell <mark@codesourcery.com>
556
557 * splay-tree.h (splay_tree_max): New function.
558 (splay_tree_min): Likewise.
559
400ee7e1
DB
5602001-04-15 Daniel Berlin <dan@cgsoftware.com>
561
562 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
563
564 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 565
d9697354
DD
5662001-04-03 Zack Weinberg <zackw@stanford.edu>
567
568 * make-temp-file.c (try): Inline.
569
a7bf099b
DD
5702001-02-28 Richard Henderson <rth@redhat.com>
571
572 * Makefile.in (make-temp-file.o): Depend on config.h.
573
30a1def2
DD
5742001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
575
576 * memchr.c (memchr): Adjust condition to avoid infinite loop.
577
079c672a
DD
5782001-03-23 Jakub Jelinek <jakub@redhat.com>
579
580 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
581 `_' not followed by a digit is invalid.
582
a88e356a
JB
5832001-03-22 Jim Blandy <jimb@redhat.com>
584
585 * cp-demangle.c (string_list_delete): Use dyn_string_delete
586 instead of free, to free the contents as well as the string
587 structure.
588
1dffcc66
DD
5892001-03-21 Zack Weinberg <zackw@stanford.edu>
590
591 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
592 Don't default P_tmpdir to anything. Try /var/tmp before
593 /usr/tmp.
594
5952001-03-20 Zack Weinberg <zackw@stanford.edu>
596
597 * choose-temp.c: Split off make_temp_file, and the code
598 duplicated between it and choose_temp_base, into...
599 * make-temp-file.c: ... here; new file.
600
601 * Makefile.in (CFILES): Add make-temp-file.c.
602 (REQUIRED_OFILES): Add make-temp-file.o.
603
e61231f1
JB
6042001-03-20 Jim Blandy <jimb@redhat.com>
605
606 * cp-demangle.c (struct demangling_def): New fields:
607 is_constructor and is_destructor.
608 (demangling_new): Initialize them.
609 (demangle_ctor_dtor_name): Set them, if we detect a constructor
610 or destructor.
611 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
612 is_gnu_v3_mangled_dtor): New functions.
613
a9cbbe6d
DD
6142001-03-20 Jason Merrill <jason@redhat.com>
615
616 * cplus-dem.c (main): Skip initial $.
617
b1e51b3c
DD
6182001-03-15 Michael Meissner <meissner@redhat.com>
619
620 * hashtab.c (higher_prime_number): Silence warning that 4294967291
621 might be a signed integer under pre-ISO C systems.
622
8aa30e60 6232001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 624 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 625
8aa30e60
DD
626 * libiberty/lbasename.c: New file.
627 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 628
30673bf5
DD
6292001-03-06 Zack Weinberg <zackw@stanford.edu>
630
631 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
632 * configure.in: Replace all alloca logic with a simple use of
633 the above new macro.
634 * config.table: Kill *-*-beos* entry.
635 * config/mh-beos: Delete.
636 * configure, config.in: Regenerate.
fa03f0a7 637
30673bf5
DD
638 * Makefile.in (ALLOCA, HFILES): Kill.
639 (REQUIRED_OFILES): Add alloca.o.
640 (alloca.o): Depend on libiberty.h.
641 (argv.o): Don't depend on alloca-conf.h.
642 * alloca-conf.h: Delete.
643 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
644 blocks. Provide the C alloca unconditionally. Use PTR where
645 appropriate. Make i00afunc static.
646 * argv.c: Don't include alloca-conf.h.
fa03f0a7 647
5810f394
DD
6482001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
649
650 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 651
a9db032a
DD
6522001-02-16 Loren J. Rittle <ljrittle@acm.org>
653
654 * cplus-dem.c (main): Initialize style.
fa03f0a7 655
8aefe91a
DD
6562001-02-02 Phil Edwards <pme@sources.redhat.com>
657
658 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
659
bc9bf259
DD
6602001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
661
662 Add support for Java demangling under the v3 ABI:
663 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
664 (struct demangling_def): Add `style' field.
665 (demangling_new): New parameter `style'. Set it in demangling_t.
666 (demangle_prefix): Use NAMESPACE_SEPARATOR.
667 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
668 (cp_demangle): New parameter `style'. Pass it to demangling_new().
669 (main): Call cp_demangle with extra parameter.
670 (java_demangle_v3): New function.
671 (java_builtin_type_names): New. Table of primitive type names used
672 for Java demangling.
673 (demangle_builtin_type): Look up in java_builtin_type_names if doing
674 Java output.
675 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
676 demangling.
677 (long_options): Remove obsolete `java' option.
678 (main): Remove explicit handling of `java' option. Instead, pass style
679 parameter in cplus_demangle flags as gdb does.
680 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 681
f6528837
DD
6822000-12-29 DJ Delorie <dj@redhat.com>
683
684 * fnmatch.c: Make the note about the origins of this file more
685 accurate, at least until we can sync with glibc.
686 * getopt.c: Ditto.
687 * getopt1.c: Ditto.
688 * md5.c: Ditto.
689 * obstack.c: Ditto.
9d969b59 690
c6da642e
DD
6912000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
692
693 * bsearch.c: New file.
694 * configure.in (funcs): Add bsearch.
695 (AC_CHECK_FUNCS): Likewise.
696 * configure, config.in: Regenerate.
697
ae7d06ad 6982000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
699
700 * safe-ctype.c: #include "ansidecl.h".
701 * strtod.c: Likewise.
702
ae7d06ad 7032000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
704
705 * strtoul.c: Include safe-ctype.h, not ctype.h.
706
ac424eb3
DD
7072000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
708
709 * safe-ctype.c: New file.
710 * Makefile.in (CFILES): Add safe-ctype.c.
711 (REQUIRED_OFILES): Add safe-ctype.o.
712
713 * argv.c: Define ISBLANK and use it, not isspace.
714 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
715 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
716 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
717 before calling TOLOWER(c)/TOUPPER(c).
718
4415a860
DD
7192000-12-07 Mike Stump <mrs@wrs.com>
720
721 * Makefile.in (distclean): When cleaning, remove testsuite.
722
849ee224
DD
7232000-12-05 Jason Merrill <jason@redhat.com>
724
725 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
726 name before allocating the dyn_string.
727
ae7d06ad 7282000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
729
730 * cp-demangle.c: s/new_abi/v3/.
731 * cplus-dem.c: Likewise.
732 (current_demangling_style): Now auto_demangling.
733 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 734 (main): Use standard symbol chars for auto_demangling.
e49a569c 735
ae7d06ad 7362000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
737
738 * hashtab.c (higher_prime_number): Use a table, rather than a
739 seive, to find the next prime.
ae7d06ad
NC
740
7412000-11-22 H.J. Lu <hjl@gnu.org>
742
743 * cplus-dem.c (main): Handle gnat_demangling.
744
7452000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
746
747 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
748 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
749 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
750 argument form of AC_DEFINE in dummy definitions block. Use
751 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
752 in dummy block. Preload cache variables instead of bypassing
753 tests, where possible.
754 * acconfig.h: Removed.
ae7d06ad 755
2ea7befd
DD
756 * xmalloc.c (xmalloc_failed): New function, does error
757 reporting on failed allocation.
758 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 759
f1775526
HPN
7602000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
761
762 * cplus-dem.c (cplus_demangle): Fix formatting.
763 (grow_vect): Ditto.
764 (ada_demangle): Ditto.
765 (internal_cplus_demangle): Ditto.
766 (mop_up): Ditto.
767
7682000-11-21 H.J. Lu <hjl@gnu.org>
769
770 * cplus-dem.c (main): Handle java_demangling.
771
ae7d06ad 7722000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
773
774 * cplus-dem.c (grow_vect): Prototype.
775 (ada_demangle): Cast the arg of ctype macros to unsigned char.
776
5dd42ef4
HPN
7772000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
778
779 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
780 parameter `option'.
781
296731c1
DD
7822000-11-15 Kenneth Block <kenneth.block@compaq.com>
783
8944fb9d 784 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
785 be used in GCC.
786
6e53a714 7872000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 788
5dd42ef4 789 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
790 list.
791
99a4c1bd
HPN
7922000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
793
794 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
795 xcalloc depending on htab->return_allocation_failure. Return zero
796 if calloc fails.
99a4c1bd
HPN
797 (htab_create): Update comment to cover memory allocation.
798 (htab_try_create): New.
799 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 800 Update comment to cover this.
99a4c1bd 801
e0f3df8f
HPN
8022000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
803
804 * hashtab.c: Change void * to PTR where necessary.
805 (htab_create, htab_expand): Correct formatting of comment before
806 function.
807
ae7d06ad 8082000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
809
810 * cp-demangle.c (string_list_def): Add caret_position and comments.
811 (result_caret_pos): New macro.
812 (result_append_string): Rename to...
813 (result_add_string): ... this, and insert at caret position.
ae7d06ad 814 Rename throughout.
59666b35
DD
815 (result_append): Rename to...
816 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 817 throughout.
59666b35
DD
818 (result_append_char): Rename to...
819 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 820 throughout.
59666b35
DD
821 (result_append_space): Remove.
822 (string_list_new): Initialize caret position.
823 (result_add_separated_char): Use caret position.
824 (result_get_caret): New funtion.
825 (result_set_caret): Likewise.
826 (result_shift_caret): Likewise.
827 (result_previous_char_is_space): Likewise.
828 (substitution_start): Use caret position.
829 (substitution_add): Likewise.
830 (demangling_new): Initialize caret position.
831 (demangle_encoding): Use caret position.
ae7d06ad 832 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
833 (demangle_type_ptr): Use switch statement. Handle pointers to
834 arrays. Don't use result_append_space. Use caret position.
835 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
836 call to demangle_array_type.
837 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 838
ae7d06ad 8392000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
840
841 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
842
8432000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
844
845 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
846
8472000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
848
849 * splay-tree.c: #include <stdio.h>.
850
8512000-09-14 Hans-Peter Nilsson <hp@axis.com>
852
853 * testsuite/demangle-expected: Add two tests for anonymous
854 namespaces.
855 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
856
8572000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
858
859 * splay-tree.c (splay_tree_predecessor): New function.
860 (splay_tree_successor): Likewise.
ae7d06ad
NC
861
8622000-09-10 Hans-Peter Nilsson <hp@axis.com>
863
864 * testsuite/demangle-expected: Add four tests for type_info
865 mangling.
866 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
867 for a non-template non-qualified type_info function or node.
868
8692000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
870
871 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
872
8732000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
874
875 * md5.c: #include "ansidecl.h".
876
8772000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
878
879 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
880 (demangle_type): Handle substitution candidates correctly in the
881 face of special substitutions.
ae7d06ad
NC
882
8832000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
884
885 * cp-demangle.c (demangle_encoding): Rename variable.
886 (demangle_name): Rename parameter. Handle return type
887 suppression.
888 (demangle_nested_name): Rename parameter.
889 (demangle_prefix): Likewise. Change return type suppression.
890 (demangle_unqualified_name): Add parameter. Flag constructors and
891 conversion operators.
892 (demangle_special_name): Fix comment.
893 (demangle_type): Rename variable.
894 (demangle_bare_function_type): Check for missing return type and
895 parameter.
896 (demangle_class_enum_type): Rename parameter.
897 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
898
8992000-08-31 DJ Delorie <dj@redhat.com>
900
901 * configure.in (Cygwin): special case cygwin only when we're
902 building cygwin, not when we're hosting cygwin.
903
9042000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
905
906 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
907 <expression>.
ae7d06ad
NC
908
9092000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
910
911 * cp-demangle.c (demangle_type_ptr): Increment position past
912 pointer and reference characters.
ae7d06ad
NC
913
9142000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
915
916 * cp-demangle.c (demangle_nv_offset): New function.
917 (demangle_v_offset): Likewise.
918 (demangle_call_offset): Likewise.
919 (demangle_special_name): Update thunk demangling to comply with
920 ABI changes.
ae7d06ad
NC
921
9222000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
923
924 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
925 (substitution_def): Remove template_parm_number.
926 (NOT_TEMPLATE_PARM): Remove.
927 (result_insert_string): New macro.
928 (result_insert): Likewise.
929 (result_insert_char): Likewise.
930 (substitution_add): Remove last parameter. Don't store template
931 parm number.
932 (BFT_NO_RETURN_TYPE): Define as NULL.
933 (demangle_encoding): Adjust call to demangle_bare_function_type.
934 (demangle_name): Adjust substitution. Adjust call to
935 substitution_add.
936 (demangle_prefix): Adjust call to substitution_add.
937 (demangle_identifier): Handle anonymous namespaces.
938 (demangle_operator_name): Change demangling of vendor-extended
939 operator to match ABI changes.
940 (demangle_type_ptr): Change parameters. Make recursive. Handle
941 substitutions here.
942 (demangle_type): Adjust calls to demangle_template_param,
943 substitution_add, and demangle_type_ptr. Fix substitution of
944 templated types.
945 (demangle_function_type): Change parameter to a pointer.
946 (demangle_bare_function_type): Likewise. Adjust insertion point.
947 (demangle_template_param): Remove last parameter.
948 (demangle_expr_primary): Remove unused variable. Adjust call to
949 demangle_template_param.
950 (is_mangled_char): Accept `$' and `.'.
951 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
952 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
953
9542000-08-31 Hans-Peter Nilsson <hp@axis.com>
955
956 * testsuite/demangle-expected: Add nine tests for
957 underscore-after-number followed by five tests for name-signature
958 delimiter.
959
9602000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
961
962 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
963
9642000-08-28 Jason Merrill <jason@redhat.com>
965
966 * Makefile.in (REQUIRED_OFILES): Add md5.o.
967 (CFILES): Add md5.c.
968 * md5.c: New file.
969
9702000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
971
972 * cp-demangle.c (demangle_name): Initialize template_p in local
973 name case. Don't re-add substitutions as candidates.
974 (demangle_nested_name): Use <unqualified-name>.
975 (demangle_prefix): Likewise. Don't add template names as
976 substitution candidates twice, or re-add a substitution or the
977 last prefix component.
978 (demangle_local_name): Adjust output format.
ae7d06ad
NC
979
9802000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
981
982 * cp-demangle.c (result_add_separated_char): Change parameter to
983 int.
984 (substitution_add): Don't check for duplicates. Check if
985 previously allocated size is zero.
986 (demangle_name): Remove duplicate check for std substitution.
987 Clear template flag appropriately.
988 (demangle_prefix): Remove argument to demangle_substitution.
989 Don't check that template flag is already set.
990 (demangle_operator_name): Add pt operator.
991 (demangle_type): Don't treat r as built-in type. Remove argument
992 to demangle_substitution. Fix substitution candidate mechanics.
993 Handle <template-template-parm>s. Improve comments.
994 (demangle_template_param): Don't handle template arg lists here.
995 (demangle_substitution): Remove parameter.
996 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
997
9982000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
999
1000 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1001
10022000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1003
1004 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1005 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1006 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1007
10082000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1009
1010 * cp-demangle.c (result_close_template_list): Remove function.
1011 (result_add_separated_char): New function.
1012 (result_open_template_list): New macro.
1013 (result_close_template_list): Likewise.
1014 (demangle_prefix): Don't set template_p if the
1015 prefix ends with a ctor name.
1016 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1017 (demangle_type): Check for template args after substitution.
1018 (demangle_template_args): Use result_open_template_list.
d3e85005 1019
ae7d06ad 10202000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1021
ae7d06ad 1022 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1023
ae7d06ad 10242000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1025
1026 * config/mh-openedition.h: Added -DLE370 definition.
1027
a9f34fb6
JL
10282000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1029
1030 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1031 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1032 Cast program to 'char *' in errmsg_arg assignment.
1033 (PWAIT_ERROR): Define.
1034 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1035 to DJGPP's WIF* macros.
1036
90aaccd1 10372000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1038 Jeff Law <law@cygnus.com>
90aaccd1 1039
ae7d06ad 1040 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1041
90aaccd1 1042 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1043 * rename.c: Include config.h, unistd.h
1044 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1045
6ef554e3
HPN
10462000-07-24 Hans-Peter Nilsson <hp@axis.com>
1047
1048 * cplus-dem.c (work_stuff_copy_to_from): New.
1049 (delete_non_B_K_work_stuff): New.
1050 (delete_work_stuff): New.
1051 (mop_up): Break out work_stuff partly destruction to
1052 delete_non_B_K_work_stuff.
1053 (iterate_demangle_function): New.
1054 (demangle_prefix): Call iterate_demangle_function instead of
1055 demangle_function_name. Leave handling of name-signature
1056 __-delimiters to iterate_demangle_function.
1057 (demangle_integral_value): Strip an optional
1058 following underscore cautiously. Handle negative numbers.
1059
ae7d06ad 10602000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1061
ae7d06ad 1062 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1063 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1064
ae7d06ad
NC
10652000-07-21 Alex Samuel <samuel@codesourcery.com>
1066
1067 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1068 allocating ctor mangling.
1069 (demangle_array_type): Handle empty and non-constant array length.
1070
b1233257 10712000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1072 Jeff Law <law@cygnus.com>
1073
1074 * configure.in (AC_CHECK_HEADERS): Add time.h.
1075 (AC_HEADER_TIME): Add check.
1076 * configure, config.in: Regenerate.
1077 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1078
1079 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1080 * configure, config.in: Regenerate.
1081 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1082 * strtol.c, strtoul.c: #include "config.h". Portably #include
1083 <limits.h> and/or <sys/param.h>.
1084 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1085
7d3ffcaf
JL
1086 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1087 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1088 * configure, config.in: Regenerate.
1089 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1090
b1233257
JL
1091 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1092
ae7d06ad
NC
10932000-07-21 Mike Stump <mrs@wrs.com>
1094
1095 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1096 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1097
10982000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1099
1100 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1101
1102 * setenv.c (setenv): Initialize variable `ep'.
1103
1104 * sigsetmask.c (abort): Prototype.
1105
1106 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1107 __STDC__ for stdarg.h include.
1108 (int_vasprintf): Prototype.
1109 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1110 definition. Cast `global_total_width' in comparison.
1111 (main): Prototype. Return a value.
1112
1113 * vfork.c (fork): Prototype.
1114
1115 * xexit.c: Include config.h.
1116
9adf30b2
JL
11172000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1118
1119 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1120 and print it with %u.
1121
2ed78d1b
HPN
11222000-07-17 Hans-Peter Nilsson <hp@axis.com>
1123
1124 * testsuite/regress-demangle (failed test): Show result and
1125 expected output.
1126
0473bdf7
AH
11272000-07-07 Andrew Haley <aph@cygnus.com>
1128
1129 * cplus-dem.c (main): fflush() after emitting last char before
1130 waiting for input.
1131
03d5f569
JM
11322000-06-28 Alex Samuel <samuel@codesourcery.com>
1133
1134 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1135 (demangle_name): Handle <substitution> followed by
1136 <unqualified-template-name>.
1137 (demangle_type): Follow special substitutions with
1138 <class-enum-type>
1139 (demangle_subtitution): Set template_p for special substitutions.
1140 (main): Fix typos.
ae7d06ad 1141
03d5f569
JM
11422000-06-27 Alex Samuel <samuel@codesourcery.com>
1143
1144 * cp-demangle.c (demangle_special_name): Swap base and derived
1145 class when demangling construction vtables.
1146
11472000-06-21 Alex Samuel <samuel@codesourcery.com>
1148
1149 * cp-demangle.c: Don't include ctype.h.
1150 (IS_DIGIT): New macro.
1151 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1152 instead of isdigit and isalpanum.
1153 (demangling_def): Make name and next const pointers.
1154 (STATUS_ALLOCATION_FAILED): New status code.
1155 (dyn_string_append_space): Handle failure in
1156 dyn_string_append_char.
1157 (int_to_dyn_string): Likewise. Change return value to status_t.
1158 (string_list_new): Handle failure of dyn_string_init.
1159 (result_close_template_list): Change return type to status_t.
1160 Handle failure in dyn_string_append.
1161 (result_push): Change return value to status_t. Handle failure in
1162 string_list_new. Handle failure of result_push throughout.
1163 (substitution_add): Change return value to status_t. Handle
1164 dyn_string failures. Handle failure of substitution_add
1165 throughout.
1166 (template_arg_list_new): Return NULL on allocation failure.
1167 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1168 Handle error result throughout.
1169 (result_append): Likewise.
1170 (result_append_char): Likewise.
1171 (result_append_space): Likewise.
1172 (demangling_new): Make argument a const pointer. Handle
1173 allocation failures.
1174 (demangle_template_args): Handle failure in template_arg_list_new
1175 and result_close_template_list.
1176 (demangle_discriminator): Return if int_to_dyn_string fails.
1177 (cp_demangle): Likewise.
1178 (cp_demangle_type): New function.
1179 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1180 memory allocation failure.
1181 (main): Likewise.
1182 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1183 IN_LIBGCC2.
1184 (dyn_string_init): Change return value to int. Handle
1185 RETURN_ON_ALLOCATION_FAILURE case.
1186 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1187 (dyn_string_release): Delete the dyn_string.
1188 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1189 (dyn_string_copy): Change return type to int.
1190 (dyn_string_copy_cstr): Likewise.
1191 (dyn_string_prepend): Likewise.
1192 (dyn_string_prepend_cstr): Likewise.
1193 (dyn_string_insert): Likewise.
1194 (dyn_string_insert_cstr): Likewise.
1195 (dyn_string_append): Likewise.
1196 (dyn_string_append_cstr): Likewise.
1197 (dyn_string_append_char): Likewise.
1198 (dyn_string_substring): Likewise.
ae7d06ad 1199
eb383413 12002000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1201
eb383413
L
1202 * cp-demangle.c (demangle_operator_name): Add spaces before
1203 names beginning with a letter: delete, delete[], new, new[],
1204 sizeof.
1205 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1206
eb383413
L
1207Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1208
1209 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1210
1211Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1212
1213 * cp-demangle.c (stdio.h): File included unconditionaly.
1214 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1215 * dyn-string.c (stdio.h): File included.
1216 * partition.c (partition_print): No `&' needed to take the address of
1217 a function.
1218
12192000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1220
1221 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1222
eb383413
L
1223 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1224
1225 * cp-demangle.c (demangle_char): Change parameter from char to int.
1226 (demangle_expression, demangle_expr_primary): Remove extra
1227 semi-colon in prototype.
1228
1229 * dyn-string.c (dyn_string_append_char): Change parameter from
1230 char to int.
1231
1232 * memcmp.c (memcmp): Constify.
1233
1234 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1235 __extension__.
1236
1237 * partition.c (elem_compare): Prototype. Don't cast away
1238 const-ness.
1239
1240 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1241
eb383413
L
12422000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1243
1244 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1245
1246 * cp-demangle.c: Include demangle.h.
1247 (template_arg_list_new): DeANSIfy.
1248 (cp_demangle): Make static and add prototype.
1249 (operator_code, operators): Constify.
1250 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1251
12522000-06-05 Alex Samuel <samuel@codesourcery.com>
1253
1254 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1255 unsigned char.
1256 (demangle_unqualified_name): Likewise.
1257 (demangle_number_literally): Likewise.
1258 (demangle_type): Likewise.
1259 (demangle_substitution): Likewise.
1260 (is_mangled_char): Likewise, for isalnum.
1261
12622000-06-04 Alex Samuel <samuel@codesourcery.com>
1263
1264 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1265 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1266 (cp-demangle.o): New dependency.
1267 (dyn-string.o): Likewise.
1268
1269 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1270
1271 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1272 demangler.
1273 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1274 demangling mode.
1275 (gnu_new_abi_symbol_characters): New function.
1276 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1277 file.
1278 * cp-demangle.c: New file.
ae7d06ad 1279
f03aa80d
AC
1280Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1281
1282 * floatformat.c: Add name to each floatformat field.
1283
77bfb694
JL
1284Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1285
1286 * Makefile.in (objalloc.o): Depend on config.h
1287
5c82d20a
ZW
12882000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1289
eb383413 1290 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1291 if HAVE_STRING_H.
1292 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1293 * objalloc.c: Include config.h. Include stdlib.h and don't
1294 declare malloc or free if HAVE_STDLIB_H.
1295 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1296 else declare malloc without prototype. Include string.h if
1297 HAVE_STRING_H, else declare memset without prototype. Don't
1298 include stddef.h.
1299
eb383413
L
13002000-05-23 Mike Stump <mrs@wrs.com>
1301
1302 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1303 -j3.
eb383413
L
1304
13052000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1306
1307 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1308
13092000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1310
ae7d06ad 1311 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1312 probably zero, also eliminate a warning on alpha.
1313
13142000-05-15 David Edelsohn <edelsohn@gnu.org>
1315
1316 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1317 on $(enable_shared).
1318
13192000-05-10 Jakub Jelinek <jakub@redhat.com>
1320
1321 * config.table: Use mh-sparcpic for sparc*-*-*.
1322
13232000-05-08 Nick Clifton <nickc@cygnus.com>
1324
1325 * Makefile.in (CFILES): Add strncmp.c.
1326 (NEEDED): Add strncmp.
1327
13282000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1329
eb383413
L
1330 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1331 Cast the arguments to `islower' to `unsigned char'.
1332 (print_demangler_list): Prototype.
1333
1334Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1335
1336 * sort.c (UCHAR_MAX): Provide fallback definition.
1337
13382000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1339
1340 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1341 SUBDIRS.
1342
eb383413
L
13432000-04-28 Kenneth Block <block@zk3.dec.com>
1344 Jason Merrill <jason@casey.cygnus.com>
1345
ae7d06ad
NC
1346 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1347 (cplus_demangle_set_style): New function for setting style.
1348 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1349
13502000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1351
1352 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1353
1354 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1355 (libiberty_AC_FUNC_STRNCMP): Invoke.
1356
1357 * strncmp.c: New file.
1358
1359Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1360
1361 * hashtab.c (htab_expand): Add prototype.
1362 (find_empty_slot_for_expand): Likewise.
1363
13642000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1365
1366 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1367 match prototype.
1368 (htab_expand): Cast the return value of xcalloc.
1369
13702000-04-24 Mark Mitchell <mark@codesourcery.com>
1371
1372 * hashtab.c (hash_pointer): New function.
1373 (eq_pointer): Likewise.
1374 (htab_hash_pointer): New variable.
1375 (htab_eq_pointer): Likewise.
1376
13772000-04-23 Mark Mitchell <mark@codesourcery.com>
1378
1379 * sort.c (sort_pointers): Fix endianness bugs.
1380
1381 * sort.c: New file.
1382 * Makefile.in (CFILES): Add sort.c
1383 (REQUIRED_OFILES): Add sort.o.
1384 (sort.o): New target.
1385
19be4303
JL
13862000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1387
1388 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1389 4.3BSD systems.
1390
eb383413
L
1391Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1392
1393 * hashtab.c: Various minor cleanups.
1394 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1395 (htab_find_slot): Likewise.
1396
13972000-04-16 Dave Pitts <dpitts@cozx.com>
1398
1399 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1400
afe36a78
RH
14012000-04-05 Richard Henderson <rth@cygnus.com>
1402
1403 * splay-tree.c (splay_tree_remove): New.
1404
eb383413
L
14052000-03-30 Mark Mitchell <mark@codesourcery.com>
1406
1407 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1408 codes.
1409 (htab_find_with_hash): Likewise.
1410 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1411
eb383413
L
14122000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1413
1414 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1415 unless it will be used. Rearrange loop for better
1416 optimization.
1417 (higher_prime_number): Add static prototype.
1418
b4fe2683
JM
1419Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1420
1421 * Makefile.in (partition.o): Depend on config.h
1422
14232000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1424
1425 * hashtab.c (find_empty_slot_for_expand): New function.
1426 (htab_expand): Use it instead of htab_find_slot.
1427 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1428 argument HASH.
1429 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1430 (htab_find): New wrapper function.
1431 (htab_find_slot): Likewise.
1432 (htab_traverse): Pass slot, not entry, to called function.
1433
14342000-03-09 Alex Samuel <samuel@codesourcery.com>
1435
1436 * Makefile.in (CFILES): Add partition.c.
1437 (REQUIRED_OFILES): Add partition.o.
1438 (partition.o): New rule.
1439 * partition.c: New file.
ae7d06ad 1440
b4fe2683
JM
14412000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1442
1443 * hashtab.c (htab_create): Set del_f.
1444 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1445 Use it.
1446
14472000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1448
1449 * hashtab.c: Remove debugging variables (all_searches,
1450 all_collisions, all_expansions). Delete
1451 all_hash_table_collisions.
1452 (create_hash_table, delete_hash_table, empty_hash_table,
1453 find_hash_table_entry, remove_element_from_hash_table_entry,
1454 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1455 hash_table_elements_number, hash_table_collisions): Rename to:
1456 htab_create, htab_delete, htab_empty, htab_find_slot,
1457 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1458 htab_elements, htab_collisions.
1459 (htab_find): New function, handles common case where you don't
1460 plan to add or delete an entry.
1461 (htab_expand): Don't create a whole new table, just a new
1462 entry vector.
1463 (htab_find_slot): Simplify logic.
1464
08372f14
ILT
14651999-08-03 Ian Lance Taylor <ian@zembu.com>
1466
1467 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1468 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1469
1470 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1471 $(TARGETLIB)n so it works on MSDOS.
1472 (install_to_tooldir): Likewise.
1473
9c8ac5a9
ILT
14741999-07-21 Ian Lance Taylor <ian@zembu.com>
1475
1476 From Mark Elbrecht:
1477 * makefile.dos: Remove; obsolete.
8f36e47c 1478 * configure.bat: Remove; obsolete.
9c8ac5a9 1479
0c0a36a4
ILT
14801999-07-11 Ian Lance Taylor <ian@zembu.com>
1481
1482 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1483 warning.
1484
14852000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1486
1487 * pexecute.c: Conditionally include string.h.
b4fe2683 1488 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1489
14902000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1491
1492 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1493 we're using gcc.
1494
1495 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1496
14971999-12-27 Geoff Keating <geoffk@cygnus.com>
1498
1499 * vasprintf.c (int_vasprintf): Don't re-read the format character
1500 as this mishandles strings like '%%s'.
1501
15021999-12-05 Mark Mitchell <mark@codesourcery.com>
1503
1504 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1505 rather than struct splay_tree_node.
1506 (splay_tree_insert): Use struct splay_tree_s rather than struct
1507 splay_tree.
1508
1509Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1510
1511 * hashtab.c (sys/types.h): File included.
1512
15131999-11-22 Jason Merrill <jason@casey.cygnus.com>
1514
1515 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1516 BSD license, pursuant with
1517
1518 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1519
1520Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1521
1522 * hashtab.c: Include stdio.h.
1523
1524Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1525
1526 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1527
1528Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1529
1530 * xstrdup (sys/types.h): Include this file.
1531
15321999-10-28 Nathan Sidwell <nathan@acm.org>
1533
1534 * Makefile.in (SUBDIRS): New macro.
1535 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1536 avoid multiple subdirectory cleaning.
1537 (*-subdir): Use SUBDIRS.
1538
15391999-10-25 Jim Kingdon <http://developer.redhat.com/>
1540
1541 * cplus-dem.c: Move declarations of standard_symbol_characters and
1542 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1543 warnings.
1544
15451999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1546
1547 * hashtab.c (find_hash_table_entry): When returning a
1548 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1549 (clear_hash_table_slot): New function which deletes an entry
1550 by its position in the table, not its value.
1551 (traverse_hash_table): New function which calls a hook
1552 function for every live entry in the table.
1553
15541999-10-19 Mark Mitchell <mark@codesourcery.com>
1555
1556 * cplus-dem.c (INTBUF_SIZE): New macro.
1557 (string_append_template_idx): New function.
1558 (demangle_expression): Likewise.
1559 (demangle_integral_value): Use it.
1560 (demangle_real_value): New function, split out from ...
1561 (demangle_template_value_parm): ... here. Use
1562 string_append_template_idx. Use demangle_real_value.
1563 (demangle_template): Use string_append_template_idx.
1564 (demangle_qualified): Use consume_count_with_underscores.
1565 (get_count): Tweak formatting.
1566 (do_type): Use string_append_template_idx.
b4fe2683 1567
0c0a36a4
ILT
15681999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1569
1570 * calloc.c: Add a public domain notice.
1571
1572Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1573
1574 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1575
1576Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1577
1578 * Makefile.in (CFILES): Add hashtab.c
1579 (REQUIRED_OFILES): Add hashtab.o
1580 (hashtab.o): Add dependencies.
1581 * hashtab.c: New file
1582
1583Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1584
1585 * basename.c (DIR_SEPARATOR): New macro.
1586 (DIR_SEPARATOR_2): Likewise.
1587 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1588 (IS_DIR_SEPARATOR): Likewise.
1589 (main): Handle MSDOS style pathname.
1590
15911999-10-11 Mark Mitchell <mark@codesourcery.com>
1592
1593 * cplus-dem.c (do_type): Handle pointer to member types whose
1594 enclosing classes have namespace scope.
1595
1596Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1597
1598 * config.table: Provide a backup shell for executing move-if-change.
1599
16001999-10-02 Mark Mitchell <mark@codesourcery.com>
1601
1602 * xmalloc.c (xmalloc): Fix spelling error.
1603 (xcalloc, xrealloc): Likewise.
1604
16051999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1606
1607 * cplus-dem.c (fancy_abort, demangle_integral_value,
1608 demangle_arm_hp_template, recursively_demangle,
1609 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1610 (program_name, program_version, fatal): Constify a char*.
1611 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1612 (main): Call return, not exit.
1613
16141999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1615
1616 * choose-temp.c: Remove obsolete comment about gcc.
1617 (make_temp_file): Constify a char*.
1618
1619Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1620
1621 * xmemdup.c: Include sys/types.h.
1622
16231999-09-07 Jeff Garzik <jgarzik@pobox.com>
1624
1625 * xmemdup.c: New xmemdup function.
1626 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1627
1628Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1629
b4fe2683 1630 * config.table: Add openedition target.
0c0a36a4
ILT
1631 * config/mh-openedition: New file.
1632
1633Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1634
1635 * pexecute.c (pexecute): Fill in temp_base when needed.
1636
16371999-08-31 Richard Henderson <rth@cygnus.com>
1638
1639 * getpwd.c: Check HAVE_GETCWD before defining it away.
1640
16411999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1642
1643 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1644 (REQUIRED_OFILES): Add getpwd.o.
1645 (getpwd.o): Add target.
1646
1647 * configure.in (AC_PREREQ): Bump to 2.13.
1648 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1649
1650 * getpwd.c: New file, moved here from gcc.
1651
16521999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1653
1654 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1655 comparing against a signed quantity.
1656 (arm_special): Likewise.
1657 (demangle_fund_type): Likewise.
1658 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1659 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1660 (main): Constify variable `valid_symbols'.
1661
1662Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1663
1664 * strtoul.c (strtoul): Add parentheses around && within ||.
1665
1666Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1667
1668 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1669 libdir, libsubdir and tooldir.
1670
16711999-08-01 Mark Mitchell <mark@codesourcery.com>
1672
1673 * splay-tree.c (splay_tree_insert): Return the new node.
1674
35ca97ea
RH
16751999-07-14 Richard Henderson <rth@cygnus.com>
1676
b4fe2683 1677 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1678 prototyping directly.
1679 * choose-temp.c: Conditionally include string.h.
1680
0c0a36a4
ILT
16811999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1682
1683 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1684
af32ff69
ILT
16851999-07-11 Ian Lance Taylor <ian@zembu.com>
1686
1687 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1688 warning.
1689
0c0a36a4
ILT
16901999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1691
1692 * Makefile.in (needed-list): Only include stuff we actually need
1693 for libstdc++.
1694
16951999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1696
1697 * configure.in (checkfuncs): Add gettimeofday.
1698 * config.in, configure: Regenerated.
1699
1700Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1701
1702 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1703 the test fails.
1704 * configure: Regenerate.
1705
17061999-06-10 Mike Stump <mrs@wrs.com>
1707
1708 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1709 parallel builds.
1710
17111999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1712
1713 * putenv.c: Include ansidecl.h to define `const'.
1714 * setenv.c: Likewise.
1715
1716Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1717
1718 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1719 * configure.in (funcs): Add putenv and setenv.
1720 (AC_CHECK_FUNCS): Check for putenv and setenv.
1721 * configure: Rebuilt.
1722 * putenv.c setenv.c: New files.
1723
1724 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1725 bytes of space using malloc.
1726
1727Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1728
1729 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1730 the *mangled pointer beyond the end of the string. Clean up code to
1731 match prevailing coding style.
1732
17331999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1734
1735 * tmpnam.c (L_tmpnam): Fix typo.
1736
1737Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1738
1739 * cplus-dem.c (standard_symbol_characters): Renamed from
1740 standard_symbol_alphabet. No longer modify TABLE.
1741 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1742 modify TABLE.
1743 (main): Corresponding changes. Use strchr to determine if a
1744 character is valid.
1745
e9868447
JB
17461999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1747
1748 * cplus-dem.c (main): Use table lookup to distinguish identifier
1749 characters from non-identifier characters.
1750 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1751
33fbbfbc
RH
1752Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1753
1754 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1755 * getruntime.c: Only attempt to include sys/resource.h and
1756 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1757 are defined.
1758
0c0a36a4
ILT
1759Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1760
1761 * configure.in (alloca detection): Handle alloca directly for interix.
1762 * configure: Rebuilt.
1763
1764Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1765
1766 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1767
252b5132
RH
17681999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1769
1770 Fix from Dale Hawkins:
b4fe2683 1771 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1772 reallocated properly if we use it again.
1773
1774 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1775 stricter about syntax. Always null-terminate string.
1776
c1687039
ILT
1777Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1778
1779 * configure.in (checkfuncs): Check for sbrk.
1780 * config.in: Rebuilt.
1781 * configure: Likewise.
1782 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1783
0c0a36a4
ILT
17841999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1785
1786 Fix from Marcus Daniels:
1787 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1788 identifier looking for another underscore.
1789
1790Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1791
1792 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1793 * xmalloc.c: Likewise.
1794 (xcalloc): UWIN has sbrk.
1795 (xrealloc): Fix guard macro.
1796
252b5132
RH
17971999-04-11 Richard Henderson <rth@cygnus.com>
1798
1799 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1800 or <alloca.h>.
1801 * clock.c (GNU_HZ): New definition.
1802 (clock): Use it.
1803 * getruntime.c: Likewise.
1804
1805 * config.table: Use mh-beos.
1806 * config/mh-beos: New file.
1807
0c0a36a4
ILT
18081999-04-11 Mark Mitchell <mark@codesourcery.com>
1809
1810 * cplus-dem.c (demangle_template_value_parm): Handle
1811 pointers-to-members.
1812 (do_type): Handle template parameters as qualifiers.
1813
252b5132
RH
18141999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1815
1816 * cplus-dem.c: Attempt to handle overflows in counts with some
1817 semblance of grace.
1818 (consume_count): Detect overflows. Return -1 to indicate errors,
1819 instead of zero.
1820 (demangle_template_value_parm, demangle_template): Handle change
1821 to consume_count's return convention.
1822
0c0a36a4
ILT
18231999-04-05 Tom Tromey <tromey@cygnus.com>
1824
1825 * testsuite/regress-demangle: New file.
1826 * testsuite/demangle-expected: New file.
252b5132 1827
0c0a36a4
ILT
1828 * Makefile.in (all, check, installcheck, info, install-info,
1829 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1830 distclean, maintainer-clean, realclean): Depend on corresponding
1831 `-subdir' target.
1832 (all-subdir check-subdir installcheck-subdir info-subdir
1833 install-info-subdir clean-info-subdir dvi-subdir
1834 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1835 distclean-subdir maintainer-clean-subdir): New target.
1836 * testsuite/Makefile.in: New file.
1837 * configure: Rebuilt.
1838 * configure.in: Create testsuite/Makefile.
252b5132
RH
1839
18401999-04-02 Mark Mitchell <mark@codesourcery.com>
1841
1842 * splay-tree.h (splay_tree_compare_pointers): Define.
1843
18441999-03-30 Mark Mitchell <mark@codesourcery.com>
1845
1846 * splay-tree.c (splay_tree_compare_ints): Define.
1847
18481999-03-30 Tom Tromey <tromey@cygnus.com>
1849
1850 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1851 don't advance input pointer.
1852 (demangle_class_name): If consume_count didn't find a count, do
1853 nothing. Don't bother with `strlen' sanity check; consume_count
1854 does it for us.
1855
18561999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1857
1858 From Art Haas <ahaas@neosoft.com>:
1859 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1860 when doing arm or hp style.
1861 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1862
252b5132
RH
1863Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1864
1865 * pexecute.c (__CYGWIN32__): Rename to
1866 (__CYGWIN__): this.
1867 * xmalloc.c: Likewise.
1868
1869 Changes to support i386-pc-uwin.
1870 * configure.in (*-*-uwin*): Workaround for vfork bug.
1871 * configure: Regenerate.
1872 * pexecute.c (pexecute): Be like standard Unix.
1873 (pwait): Likewise.
1874 * xmalloc.c (first_break): Define.
1875 (xmalloc_set_program_name): Use.
1876 (xmalloc): Use.
1877
1878Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1879
1880 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1881
1882Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1883
1884 * config.table: Check cygwin*, not cygwin32*.
1885
1886Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1887
1888 * Makefile.in: Change mkstemp -> mkstemps.
1889
1890Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1891
1892 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1893 * configure.in (funcs): Check for and conditionally add mkstemps to
1894 the list of functions libiberty will provide.
1895 * configure: Rebuilt.
b4fe2683 1896
252b5132
RH
1897Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1898
b4fe2683 1899 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1900 platforms that don't have HZ.
1901 * getruntime.c (HZ): Likewise.
1902
1903Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1904
1905 * Makefile.in (xstrdup.o): Depend on config.h.
1906
1907Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1908
1909 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1910 freeing it.
1911
1912Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1913
1914 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1915
1916Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1917
1918 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1919 splay-tree.o.
1920
19211999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1922
1923 * configure.in: Require autoconf 2.12.1 or higher.
1924
19251998-12-30 Michael Meissner <meissner@cygnus.com>
1926
1927 * random.c (NULL): Don't redefine NULL if it is already defined.
1928
1929Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1930
1931 * argv.c (buildargv): Cast the result of alloca in assignment.
1932
1933 * choose-temp.c: Include stdlib.h.
1934
1935 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
1936 (snarf_numeric_literal): Constify first parameter.
1937 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1938 int, not a char.
252b5132
RH
1939 (demangle_qualifier): Likewise.
1940 (demangle_signature): Cast the argument of a ctype function to
1941 unsigned char.
1942 (arm_pt): Add parens around assignment used as truth value.
1943 (demangle_arm_hp_template): Constify variable `args'.
1944 (do_hpacc_template_const_value): Cast the argument of a ctype
1945 function to unsigned char.
1946 (do_hpacc_template_literal): Remove unused variable `i'.
1947 (snarf_numeric_literal): Constify parameter `args'.
1948 Cast the argument of a ctype function to unsigned char.
1949
1950 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 1951 avoid ambiguous `else'.
252b5132
RH
1952
1953 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
1954 `cstart' and `cend' to unsigned char. Cast the argument of macro
1955 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
1956
1957 * objalloc.c (free): Add prototype.
1958
1959Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1960
1961 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1962
1963Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1964
1965 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 1966 doesn't exist.
252b5132 1967 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1968
252b5132
RH
1969Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1970
1971 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1972 bumping the pointer we read from. Also prepend these codes,
1973 as we do in other places.
1974
19751998-12-18 Nick Clifton <nickc@cygnus.com>
1976
1977 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1978 'const char *' in order to match its usage when calling siblings.
1979 (snarf_numeric_literal): Make first arg 'const char **' in order
1980 to match usage.
1981
1982Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1983
1984 * choose-temp.c: Don't check IN_GCC anymore.
1985
1986 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1987 * memchr.c (memchr): Likewise.
1988 * memcpy.c (memcpy): Likewise.
1989 * memmove.c (memmove): Likewise.
1990
1991 * mkstemp.c: Don't check IN_GCC anymore.
1992 * pexecute.c: Likewise.
1993 * splay-tree.c: Likewise.
1994
1995 * strchr.c (strchr): Use `const', not `CONST'.
1996 * strrchr.c (strrchr): Likewise.
1997 * strtol.c (strtol): Likewise.
1998 * strtoul.c (strtoul): Likewise.
1999
2000Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2001 Elena Zannoni <ezannoni@cygnus.com>
2002 Stan Shebs <shebs@cygnus.com>
2003 Edith Epstein <eepstein@cygnus.com>
2004 Andres MacLeod <amacleod@cygnus.com>
2005 Satish Pai <pai@apollo.hp.com>
2006
2007 * HP aCC demangling support.
2008 * cplus-dem.c
2009 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2010 demangling correctly when -edg specified; set the demangling style
2011 when user specifies 'edg'. Set strip_underscore to
2012 prepends_underscore, if not HPUXHPPA. Set
2013 current_demangling_style to hp_demangling if HPUXHPPA. Set
2014 current demangling style correctly if the switch is hp. Read
2015 label correctly also in the HP style case.
252b5132 2016 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2017 function.
252b5132 2018 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2019 style for this case is the same as ARM.
252b5132
RH
2020 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2021 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2022 demangle_arm_pt.); check and set value of temp_start field in
2023 multiple places. Also, when ceching for end of template args,
2024 check to see if at end of static member of template class.
252b5132 2025 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2026 include template args in string defining class.
252b5132
RH
2027 (demangle_class_name): use demangel_arm_hp_template.
2028 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2029 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2030 Handle EDG_DEMANGLING style. Handle constructor and destructor
2031 ops for HP style.
252b5132 2032 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2033 styles. global destructor and constructor for HP style are same
2034 as for ARM style. Same for local variables.
252b5132
RH
2035 (demangle_qualified): handle EDG_DEMANGLING style.
2036 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2037 cases '1' - '9' : initialize the temp_start field to -1 and handle
2038 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2039 and AUTO_DEMANGLING styles. If expecting a function and managed
2040 to demangle the funct args, then handle the LUCID_DEMANGLING,
2041 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2042 class name after "Lnnn_ in HP style case. HP style too needs to
2043 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2044 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2045 value param for HP/aCC.
252b5132 2046 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2047 literal parameter for HP aCC.
252b5132
RH
2048 (recursively_demangle): new function
2049 (snarf_numeric_literal): new function.
2050 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2051 to message.
252b5132
RH
2052
2053Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2054
2055 * pexecute.c: Remove obsolete ifdefed cygwin code.
2056
2057Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2058
2059 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2060 * cplus-dem.c: Likewise. Conform to libiberty.h.
2061 * pexecute.c: Likewise.
2062 * splay-tree.c: Likewise.
2063
20641998-11-25 Mike Stump <mrs@wrs.com>
2065
2066 * Makefile.in (splay-tree.o): Add config.h dependency.
2067
2068Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2069
2070 * configure.in: Use AC_PREREQ(2.12.1).
2071
20721998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2073
b4fe2683 2074 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2075
2076Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2077
2078 * mpw.c (mpw_access): Add missing parens.
2079
2080Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2081
2082 * configure.in: Call AC_HEADER_SYS_WAIT.
2083
2084 * pexecute.c: Include sys/wait.h when !IN_GCC.
2085
2086Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2087
2088 * pexecute.c: revert back to checking old Cygwin
2089 preprocessor symbol until some time has passed.
2090
2091Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2092
2093 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2094 since it will now support similar constructs.
2095
2096Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2097
2098 * configure.in: Check for calloc.
2099
2100 * calloc.c: New file.
2101
2102 * xmalloc.c (xcalloc): New function.
2103
2104Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2105
2106 *cplus-dem.c (demangle_prefix): Use the last "__"
2107 in the mangled name when looking for the signature. This allows
2108 template names to begin with "__".
2109
21101998-11-08 Mark Mitchell <mark@markmitchell.com>
2111
2112 * cplus-dem.c (type_kind_t): Add tk_reference.
2113 (demangle_template_value_parm): Handle it.
2114 (do_type): Use it for references, instead of tk_pointer.
2115
2116 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2117 not internal_cplus_demangle.
2118
2119Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2120
2121 * choose-temp.c: Don't include gansidecl.h.
2122 * mkstemp.c: Likewise.
2123 * pexecute.c: Likewise.
2124
2125Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2126
b4fe2683
JM
2127 * configure.in: detect cygwin* instead of cygwin32*
2128 * configure: regenerate
252b5132
RH
2129
2130Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2131
2132 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2133 whether to include config.h. Possibly include unistd.h in the
2134 !IN_GCC case. Define VFORK_STRING as a printable function call
2135 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2136 defined, include vfork.h. If VMS is defined, define vfork()
2137 appropriately. Remove vfork check on USG, we're using autoconf.
2138 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2139 locally what string to use.
252b5132
RH
2140
21411998-10-26 Mark Mitchell <mark@markmitchell.com>
2142
2143 * splay-tree.c: Tweak include directives to make sure declarations of
2144 xmalloc and free are available.
2145
21461998-10-25 Mark Mitchell <mark@markmitchell.com>
2147
2148 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2149 anonymous namespaces.
2150
21511998-10-23 Mark Mitchell <mark@markmitchell.com>
2152
2153 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2154 with type_quals.
2155 (TYPE_UNQUALIFIED): New macro.
2156 (TYPE_QUAL_CONST): Likewise.
2157 (TYPE_QUAL_VOLATILE): Likewise.
2158 (TYPE_QUAL_RESTRICT): Likewise.
2159 (code_for_qualifier): New function.
2160 (qualifier_string): Likewise.
2161 (demangle_qualifier): Likewise.
2162 (internal_cplus_demangle): Use them.
2163 (demangle_signature): Likewise.
2164 (demangle_template_value_parm): Likewise.
2165 (do_type): Likewise.
2166 (demangle_fund_type)): Likewise.
2167
2168Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2169
2170 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2171 to match prototype.
2172
21731998-10-21 Mark Mitchell <mark@markmitchell.com>
2174
2175 * splay-tree.c: New file.
2176 * Makefile.in (CFILES): Add it.
2177 (REQUIRED_OFILES): Likewise.
2178 (splay-tree.o): Add dependencies.
2179
2180Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2181
2182 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2183 range of 'K' index.
2184
2185Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2186
2187 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2188
2189 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2190 `unsigned char'.
2191 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2192 comparing against one.
2193 (cplus_mangle_opname): Likewise.
2194 (demangle_integral_value): Cast argument of ctype macro to
2195 `unsigned char'.
2196 (demangle_template_value_parm): Likewise.
2197 (demangle_template): Initialize variable `bindex'. Cast the
2198 result of `strlen' to (int) when comparing against one. Remove
2199 unused variable `start_of_value_parm'.
2200 (demangle_class_name): Cast the result of `strlen' to (int) when
2201 comparing against one.
2202 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2203 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2204 when comparing against one.
2205 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2206 (get_count): Likewise.
2207 (do_type): Likewise. Cast the result of `strlen' to (int) when
2208 comparing against one.
2209 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2210 (demangle_function_name): Cast the result of `strlen' to (int)
2211 when comparing against one.
2212
2213 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2214 comparing against one.
2215
2216Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2217
b4fe2683
JM
2218 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2219 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2220 * config.in, configure: Rebuilt.
252b5132
RH
2221
2222 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2223 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2224 * config.in, configure: Rebuilt.
2225
2226Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2227
b4fe2683 2228 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2229
2230Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2231
2232 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2233
2234Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2235
2236 * Merge egcs & devo libiberty.
2237
2238