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