]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
* breakpoint.c (insert_catchpoint): Call internal_error.
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
e69f6c8c
DD
12003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
2
3 PR bootstrap/10974
4 * physmem.c: Update comment.
5 * configure.in: Modify test for _system_configuration for older
6 AIX systems.
7
8 * config.in, configure: Regenerated.
9
54c60684
DD
102003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11
12 PR other/10810
13 * test-demangle.c (getline): Fix fence-post error.
14
5a4e47bd
NC
152003-06-03 Nick Clifton <nickc@redhat.com>
16
17 * asprintf.c: Change comment to note that -1 is returned upon
18 error.
19 * vasprintf.c: Likewise.
20 (vasprintf): Return -1 upon error.
21 * functions.texi: Document changes to asprintf and vasprintf.
22
916f5d13
DD
232003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
24
25 * config.table: Accept i[345867]86 variant.
26
e4f79046
JB
272003-05-15 Jim Blandy <jimb@redhat.com>
28
29 * hex.c (_hex_value): Make this unsigned.
30 (hex_value): Update documentation for new return type. hex_value
31 now expands to an unsigned int expression, to avoid unexpected
32 sign extension when we store it in a bfd_vma, which is larger than
33 int on some platforms.
34 * functions.texi: Regenerated.
35
0f3538e7
DD
362003-05-07 Josef Zlomek <zlomekj@suse.cz>
37
38 * splay-tree.c (splay_tree_predecessor): Fix comment.
39 (splay_tree_successor): Fix comment.
40
7108c5dc
JM
412003-05-07 Jason Merrill <jason@redhat.com>
42
eafaf5eb 43 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
44 * configure.in: Add AC_C_BIGENDIAN_CROSS.
45 * aclocal.m4: Include accross.m4.
46 * configure, config.in: Regenerate.
47
0b555173
DD
482003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49
50 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
51 * configure: Regenerate.
52
8730135a
DD
532003-05-03 Carlo Wood <carlo@alinoe.com>
54
55 * cp-demangle.c: Fix typo in "char_traints" string-literal.
56
341eccbc
DD
572003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
58
59 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
60 (main): Test that we don't write too much data.
61
2ed1e5cc
DD
622003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
63
64 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
65 vsnprintf.
66 * snprintf.c, vsnprintf.c: New files.
67 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
68 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
69 Regenerate dependencies.
70
71 * functions.texi, configure, config.in: Regenerated.
72
10b57b38
DD
732003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
74
75 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
76 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
77 and stpncpy.
78 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
79 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
80 Regenerate dependencies.
81
82 * functions.texi, configure, config.in: Regenerated.
83
ff773b85
DD
842003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
85
86 * argv.c: Fix comments.
87 * calloc.c: Don't unnecessarily include "libiberty.h".
88 (bzero): Add prototype.
89 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
90 * getcwd.c (getcwd): Use standard definition to avoid conflicts
91 with system headers.
92 * hashtab.c (htab_traverse): Delete unused variables.
93 * rename.c: Include "ansidecl.h".
94 (rename): Use standard definition to avoid conflicts with system
95 headers.
96 * strsignal.c: Rely on ANSI_PROTOTYPES.
97 * strstr.c: Check GNUC >= 2, not GNUC == 2.
98 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
99 * vprintf.c: Include "ansidecl.h" earlier, rely on
100 ANSI_PROTOTYPES.
101 * vsprintf.c: Include "ansidecl.h" earlier, rely on
102 ANSI_PROTOTYPES and possibly include <stdarg.h>.
103
104 * Makefile.in: Regenerate dependencies.
105
bb325820
DD
1062003-04-15 DJ Delorie <dj@redhat.com>
107
108 * maint-tool (deps): Scan for headers in $srcdir also.
109
258a4893
DD
1102003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
111
112 PR target/10338
113 PR bootstrap/10198
114 PR bootstrap/10140
115 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
116 __mempcpy.
117 * regex.c (regerror): Likewise.
118
ff773b85
DD
1192003-04-14 Roger Sayle <roger@eyesopen.com>
120
121 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
122 * memchr.c: Likewise.
123 * strcasecmp.c: Likewise.
124 * strncasecmp.c: Likewise.
125 * strncmp.c: Likewise.
126 * xatexit.c: Likewise.
127 * xmalloc.c: Likewise.
128
129 * copysign.c: Use traditional function declaration instead of DEFUN.
130 * sigsetmask.c: Likewise.
131
132 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
133 * memset.c: Likewise.
134
135 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
136 * memmove.c: Likewise.
137
eec539c7
DD
1382003-04-14 Roger Sayle <roger@eyesopen.com>
139
140 * strdup.c (strdup): Tweak implementation to use memcpy.
141
daf7c4ad
DD
1422003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
143
144 * configure.in (HAVE_UINTPTR_T): Always define.
145 * configure: Regenerated.
146
aa072e59
AO
1472003-03-23 Alexandre Oliva <aoliva@redhat.com>
148
149 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
150 instead of $$CC alone.
151 (install_to_tooldir): Use it.
152
f77ed96c
DD
1532003-17-03 Jan Hubicka <jh@suse.cz>
154
155 * hashtab.c (htab_traverse_noresize): Break out from ...
156 * hashtab.c (htab_traverse): ... here.
157
2336e177
DD
1582003-12-03 Jan Hubicka <jh@suse.cz>
159
160 * hashtab.c (htab_expand): Fix warning.
161
162 * hashtab.c (htab_expand): Compute the size of hashtable based
163 on the number of elements actually used.
164 (htab_traverse): Call htab_expand when table is too empty.
165
d8cbbf95
DD
1662003-03-11 Carlo Wood <carlo@gnu.org>
167
168 * cplus-dem.c (demangle_integral_value): Correction to reflect
169 patch of 2002-01-10 in order to also make negative multi-digits
170 without leading underscore work.
171
a01fefeb
DD
1722003-03-03 Mark Mitchell <mark@codesourcery.com>
173
174 * cplus-dem.c: Add license exception to copyright notice.
175
638ceb1a
DD
1762003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
177
178 * physmem.c: Formatting changes from upstream.
179
ef803806
DD
1802003-02-24 Danny Smith <dannysmith@users.source.forge.net>
181
182 * physmem.c (physmem_total): Add _WIN32 support.
183 (physmem_available): Likewise.
184
181fa229
DD
1852003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
186
187 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
188 GSI_PHYSMEM.
189 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
190
cc529274
DD
1912003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
192
193 * configure.in: Check for sys/systemcfg.h and
194 _system_configuration.
195 * physmem.c: Add support for AIX. Tweek formatting as per
196 upstream coreutils beta.
197
1982003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
199 Richard Earnshaw <rearnsha@arm.com>
200 Geoffrey Keating <geoffk@apple.com>
ff773b85 201
cc529274
DD
202 * configure.in: Check for sys/sysctl.h and sysctl.
203 * physmem.c: Add support for *bsd and darwin.
204 * Makefile.in: Generate depedency for physmem.o.
205
192cbe66
DD
2062003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
207
208 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
209 Tru64 UNIX.
210 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
211 Tru64 UNIX.
212
213 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
214 machine/hal_sysinfo.h, sys/table.h.
215 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
216 * configure, config.in: Regenerate.
217
ff773b85
DD
2182003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
219
220 * configure.in: Check for sys/sysmp.h and sysmp.
221 * physmem.c: Pull upstream copy, add support for irix6.
222
223 * config.in, configure: Regenerated.
224
900d2082
DD
2252003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226
227 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
228 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
229 pstat_getdynamic.
ff773b85 230
4938384a
DD
2312003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232
233 * Makefile.in (CFILES): Add physmem.c.
234 (REQUIRED_OFILES): Add physmem.o.
235 * configure.in: Check for sys/pstat.h.
236 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
237 * physmem.c: New file, copied from textutils.
238
239 * config.in, configure: Regenerated.
240
ba61a412
DJ
2412003-02-20 Daniel Jacobowitz <drow@mvista.com>
242
243 * Makefile.in (CFILES): Add lrealpath.c.
244 (REQUIRED_OFILES): Add lrealpath.o.
245 (lrealpath.o): Add rule.
246 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
247 * configure.in: Add realpath and canonicalize_file_name to
248 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
249 for canonicalize_file_name.
250 * lrealpath.c: New file.
251 * make-relative-prefix.c: Update documentation.
252 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
253 * config.in: Regenerated.
254 * configure: Regenerated.
255 * functions.texi: Regenerated.
256
25dfe0ac
DD
2572003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
258
259 * cplus_dem.c: Fix typo: intializes -> initializes.
260
8b90eef4
AO
2612003-02-20 Alexandre Oliva <aoliva@redhat.com>
262
263 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
264 config.status.
265 * configure: Rebuilt.
266
fcd7c7c9
DD
2672003-02-13 Daniel Jacobowitz <drow@mvista.com>
268
269 Fix PR c++/7612.
270 * cplus-dem.c (demangle_signature): Call string_delete.
271 Remove extra string_init.
272 (demangle_arm_hp_template): Call string_delete instead of
273 string_clear. Add missing string_delete call.
274 (demangle_qualified): Add missing string_delete call.
275 (do_type): Remove unused variable btype. Add missing string_delete
276 call. Call string_delete instead of string_clear.
277 (demangle_fund_type): Move variable btype inside of the switch
278 statement. Add missing string_delete call.
279 (do_arg): Call string_delete instead of string_clear. Remove extra
280 string_init.
281 (demangle_nested_args): Free work->previous_argument.
282
073c427b
DD
2832003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
284
285 * acconfig.h: New file. Add uintptr_t.
286 * config.in: Regenerated.
287
f8bd3000
DD
2882003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
289
290 * libiberty.texi: Update to GFDL 1.2.
291
85b9a938
DD
2922003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
293
294 * Makefile.in (libiberty_topdir): New subst.
295 (mkinstalldirs): Redefine in terms of the above.
296 * configure.in: AC_SUBST it.
297 * configure: Regenerate.
298
578460f2
AO
2992003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
300
301 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
302 (info-subdir, install-info-subdir, clean-info-subdir)
303 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
304 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
305 Pass $(FLAGS_TO_PASS).
306
7f285245
AO
3072003-01-27 Alexandre Oliva <aoliva@redhat.com>
308
309 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
310 /`$$CC -print-multi-os-directory`.
311
5f9624e3
DJ
3122003-01-26 Daniel Jacobowitz <drow@mvista.com>
313
314 * hashtab.c (htab_create_alloc_ex): New function.
315 (hatab_set_functions_ex): New function.
316 (htab_delete, htab_expand): Support alternate allocation functions.
317
9c2259b8
DD
3182003-01-24 Christopher Faylor <cgf@redhat.com>
319
320 * configure.in: Remove special pex-cygwin consideration.
321 * configure: Regenerate.
322 * pex-cygwin.c: Remove.
323 * Makefile.in: Remove pex-cygwin.[co] lines.
324
5a17353c
DD
3252003-01-24 Zack Weinberg <zack@codesourcery.com>
326
327 * Makefile.in (CFILES): Add pex-*.c.
328 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
329 (CONFIGURED_OFILES): Add pex-*.o.
330 (TEXIFILES): Add pexecute.txh.
331 (pexecute.o): Delete rule.
332 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
333 pex-unix.o, pex-win32.o): New rules.
334 * configure.in: Change AC_INIT argument to xmalloc.c.
335 Compute appropriate pexecute implementation and substitute it
336 as @pexecute@.
337
338 * pexecute.c: Split up into...
339 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
340 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
341 new files.
342
343 * functions.texi: Regenerate.
344 * configure: Regenerate.
345
eed2b28c
DD
3462003-01-20 Josef Zlomek <zlomekj@suse.cz>
347
348 * hashtab.c (htab_expand): Fix allocation of new entries.
349
27a39a5f
DD
3502003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
351
352 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
353
354 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
355 mkinstalldirs command.
356
b51c1553
DD
3572002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
358
359 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
360 Define for hosts with HOST_EXECUTABLE_SUFFIX.
361
756954c3
DD
3622002-11-24 Nick Clifton <nickc@redhat.com>
363
364 * make-relative-prefix.c (make_relative_prefix): Ensure return
365 string is empty before using strcat to construct it.
366
2a80c0a4
DD
3672002-11-22 Daniel Jacobowitz <drow@mvista.com>
368
369 * Makefile.in: Add make-relative-prefix.c.
370 * make-relative-prefix.c: New file.
371 * functions.texi: Rebuilt.
372
768b20d8
JJ
3732002-11-16 Jakub Jelinek <jakub@redhat.com>
374
375 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
376 used with arguments in traditional C' warnings.
377
f52d1d64
JJ
3782002-10-16 Jakub Jelinek <jakub@redhat.com>
379
380 * config.table: Use mh-s390pic for s390x too.
381
0d3deb8d
DD
3822002-10-06 Andreas Jaeger <aj@suse.de>
383
384 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
385 variable and of strict-aliasing warning.
386 (grow_vect): Use char as first parameter.
387
1b67de92
DD
3882002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
389
390 * Makefile.in (all): Fix multilib parallel build.
391
585cc78f
DD
3922002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
393
394 * cp-demangle.c (demangling_new): Cast 0 to enum.
395 (demangle_char): Cast return of strdup to char *.
396 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
397 (is_gnu_v3_mangled_dtor): Likewise.
398 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
399 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
400 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
401 * md5.c (md5_process_bytes): Cast results back to const void *.
402 (md5_process_block): Add cast to const md5_uint32 *.
403 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
404 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
405 unsigned short.
406 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
407 to void *.
408 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
409
e21b0cc1
NC
4102002-09-19 Nick Clifton <nickc@redhat.com>
411
412 * README: Update email addresses for bugs and patches.
413
a54ba43f
DD
4142002-09-10 Mike Stump <mrs@apple.com>
415
416 * splay-tree.c (splay_tree_successor): Fix comments.
417
4182002-09-11 Zack Weinberg <zack@codesourcery.com>
419
420 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
421 * testsuite/Makefile.in: Adjust for test-demangle.
422 * testsuite/regress-demangle: Deleted.
423 * testsuite/test-demangle.c: New file.
424 * testsuite/demangle-expected: Change \$ to $ throughout, now that
425 this file is not being read by a shell script.
426
01cea699
DD
4272002-09-05 Roger Sayle <roger@eyesopen.com>
428
429 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
430
a2832523
DD
4312002-08-07 DJ Delorie <dj@redhat.com>
432
433 * regex.c (re_error_msgid): Just use a simple array of strings.
434 (re_compile_pattern): Compensate.
435 (re_comp): Likewise.
436 (re_comp): Likewise.
437 (regerror): Likewise.
438
1e3f0be0
DD
4392002-07-29 Neil Booth <neil@daikokuya.co.uk>
440
441 * cplus-dem.c (PREPEND_BLANK): Remove.
442
b851d07b
DD
4432002-07-10 Jason Merrill <jason@redhat.com>
444
445 * cp-demangle.c (demangle_identifier): Support extended Unicode
446 characters.
447
2a9dffbf
DD
4482002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
449
450 * cp-demangle.c (demangle_v3_with_details): Wrap in
451 !defined IN_GLIBCPP_V3.
452
793011ca
DD
4532002-07-01 Mark Mitchell <mark@codesourcery.com>
454
455 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
456 Set it for the "st" operator.
457 (demangle_expression): Handle expressions with types as arguments.
458
b39b76b8
DD
4592002-06-30 Douglas Rupp <rupp@gnat.com>
460
461 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
462 * Makefile.in (OUTPUT_OPTION): Use.
463
4748c6d8
DD
4642002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
465
466 * Makefile.in (install_to_libdir): Add $(DESTDIR).
467 (install_to_tooldir): Likewise.
468
f9c3326a
DD
4692002-06-17 Douglas Rupp <rupp@gnat.com>
470
471 * lbasename.c: Add 2002 to copyright.
472 (IS_DIR_SEPARATOR): Remove VMS junk.
473
18893690
DD
4742002-06-05 Geoffrey Keating <geoffk@redhat.com>
475
476 * hashtab.c (htab_create): New stub function for backward
477 compatibility.
478 (htab_try_create): Likewise.
479
4802002-06-03 Geoffrey Keating <geoffk@redhat.com>
481
482 * hashtab.c (htab_create): Delete.
483 (htab_try_create): Delete.
484 (htab_create_alloc): New.
485 (htab_delete): Support user-specified memory allocation.
486 (htab_expand): Likewise.
487
4882002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
489
490 * configure.in: Fix typo in the code checking for sys_errlist.
491 * configure: Regenerated.
492
9296c8b2
DD
4932002-05-13 Andreas Schwab <schwab@suse.de>
494
495 * config.table: Use mh-x86pic also for x86-64.
496
52d98c2d
DD
4972002-05-08 Alexandre Oliva <aoliva@redhat.com>
498
499 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
500 script entry, and set LD to it when configuring multilibs.
501 * configure: Rebuilt.
502
cafa3917
DD
5032002-05-07 Mark Mitchell <mark@codesourcery.com>
504
505 * configure.in (AC_TYPE_PID_T): Use it.
506 * configure: Regenerated.
507 * getruntime.c: Include <sys/types.h>.
508 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
509
b1c933fc
RH
5102002-04-09 Richard Henderson <rth@redhat.com>
511
512 * hashtab.c (higher_prime_number): Use 7 as minimum.
513 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
514 (htab_find_slot_with_hash): Likewise.
515
0c4460bb
DD
5162002-04-01 Phil Edwards <pme@gcc.gnu.org>
517
518 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
519 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
520 not compile if IN_GLIBCPP_V3 defined.
521 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
522
f2160d2b
DD
5232002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
524
3ebf1f59 525 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
526 if it is NULL.
527
7dd4d42a
DD
5282002-03-27 DJ Delorie <dj@redhat.com>
529
530 * hex.c: Add documentation.
531 (_hex_value): Provide non-ASCII empty table.
532 (hex_init): Initialize the non-ASCII table.
533 * functions.texi: Regenerate.
534
38e57a35
DD
5352002-03-27 Mark Mitchell <mark@codesourcery.com>
536
537 * dyn-string.c: Add libgcc exception to copyright notice.
538
cfed0715
DD
5392002-03-26 H.J. Lu (hjl@gnu.org)
540
541 * config.table: Support --with-build-subdir.
542 * configure.in: Likewise.
543 * configure: Rebuild.
544
1504972f
DD
5452002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
546
547 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
548 seen.
549
35efcd67
DD
5502002-03-12 Mark Mitchell <mark@codesourcery.com>
551
552 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
553 notice.
554
dabc64ea
DD
5552002-03-11 Douglas B Rupp <rupp@gnat.com>
556
557 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
558
3ddbd84c
JB
5592002-03-06 Jim Blandy <jimb@redhat.com>
560
561 * splay-tree.c (splay_tree_xmalloc_allocate,
562 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
563 prototyped definitions. Mark `data' arguments as unused.
564
efdab807
AC
5652002-03-06 Andrew Cagney <ac131313@redhat.com>
566
567 * floatformat.c (floatformat_arm_ext_big): Delete definition.
568
50d4562d
DD
5692002-03-04 Phil Edwards <pme@gcc.gnu.org>
570
571 * configure.in: Add --enable-install-libiberty option.
572 * Makefile.in (INSTALLED_HEADERS): New variable.
573 (install_to_libdir): Possibly also copy headers.
574 * configure: Regenerated.
575
5762002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
577
578 * xmalloc.c (xmalloc_fail): Clarify error message further.
579
6e9980f5
DD
5802002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
581
582 * xmalloc.c (xmalloc_fail): Clarify error message.
583
18893690 5842002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
585
586 * splay-tree.c (splay_tree_xmalloc_allocate,
587 splay_tree_xmalloc_deallocate): New functions.
588 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
589 above functions and a dummy data pointer.
590 (splay_tree_new_with_allocator): New function.
591 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
592 splay_tree_remove): Use the splay tree's allocation and
593 deallocation functions.
594
59ea9fe7
DD
5952002-02-19 Scott Snyder <snyder@fnal.gov>
596
597 * testsuite/demangle-expected: Add test case for infinite loop in
598 demangler.
599 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
600 if do_type() doesn't make any progress --- prevents an infinite
601 loop.
602
6f848550
DD
6032002-02-18 Carlo Wood <carlo@gnu.org>
604
605 PR c++/5390
606 * cplus-dem.c (demangle_integral_value): Accept multi-digit
607 numbers that do not start with an underscore; This is needed
608 for integer template parameters. This doesn't break anything
609 because multi-digit numbers are never followed by a digit.
610 * testsuite/demangle-expected: Corrected all mangled test
611 cases with multi-digit template parameters: g++ 2.95.x does
612 not generate underscores around these parameters.
613
44354ae1
DD
6142002-02-05 Jason Merrill <jason@redhat.com>
615
616 * cplus-dem.c (flags): Add DMGL_VERBOSE
617 (cplus_demangle_v3_p): Remove.
618 (demangle_it): Add DMGL_TYPES to passed flags.
619 * cp-demangle.c (cplus_demangle_v3_all): Remove.
620 (cplus_demangle_v3_type): Remove.
621 (cplus_demangle_v3): Add options parm.
622
42da15d6
DD
6232002-02-02 H.J. Lu (hjl@gnu.org)
624
625 * cp-demangle.c (cp_demangle_type): Do not protect with
626 IN_LIBGCC2.
627 (cplus_demangle_v3_all): New.
628 (cplus_demangle_v3): Call cplus_demangle_v3_all.
629 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
630
631 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
632 Initialized to cplus_demangle_v3.
633 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
634 of cplus_demangle_v3.
635 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
636 command line symbol.
637
638 * testsuite/regress-demangle: Pass the mangled name at the
639 command line.
640
b117c158
DD
6412002-02-01 H.J. Lu <hjl@gnu.org>
642
643 * cp-demangle.c (cp_demangle_type): Call demangling_new with
644 DMGL_GNU_V3.
645
c78d91b1
DD
6462002-01-31 Phil Edwards <pme@gcc.gnu.org>
647
648 * cp-demangle.c: Revert yesterday's change.
649
bef8b55d
DD
6502002-01-31 Adam Megacz <adam@xwt.org>
651
652 * gcc/libiberty/configure.in: Treat mingw the same as cywin
653 wrt HAVE_SYS_ERRLIST.
654
2c955b8b
DD
6552002-01-30 Phil Edwards <pme@gcc.gnu.org>
656
657 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
658 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
659 cp_demangle_type.
660 * testsuite/demangle-expected: New gnu-v3 test.
661
58b1717a
RH
6622002-01-22 Momchil Velikov <velco@fadata.bg>
663
664 * configure.in (variable detection): Use arrays of unspecified
665 size instead of plain integers.
666
cc096b71
DD
6672002-01-18 DJ Delorie <dj@redhat.com>
668
669 * Makefile.in (TESTLIB): New. This library is for future
670 testsuites.
671 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
672 break down by letter.
673 (REQUIRED_OFILES): List long-to-compile files first.
674 (maint-deps): New, target for updating dependencies.
675 (dependencies): Update.
676 * maint-tool: Add dependency-generating option.
677 * configure.in: Check for _doprnt even if we're not providing it.
678 * configure: Regenerate.
679
680 * _doprnt.c: Modifications to allow compiling on any platform.
681 * copysign.c: Likewise.
682 * putenv.c: Likewise.
683 * setenv.c: Likewise.
684 * vsprintf.c: Likewise.
685
6862002-01-15 Douglas B Rupp <rupp@gnat.com>
687
688 * mkstemps.c (mkstemps): On VMS, open temp file with option
689 that causes it to be deleted when closed.
690
20d54542
DD
6912002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
692
c23795e2
DD
693 * cp-demangle.c (long_options): Const-ify.
694 * cplus-dem.c (long_options): Likewise.
695
20d54542
DD
696 * cplus-dem.c (mystrstr): Delete. All callers changed to use
697 strstr instead.
698
f348a7b1
DD
6992001-12-31 Ira Ruben <ira@apple.com>
700
701 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
702 * configure: Regenerated.
703
d86cd745
DD
7042001-12-24 Douglas B. Rupp <rupp@gnat.com>
705
706 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
707 * configure: Regenerated.
708
ae533646
DD
7092001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
710
711 PR other/2719
712 * cplus-dem.c (consume_count): Treat negative count as an error.
713 * testsuite/demangle-expected: Added testcase.
714
c0eb281b
DD
715Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
716
717 * configure.in: Hardcode that vfork works on VMS host.
718 * configure: Regenerated.
719
2da4c07f
RH
7202001-12-06 Richard Henderson <rth@redhat.com>
721
722 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
723 (cplus_demangle): Support no_demangling.
724
24acd898
DD
7252001-11-27 Zack Weinberg <zack@codesourcery.com>
726
727 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
728 in libiberty context. Fix typo in leading comment.
729 * configure.in: Fix various AC_DEFINEs so autoheader works.
730 If any of vprintf, vsprintf, vfprintf is missing from libc,
731 then AC_REPLACE_FUNCS(_doprnt).
732
fec50157 7332001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 734 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
735
736 * Makefile.in (stamp-h): Depend on Makefile for proper
737 serialization.
738 (*-subdir): Depend on config.h for proper serialization.
739
5527febf
DD
7402001-11-26 DJ Delorie <dj@redhat.com>
741
742 * configure.in: Check for alloca.h (for regex.c and putenv.c).
743 * configure: Regenerate.
744 * config.h: Add HAVE_ALLOCA_H.
745
941d74a0
DD
7462001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
747
748 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
749 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
750 is available.
751
dc579051
DD
752Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
753
754 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
755 * configure.in (HAVE_UINTPTR_T): Test for system defining
756 uintptr_t and define HAVE_UINTPTR_T appropriately.
757 * regex.c (uintptr_t): Do not provide a definition if the
758 system provided one.
759
760 * regex.c (PREFIX): Provide an alternate definition for
761 non-ANSI/ISO compilers.
762 (ARG_PREFIX): Likewise.
763
1a78a35a
DD
7642001-11-12 Jim Meyering <meyering@lucent.com>
765
766 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
767 this code would end up calling gettext even in packages built
768 with --disable-nls.
769 * getopt.c (_): Likewise.
770 * regex.c (_): Likewise.
771
4e55c4b6
DD
7722001-11-03 Alan Modra <amodra@bigpond.net.au>
773
774 * configure.in: Cope with missing makeinfo.
775 * configure: Regenerate.
776
d311a83a
DD
7772001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
778
779 * hex.c (hex_init): Provide empty stub.
780
781 * hex.c (hex_init): Delete.
782 (_hex_value): Const-ify and initialize at compile-time.
783
3bc62f91
DD
7842001-10-19 H.J. Lu <hjl@gnu.org>
785
786 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
787 necessary.
788
5d852400
DD
7892001-10-17 DJ Delorie <dj@redhat.com>
790
791 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
792 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 793 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
794 Improve manual formatting.
795 * functions.texi: Regenerate.
796
ba19b94f
DD
7972001-10-15 DJ Delorie <dj@redhat.com>
798
799 * Makefile.in (TEXIFILES): Add fnmatch.txh.
800 (maint-undoc): New.
801 maint-tool: Add "undoc" tool.
802 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
803 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
804 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
805 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
806 documentation.
807 * fnmatch.txh: New.
808 * functions.texi: Regenerate.
809
56056af5
DD
8102001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
811
812 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
813 * strtod.c: Use "ISO C" instead of "ANSI C".
814 * functions.texi: Regenerate.
815
99b58139
DD
8162001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
817
818 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
819 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
820 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
821 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
822 spelling. Give names to function arguments in documentation. Use
823 (void) prototypes in documentation.
824 * functions.texi: Regenerate.
825
e6450fe5
DD
8262001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
827
828 * argv.c (buildargv, tests, main): Const-ify.
829 * cp-demangle.c (operator_code): Likewise.
830 * cplus-dem.c (optable, libiberty_demanglers,
831 cplus_demangle_set_style, cplus_demangle_name_to_style,
832 print_demangler_list): Likewise.
833 * hashtab.c (higher_prime_number): Likewise.
834 * strcasecmp.c (charmap): Likewise.
835 * strerror.c (error_info, strerror, main): Likewise.
836 * strncasecmp.c (charmap): Likewise.
837 * strsignal.c (signal_info): Likewise.
838
da191b5b
DD
8392001-09-29 DJ Delorie <dj@redhat.com>
840
841 * configure: Regenerate.
842
916aaa12
DD
8432001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
844
845 * concat.c: Include stdlib.h.
846
fa9f0e33
DD
8472001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
848
849 * libiberty.texi: (Top level): Add syncodeindex pg. Add
850 @dircategory and @direntry directives. Add @finalout.
851 (many nodes): Lose the next,prev,up pointers on the @nide line.
852 (Using, Supplemental Functions, Replacement Functions): Fix
853 markup.
854 (Functions): Move around, to allow makeinfo to build the manual
855 without next,prev,up pointers in thye node lines.
856 (Licenses): Fix typos.
857
858 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
859 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
860 * functions.texi: Regenerate.
861
862 * copying-lib.texi: Lose the next,prev,up pointers on the @node
863 line.
864
8652001-09-27 DJ Delorie <dj@redhat.com>
866
867 * configure.in: Don't use in-tree texinfo, because libiberty must
868 be built before it. Check for makeinfo version 4 or higher.
869 * functions.texi: Regenerate.
870
39423523
DD
8712001-09-20 DJ Delorie <dj@redhat.com>
872 Phil Edwards <pedwards@disaster.jaj.com>
873
874 * configure.in (MAKEINFO, PERL): Detect these.
875 (--enable-maintainer-mode): Add.
876 * configure: Regenerate.
877 * Makefile.in (MAKEINFO, PERL): Define.
878 (libiberty.info, libiberty.dvi, libiberty.html): New.
879 (CFILES): Add bsearch.c.
880 (CONFIGURED_OFILES): New, list of objects configure might add.
881 (maint-missing, maint-buildall): New, for maintainers only.
882 (clean, mostlyclean): Add info/dvi/html files.
883 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
884 * gather-docs: New, for maintainers.
885 * maint-tool: New, for maintainers.
886 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
887 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
888 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
889 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
890 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
891 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
892 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
893 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
894 documentation.
895
66c94e19
DD
8962001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
897
898 * concat.c (reconcat): Fix for traditional C.
899
99ee3a8f
DD
9002001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
901
902 * concat.c (reconcat): New function.
903
54c20242
DD
9042001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
905
906 * concat.c (vconcat_length, vconcat_copy, concat_length,
907 concat_copy, concat_copy2): New functions.
908 (concat): Use vconcat_length/vconcat_copy.
909
910 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
911 Define.
912
843f21be
DD
9132001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
914
915 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
916 VA_FIXEDARG & VA_CLOSE.
917
918 * vasprintf.c: Check HAVE_STRING_H when including string.h.
919 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
920 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
921
8a423cb3
DD
9222001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
923
924 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
925
dc676635
DD
9262001-08-23 Ulrich Drepper <drepper@redhat.com>
927
928 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
929
9302001-08-23 Ulrich Drepper <drepper@redhat.com>
931
932 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
933 instead of mbrtowc.
934 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
935 wcslen, and __wcscoll instead of wcscoll.
936
f080c76d
DD
9372001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
938
3ebf1f59
DD
939 * fibheap.c (fibheap_init, fibnode_init): Remove.
940 (fibheap_new, fibnode_new): Use xcalloc to allocate and
941 initialize memory.
942 (fibheap_insert): Remove check for node allocation failure.
f080c76d 943
f01b59ed
DD
9442001-08-21 Richard Henderson <rth@redhat.com>
945
946 * Makefile.in (fibheap.o): Depend on config.h.
947 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
948 functions for inlining.
949
950Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
951
952 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
953 hosting on cygwin.
954 * configure: Regenerate.
955
eb828599
AC
9562001-08-20 Andrew Cagney <ac131313@redhat.com>
957
958 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
959 HARRIS_FLOAT_FORMAT.
960 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
961 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
962 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
963 (floatformat_m88110_harris_ext): New float formats.
964
4e55c4b6
DD
9652001-08-20 Daniel Berlin <dan@cgsoftware.com>
966
967 * fibheap.c: New file. Fibonacci heap.
968
969 * Makefile.in (CFILES): Add fibheap.c.
970 (REQUIRED_OFILES): Add fibheap.o.
971 (fibheap.o): Add dependencies for fibheap.o.
972
68a41de7
DD
9732001-08-17 Christopher Faylor <cgf@cygnus.com>
974
975 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
976 * configure: Regenerate.
977
8fc34799
DD
9782001-08-16 Richard Henderson <rth@redhat.com>
979
980 * hashtab.c (htab_hash_string): New.
981
16bad250
AC
9822001-08-13 Andrew Cagney <ac131313@redhat.com>
983
984 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
985 name.
986
a9022147
DD
9872001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
988
989 * regex.c (wcs_regex_compile): Use appropriate string
990 to compare with collating element.
991 Fix the padding for the alignment.
992
8aefe91a 9932001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
994
995 * lbasename.c (lbasename): Change function definition to return a
996 const char pointer.
997
e7e9b069
DD
9982001-08-07 Jason Merrill <jason_merrill@redhat.com>
999
1000 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1001 for".
1002
cc5144f8
DD
10032001-08-03 Richard Henderson <rth@redhat.com>
1004
1005 * Makefile.in (concat.o): Depend on config.h.
1006
8aefe91a
DD
10072001-07-30 Andreas Jaeger <aj@suse.de>
1008
1009 * concat.c: Include "config.h".
1010
86710ce2
DD
10112001-07-30 Andreas Jaeger <aj@suse.de>
1012
1013 * regex.c: Declare wcs functions only if compiling with
1014 MBS_SUPPORT.
1015 Don't use #elif for traditional C.
1016
10172001-07-23 Ulrich Drepper <drepper@redhat.com>
1018
1019 * regex.c: Revamp memory allocation for WCHAR functions to
1020 not use too much stack.
1021
10222001-07-30 Andreas Jaeger <aj@suse.de>
1023
1024 * regex.c: Declare wcs functions only if compiling with
1025 MBS_SUPPORT.
1026 Don't use #elif for traditional C.
1027
a5d8f731
DD
10282001-07-25 Daniel Jacobowitz <drow@mvista.com>
1029
1030 * Makefile.in (regex.o): Add dependency on config.h.
1031
6ad8a379
DD
10322001-07-18 Andreas Schwab <schwab@suse.de>
1033
1034 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1035 underscore character.
1036
10372001-07-18 Ulrich Drepper <drepper@redhat.com>
1038
1039 * regex.c: Limit string length printed in debug messages to 100
1040 chars.
1041
10422001-07-18 Andreas Jaeger <aj@suse.de>
1043
1044 * regex.c: Place under LGPL version 2.1.
1045
2a6ef469
DD
10462001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1047
1048 * Makefile.in: Add support for regex code.
1049 * regex.c: New file.
1050
7b78baae
DD
10512001-07-05 Mark Klein <mklein@dis.com>
1052
1053 * Makefile.in: Add ffs.c dependency.
1054 * configure.in: Add ffs.c.
1055 * ffs.c: New file.
1056
926150e2
DD
10572001-06-18 Richard Henderson <rth@redhat.com>
1058
1059 * concat.c: Include <sys/types.h>.
1060
11f6f21d
DD
10612001-06-11 Loren J. Rittle <ljrittle@acm.org>
1062
1063 bootstrap/3106
1064 * strerror.c (sys_nerr): Hide the OS header version.
1065 * strsignal.c (sys_nsig): Likewise.
1066
d42dae6c
DD
10672001-06-10 Richard Henderson <rth@redhat.com>
1068
1069 * concat.c: Include string.h. Fix int vs size_t usage.
1070 Simplify the iteration loops. Use memcpy.
1071
e05c6d27
DD
10722001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1073
1074 * partition.c: Fix misspelling of `implementation'.
1075
b50c4073
DD
10762001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1077
1078 * md5.c (md5_init_ctx): Declare constants as unsigned.
1079 (md5_process_block): Likewise.
1080
457161bf
DD
10812001-05-07 Zack Weinberg <zackw@stanford.edu>
1082
1083 * cp-demangle.c (demangle_v3_with_details,
1084 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1085 function definition.
1086 * ternary.c: Use K+R style function definitions. Use PTR, not
1087 void *. Make arguments constant where possible.
1088
e00bc6a7
DD
10892001-05-07 Mark Mitchell <mark@codesourcery.com>
1090
1091 * splay-tree.h (splay_tree_max): New function.
1092 (splay_tree_min): Likewise.
1093
400ee7e1
DB
10942001-04-15 Daniel Berlin <dan@cgsoftware.com>
1095
1096 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
1097
1098 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 1099
d9697354
DD
11002001-04-03 Zack Weinberg <zackw@stanford.edu>
1101
1102 * make-temp-file.c (try): Inline.
1103
a7bf099b
DD
11042001-02-28 Richard Henderson <rth@redhat.com>
1105
1106 * Makefile.in (make-temp-file.o): Depend on config.h.
1107
30a1def2
DD
11082001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1109
1110 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1111
079c672a
DD
11122001-03-23 Jakub Jelinek <jakub@redhat.com>
1113
1114 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1115 `_' not followed by a digit is invalid.
1116
a88e356a
JB
11172001-03-22 Jim Blandy <jimb@redhat.com>
1118
1119 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1120 instead of free, to free the contents as well as the string
1121 structure.
1122
1dffcc66
DD
11232001-03-21 Zack Weinberg <zackw@stanford.edu>
1124
1125 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1126 Don't default P_tmpdir to anything. Try /var/tmp before
1127 /usr/tmp.
1128
11292001-03-20 Zack Weinberg <zackw@stanford.edu>
1130
1131 * choose-temp.c: Split off make_temp_file, and the code
1132 duplicated between it and choose_temp_base, into...
1133 * make-temp-file.c: ... here; new file.
1134
1135 * Makefile.in (CFILES): Add make-temp-file.c.
1136 (REQUIRED_OFILES): Add make-temp-file.o.
1137
e61231f1
JB
11382001-03-20 Jim Blandy <jimb@redhat.com>
1139
1140 * cp-demangle.c (struct demangling_def): New fields:
1141 is_constructor and is_destructor.
1142 (demangling_new): Initialize them.
1143 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1144 or destructor.
1145 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1146 is_gnu_v3_mangled_dtor): New functions.
1147
a9cbbe6d
DD
11482001-03-20 Jason Merrill <jason@redhat.com>
1149
1150 * cplus-dem.c (main): Skip initial $.
1151
b1e51b3c
DD
11522001-03-15 Michael Meissner <meissner@redhat.com>
1153
1154 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1155 might be a signed integer under pre-ISO C systems.
1156
8aa30e60 11572001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 1158 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 1159
8aa30e60
DD
1160 * libiberty/lbasename.c: New file.
1161 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 1162
30673bf5
DD
11632001-03-06 Zack Weinberg <zackw@stanford.edu>
1164
1165 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1166 * configure.in: Replace all alloca logic with a simple use of
1167 the above new macro.
1168 * config.table: Kill *-*-beos* entry.
1169 * config/mh-beos: Delete.
1170 * configure, config.in: Regenerate.
fa03f0a7 1171
30673bf5
DD
1172 * Makefile.in (ALLOCA, HFILES): Kill.
1173 (REQUIRED_OFILES): Add alloca.o.
1174 (alloca.o): Depend on libiberty.h.
1175 (argv.o): Don't depend on alloca-conf.h.
1176 * alloca-conf.h: Delete.
1177 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1178 blocks. Provide the C alloca unconditionally. Use PTR where
1179 appropriate. Make i00afunc static.
1180 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1181
5810f394
DD
11822001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1183
1184 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1185
a9db032a
DD
11862001-02-16 Loren J. Rittle <ljrittle@acm.org>
1187
1188 * cplus-dem.c (main): Initialize style.
fa03f0a7 1189
8aefe91a
DD
11902001-02-02 Phil Edwards <pme@sources.redhat.com>
1191
1192 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1193
bc9bf259
DD
11942001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1195
1196 Add support for Java demangling under the v3 ABI:
1197 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1198 (struct demangling_def): Add `style' field.
1199 (demangling_new): New parameter `style'. Set it in demangling_t.
1200 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1201 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1202 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1203 (main): Call cp_demangle with extra parameter.
1204 (java_demangle_v3): New function.
1205 (java_builtin_type_names): New. Table of primitive type names used
1206 for Java demangling.
1207 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1208 Java output.
1209 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1210 demangling.
1211 (long_options): Remove obsolete `java' option.
1212 (main): Remove explicit handling of `java' option. Instead, pass style
1213 parameter in cplus_demangle flags as gdb does.
1214 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1215
f6528837
DD
12162000-12-29 DJ Delorie <dj@redhat.com>
1217
1218 * fnmatch.c: Make the note about the origins of this file more
1219 accurate, at least until we can sync with glibc.
1220 * getopt.c: Ditto.
1221 * getopt1.c: Ditto.
1222 * md5.c: Ditto.
1223 * obstack.c: Ditto.
9d969b59 1224
c6da642e
DD
12252000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1226
1227 * bsearch.c: New file.
1228 * configure.in (funcs): Add bsearch.
1229 (AC_CHECK_FUNCS): Likewise.
1230 * configure, config.in: Regenerate.
1231
ae7d06ad 12322000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1233
1234 * safe-ctype.c: #include "ansidecl.h".
1235 * strtod.c: Likewise.
1236
ae7d06ad 12372000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1238
1239 * strtoul.c: Include safe-ctype.h, not ctype.h.
1240
ac424eb3
DD
12412000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1242
1243 * safe-ctype.c: New file.
1244 * Makefile.in (CFILES): Add safe-ctype.c.
1245 (REQUIRED_OFILES): Add safe-ctype.o.
1246
1247 * argv.c: Define ISBLANK and use it, not isspace.
1248 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1249 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1250 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1251 before calling TOLOWER(c)/TOUPPER(c).
1252
4415a860
DD
12532000-12-07 Mike Stump <mrs@wrs.com>
1254
1255 * Makefile.in (distclean): When cleaning, remove testsuite.
1256
849ee224
DD
12572000-12-05 Jason Merrill <jason@redhat.com>
1258
1259 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1260 name before allocating the dyn_string.
1261
ae7d06ad 12622000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1263
1264 * cp-demangle.c: s/new_abi/v3/.
1265 * cplus-dem.c: Likewise.
1266 (current_demangling_style): Now auto_demangling.
1267 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1268 (main): Use standard symbol chars for auto_demangling.
e49a569c 1269
ae7d06ad 12702000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1271
1272 * hashtab.c (higher_prime_number): Use a table, rather than a
1273 seive, to find the next prime.
ae7d06ad
NC
1274
12752000-11-22 H.J. Lu <hjl@gnu.org>
1276
1277 * cplus-dem.c (main): Handle gnat_demangling.
1278
12792000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1280
1281 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1282 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1283 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1284 argument form of AC_DEFINE in dummy definitions block. Use
1285 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1286 in dummy block. Preload cache variables instead of bypassing
1287 tests, where possible.
1288 * acconfig.h: Removed.
ae7d06ad 1289
2ea7befd
DD
1290 * xmalloc.c (xmalloc_failed): New function, does error
1291 reporting on failed allocation.
1292 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1293
f1775526
HPN
12942000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1295
1296 * cplus-dem.c (cplus_demangle): Fix formatting.
1297 (grow_vect): Ditto.
1298 (ada_demangle): Ditto.
1299 (internal_cplus_demangle): Ditto.
1300 (mop_up): Ditto.
1301
13022000-11-21 H.J. Lu <hjl@gnu.org>
1303
1304 * cplus-dem.c (main): Handle java_demangling.
1305
ae7d06ad 13062000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1307
1308 * cplus-dem.c (grow_vect): Prototype.
1309 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1310
5dd42ef4
HPN
13112000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1312
1313 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1314 parameter `option'.
1315
296731c1
DD
13162000-11-15 Kenneth Block <kenneth.block@compaq.com>
1317
8944fb9d 1318 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1319 be used in GCC.
1320
6e53a714 13212000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1322
5dd42ef4 1323 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1324 list.
1325
99a4c1bd
HPN
13262000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1327
1328 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1329 xcalloc depending on htab->return_allocation_failure. Return zero
1330 if calloc fails.
99a4c1bd
HPN
1331 (htab_create): Update comment to cover memory allocation.
1332 (htab_try_create): New.
1333 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1334 Update comment to cover this.
99a4c1bd 1335
e0f3df8f
HPN
13362000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1337
1338 * hashtab.c: Change void * to PTR where necessary.
1339 (htab_create, htab_expand): Correct formatting of comment before
1340 function.
1341
ae7d06ad 13422000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1343
1344 * cp-demangle.c (string_list_def): Add caret_position and comments.
1345 (result_caret_pos): New macro.
1346 (result_append_string): Rename to...
1347 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1348 Rename throughout.
59666b35
DD
1349 (result_append): Rename to...
1350 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1351 throughout.
59666b35
DD
1352 (result_append_char): Rename to...
1353 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1354 throughout.
59666b35
DD
1355 (result_append_space): Remove.
1356 (string_list_new): Initialize caret position.
1357 (result_add_separated_char): Use caret position.
1358 (result_get_caret): New funtion.
1359 (result_set_caret): Likewise.
1360 (result_shift_caret): Likewise.
1361 (result_previous_char_is_space): Likewise.
1362 (substitution_start): Use caret position.
1363 (substitution_add): Likewise.
1364 (demangling_new): Initialize caret position.
1365 (demangle_encoding): Use caret position.
ae7d06ad 1366 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1367 (demangle_type_ptr): Use switch statement. Handle pointers to
1368 arrays. Don't use result_append_space. Use caret position.
1369 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1370 call to demangle_array_type.
1371 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1372
ae7d06ad 13732000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1374
1375 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1376
13772000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1378
1379 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1380
13812000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1382
1383 * splay-tree.c: #include <stdio.h>.
1384
13852000-09-14 Hans-Peter Nilsson <hp@axis.com>
1386
1387 * testsuite/demangle-expected: Add two tests for anonymous
1388 namespaces.
1389 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1390
13912000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1392
1393 * splay-tree.c (splay_tree_predecessor): New function.
1394 (splay_tree_successor): Likewise.
ae7d06ad
NC
1395
13962000-09-10 Hans-Peter Nilsson <hp@axis.com>
1397
1398 * testsuite/demangle-expected: Add four tests for type_info
1399 mangling.
1400 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1401 for a non-template non-qualified type_info function or node.
1402
14032000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1404
1405 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1406
14072000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1408
1409 * md5.c: #include "ansidecl.h".
1410
14112000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1412
1413 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1414 (demangle_type): Handle substitution candidates correctly in the
1415 face of special substitutions.
ae7d06ad
NC
1416
14172000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1418
1419 * cp-demangle.c (demangle_encoding): Rename variable.
1420 (demangle_name): Rename parameter. Handle return type
1421 suppression.
1422 (demangle_nested_name): Rename parameter.
1423 (demangle_prefix): Likewise. Change return type suppression.
1424 (demangle_unqualified_name): Add parameter. Flag constructors and
1425 conversion operators.
1426 (demangle_special_name): Fix comment.
1427 (demangle_type): Rename variable.
1428 (demangle_bare_function_type): Check for missing return type and
1429 parameter.
1430 (demangle_class_enum_type): Rename parameter.
1431 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1432
14332000-08-31 DJ Delorie <dj@redhat.com>
1434
1435 * configure.in (Cygwin): special case cygwin only when we're
1436 building cygwin, not when we're hosting cygwin.
1437
14382000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1439
1440 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1441 <expression>.
ae7d06ad
NC
1442
14432000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1444
1445 * cp-demangle.c (demangle_type_ptr): Increment position past
1446 pointer and reference characters.
ae7d06ad
NC
1447
14482000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1449
1450 * cp-demangle.c (demangle_nv_offset): New function.
1451 (demangle_v_offset): Likewise.
1452 (demangle_call_offset): Likewise.
1453 (demangle_special_name): Update thunk demangling to comply with
1454 ABI changes.
ae7d06ad
NC
1455
14562000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1457
1458 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1459 (substitution_def): Remove template_parm_number.
1460 (NOT_TEMPLATE_PARM): Remove.
1461 (result_insert_string): New macro.
1462 (result_insert): Likewise.
1463 (result_insert_char): Likewise.
1464 (substitution_add): Remove last parameter. Don't store template
1465 parm number.
1466 (BFT_NO_RETURN_TYPE): Define as NULL.
1467 (demangle_encoding): Adjust call to demangle_bare_function_type.
1468 (demangle_name): Adjust substitution. Adjust call to
1469 substitution_add.
1470 (demangle_prefix): Adjust call to substitution_add.
1471 (demangle_identifier): Handle anonymous namespaces.
1472 (demangle_operator_name): Change demangling of vendor-extended
1473 operator to match ABI changes.
1474 (demangle_type_ptr): Change parameters. Make recursive. Handle
1475 substitutions here.
1476 (demangle_type): Adjust calls to demangle_template_param,
1477 substitution_add, and demangle_type_ptr. Fix substitution of
1478 templated types.
1479 (demangle_function_type): Change parameter to a pointer.
1480 (demangle_bare_function_type): Likewise. Adjust insertion point.
1481 (demangle_template_param): Remove last parameter.
1482 (demangle_expr_primary): Remove unused variable. Adjust call to
1483 demangle_template_param.
1484 (is_mangled_char): Accept `$' and `.'.
1485 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1486 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1487
14882000-08-31 Hans-Peter Nilsson <hp@axis.com>
1489
1490 * testsuite/demangle-expected: Add nine tests for
1491 underscore-after-number followed by five tests for name-signature
1492 delimiter.
1493
14942000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1495
1496 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1497
14982000-08-28 Jason Merrill <jason@redhat.com>
1499
1500 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1501 (CFILES): Add md5.c.
1502 * md5.c: New file.
1503
15042000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1505
1506 * cp-demangle.c (demangle_name): Initialize template_p in local
1507 name case. Don't re-add substitutions as candidates.
1508 (demangle_nested_name): Use <unqualified-name>.
1509 (demangle_prefix): Likewise. Don't add template names as
1510 substitution candidates twice, or re-add a substitution or the
1511 last prefix component.
1512 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1513
15142000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1515
1516 * cp-demangle.c (result_add_separated_char): Change parameter to
1517 int.
1518 (substitution_add): Don't check for duplicates. Check if
1519 previously allocated size is zero.
1520 (demangle_name): Remove duplicate check for std substitution.
1521 Clear template flag appropriately.
1522 (demangle_prefix): Remove argument to demangle_substitution.
1523 Don't check that template flag is already set.
1524 (demangle_operator_name): Add pt operator.
1525 (demangle_type): Don't treat r as built-in type. Remove argument
1526 to demangle_substitution. Fix substitution candidate mechanics.
1527 Handle <template-template-parm>s. Improve comments.
1528 (demangle_template_param): Don't handle template arg lists here.
1529 (demangle_substitution): Remove parameter.
1530 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1531
15322000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1533
1534 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1535
15362000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1537
1538 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1539 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1540 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1541
15422000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1543
1544 * cp-demangle.c (result_close_template_list): Remove function.
1545 (result_add_separated_char): New function.
1546 (result_open_template_list): New macro.
1547 (result_close_template_list): Likewise.
1548 (demangle_prefix): Don't set template_p if the
1549 prefix ends with a ctor name.
1550 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1551 (demangle_type): Check for template args after substitution.
1552 (demangle_template_args): Use result_open_template_list.
d3e85005 1553
ae7d06ad 15542000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1555
ae7d06ad 1556 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1557
ae7d06ad 15582000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1559
1560 * config/mh-openedition.h: Added -DLE370 definition.
1561
a9f34fb6
JL
15622000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1563
1564 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1565 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1566 Cast program to 'char *' in errmsg_arg assignment.
1567 (PWAIT_ERROR): Define.
1568 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1569 to DJGPP's WIF* macros.
1570
90aaccd1 15712000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1572 Jeff Law <law@cygnus.com>
90aaccd1 1573
ae7d06ad 1574 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1575
90aaccd1 1576 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1577 * rename.c: Include config.h, unistd.h
1578 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1579
6ef554e3
HPN
15802000-07-24 Hans-Peter Nilsson <hp@axis.com>
1581
1582 * cplus-dem.c (work_stuff_copy_to_from): New.
1583 (delete_non_B_K_work_stuff): New.
1584 (delete_work_stuff): New.
1585 (mop_up): Break out work_stuff partly destruction to
1586 delete_non_B_K_work_stuff.
1587 (iterate_demangle_function): New.
1588 (demangle_prefix): Call iterate_demangle_function instead of
1589 demangle_function_name. Leave handling of name-signature
1590 __-delimiters to iterate_demangle_function.
1591 (demangle_integral_value): Strip an optional
1592 following underscore cautiously. Handle negative numbers.
1593
ae7d06ad 15942000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1595
ae7d06ad 1596 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1597 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1598
ae7d06ad
NC
15992000-07-21 Alex Samuel <samuel@codesourcery.com>
1600
1601 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1602 allocating ctor mangling.
1603 (demangle_array_type): Handle empty and non-constant array length.
1604
b1233257 16052000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1606 Jeff Law <law@cygnus.com>
1607
1608 * configure.in (AC_CHECK_HEADERS): Add time.h.
1609 (AC_HEADER_TIME): Add check.
1610 * configure, config.in: Regenerate.
1611 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1612
1613 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1614 * configure, config.in: Regenerate.
1615 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1616 * strtol.c, strtoul.c: #include "config.h". Portably #include
1617 <limits.h> and/or <sys/param.h>.
1618 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1619
7d3ffcaf
JL
1620 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1621 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1622 * configure, config.in: Regenerate.
1623 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1624
b1233257
JL
1625 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1626
ae7d06ad
NC
16272000-07-21 Mike Stump <mrs@wrs.com>
1628
1629 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1630 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1631
16322000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1633
1634 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1635
1636 * setenv.c (setenv): Initialize variable `ep'.
1637
1638 * sigsetmask.c (abort): Prototype.
1639
1640 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1641 __STDC__ for stdarg.h include.
1642 (int_vasprintf): Prototype.
1643 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1644 definition. Cast `global_total_width' in comparison.
1645 (main): Prototype. Return a value.
1646
1647 * vfork.c (fork): Prototype.
1648
1649 * xexit.c: Include config.h.
1650
9adf30b2
JL
16512000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1652
1653 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1654 and print it with %u.
1655
2ed78d1b
HPN
16562000-07-17 Hans-Peter Nilsson <hp@axis.com>
1657
1658 * testsuite/regress-demangle (failed test): Show result and
1659 expected output.
1660
0473bdf7
AH
16612000-07-07 Andrew Haley <aph@cygnus.com>
1662
1663 * cplus-dem.c (main): fflush() after emitting last char before
1664 waiting for input.
1665
03d5f569
JM
16662000-06-28 Alex Samuel <samuel@codesourcery.com>
1667
1668 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1669 (demangle_name): Handle <substitution> followed by
1670 <unqualified-template-name>.
1671 (demangle_type): Follow special substitutions with
1672 <class-enum-type>
1673 (demangle_subtitution): Set template_p for special substitutions.
1674 (main): Fix typos.
ae7d06ad 1675
03d5f569
JM
16762000-06-27 Alex Samuel <samuel@codesourcery.com>
1677
1678 * cp-demangle.c (demangle_special_name): Swap base and derived
1679 class when demangling construction vtables.
1680
16812000-06-21 Alex Samuel <samuel@codesourcery.com>
1682
1683 * cp-demangle.c: Don't include ctype.h.
1684 (IS_DIGIT): New macro.
1685 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1686 instead of isdigit and isalpanum.
1687 (demangling_def): Make name and next const pointers.
1688 (STATUS_ALLOCATION_FAILED): New status code.
1689 (dyn_string_append_space): Handle failure in
1690 dyn_string_append_char.
1691 (int_to_dyn_string): Likewise. Change return value to status_t.
1692 (string_list_new): Handle failure of dyn_string_init.
1693 (result_close_template_list): Change return type to status_t.
1694 Handle failure in dyn_string_append.
1695 (result_push): Change return value to status_t. Handle failure in
1696 string_list_new. Handle failure of result_push throughout.
1697 (substitution_add): Change return value to status_t. Handle
1698 dyn_string failures. Handle failure of substitution_add
1699 throughout.
1700 (template_arg_list_new): Return NULL on allocation failure.
1701 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1702 Handle error result throughout.
1703 (result_append): Likewise.
1704 (result_append_char): Likewise.
1705 (result_append_space): Likewise.
1706 (demangling_new): Make argument a const pointer. Handle
1707 allocation failures.
1708 (demangle_template_args): Handle failure in template_arg_list_new
1709 and result_close_template_list.
1710 (demangle_discriminator): Return if int_to_dyn_string fails.
1711 (cp_demangle): Likewise.
1712 (cp_demangle_type): New function.
1713 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1714 memory allocation failure.
1715 (main): Likewise.
1716 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1717 IN_LIBGCC2.
1718 (dyn_string_init): Change return value to int. Handle
1719 RETURN_ON_ALLOCATION_FAILURE case.
1720 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1721 (dyn_string_release): Delete the dyn_string.
1722 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1723 (dyn_string_copy): Change return type to int.
1724 (dyn_string_copy_cstr): Likewise.
1725 (dyn_string_prepend): Likewise.
1726 (dyn_string_prepend_cstr): Likewise.
1727 (dyn_string_insert): Likewise.
1728 (dyn_string_insert_cstr): Likewise.
1729 (dyn_string_append): Likewise.
1730 (dyn_string_append_cstr): Likewise.
1731 (dyn_string_append_char): Likewise.
1732 (dyn_string_substring): Likewise.
ae7d06ad 1733
eb383413 17342000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1735
eb383413
L
1736 * cp-demangle.c (demangle_operator_name): Add spaces before
1737 names beginning with a letter: delete, delete[], new, new[],
1738 sizeof.
1739 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1740
eb383413
L
1741Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1742
1743 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1744
1745Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1746
1747 * cp-demangle.c (stdio.h): File included unconditionaly.
1748 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1749 * dyn-string.c (stdio.h): File included.
1750 * partition.c (partition_print): No `&' needed to take the address of
1751 a function.
1752
17532000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1754
1755 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1756
eb383413
L
1757 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1758
1759 * cp-demangle.c (demangle_char): Change parameter from char to int.
1760 (demangle_expression, demangle_expr_primary): Remove extra
1761 semi-colon in prototype.
1762
1763 * dyn-string.c (dyn_string_append_char): Change parameter from
1764 char to int.
1765
1766 * memcmp.c (memcmp): Constify.
1767
1768 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1769 __extension__.
1770
1771 * partition.c (elem_compare): Prototype. Don't cast away
1772 const-ness.
1773
1774 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1775
eb383413
L
17762000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1777
1778 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1779
1780 * cp-demangle.c: Include demangle.h.
1781 (template_arg_list_new): DeANSIfy.
1782 (cp_demangle): Make static and add prototype.
1783 (operator_code, operators): Constify.
1784 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1785
17862000-06-05 Alex Samuel <samuel@codesourcery.com>
1787
1788 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1789 unsigned char.
1790 (demangle_unqualified_name): Likewise.
1791 (demangle_number_literally): Likewise.
1792 (demangle_type): Likewise.
1793 (demangle_substitution): Likewise.
1794 (is_mangled_char): Likewise, for isalnum.
1795
17962000-06-04 Alex Samuel <samuel@codesourcery.com>
1797
1798 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1799 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1800 (cp-demangle.o): New dependency.
1801 (dyn-string.o): Likewise.
1802
1803 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1804
1805 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1806 demangler.
1807 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1808 demangling mode.
1809 (gnu_new_abi_symbol_characters): New function.
1810 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1811 file.
1812 * cp-demangle.c: New file.
ae7d06ad 1813
f03aa80d
AC
1814Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1815
1816 * floatformat.c: Add name to each floatformat field.
1817
77bfb694
JL
1818Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1819
1820 * Makefile.in (objalloc.o): Depend on config.h
1821
5c82d20a
ZW
18222000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1823
eb383413 1824 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1825 if HAVE_STRING_H.
1826 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1827 * objalloc.c: Include config.h. Include stdlib.h and don't
1828 declare malloc or free if HAVE_STDLIB_H.
1829 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1830 else declare malloc without prototype. Include string.h if
1831 HAVE_STRING_H, else declare memset without prototype. Don't
1832 include stddef.h.
1833
eb383413
L
18342000-05-23 Mike Stump <mrs@wrs.com>
1835
1836 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1837 -j3.
eb383413
L
1838
18392000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1840
1841 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1842
18432000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1844
ae7d06ad 1845 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1846 probably zero, also eliminate a warning on alpha.
1847
18482000-05-15 David Edelsohn <edelsohn@gnu.org>
1849
1850 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1851 on $(enable_shared).
1852
18532000-05-10 Jakub Jelinek <jakub@redhat.com>
1854
1855 * config.table: Use mh-sparcpic for sparc*-*-*.
1856
18572000-05-08 Nick Clifton <nickc@cygnus.com>
1858
1859 * Makefile.in (CFILES): Add strncmp.c.
1860 (NEEDED): Add strncmp.
1861
18622000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1863
eb383413
L
1864 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1865 Cast the arguments to `islower' to `unsigned char'.
1866 (print_demangler_list): Prototype.
1867
1868Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1869
1870 * sort.c (UCHAR_MAX): Provide fallback definition.
1871
18722000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1873
1874 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1875 SUBDIRS.
1876
eb383413
L
18772000-04-28 Kenneth Block <block@zk3.dec.com>
1878 Jason Merrill <jason@casey.cygnus.com>
1879
ae7d06ad
NC
1880 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1881 (cplus_demangle_set_style): New function for setting style.
1882 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1883
18842000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1885
1886 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1887
1888 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1889 (libiberty_AC_FUNC_STRNCMP): Invoke.
1890
1891 * strncmp.c: New file.
1892
1893Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1894
1895 * hashtab.c (htab_expand): Add prototype.
1896 (find_empty_slot_for_expand): Likewise.
1897
18982000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1899
1900 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1901 match prototype.
1902 (htab_expand): Cast the return value of xcalloc.
1903
19042000-04-24 Mark Mitchell <mark@codesourcery.com>
1905
1906 * hashtab.c (hash_pointer): New function.
1907 (eq_pointer): Likewise.
1908 (htab_hash_pointer): New variable.
1909 (htab_eq_pointer): Likewise.
1910
19112000-04-23 Mark Mitchell <mark@codesourcery.com>
1912
1913 * sort.c (sort_pointers): Fix endianness bugs.
1914
1915 * sort.c: New file.
1916 * Makefile.in (CFILES): Add sort.c
1917 (REQUIRED_OFILES): Add sort.o.
1918 (sort.o): New target.
1919
19be4303
JL
19202000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1921
1922 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1923 4.3BSD systems.
1924
eb383413
L
1925Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1926
1927 * hashtab.c: Various minor cleanups.
1928 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1929 (htab_find_slot): Likewise.
1930
19312000-04-16 Dave Pitts <dpitts@cozx.com>
1932
1933 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1934
afe36a78
RH
19352000-04-05 Richard Henderson <rth@cygnus.com>
1936
1937 * splay-tree.c (splay_tree_remove): New.
1938
eb383413
L
19392000-03-30 Mark Mitchell <mark@codesourcery.com>
1940
1941 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1942 codes.
1943 (htab_find_with_hash): Likewise.
1944 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1945
eb383413
L
19462000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1947
1948 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1949 unless it will be used. Rearrange loop for better
1950 optimization.
1951 (higher_prime_number): Add static prototype.
1952
b4fe2683
JM
1953Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1954
1955 * Makefile.in (partition.o): Depend on config.h
1956
19572000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1958
1959 * hashtab.c (find_empty_slot_for_expand): New function.
1960 (htab_expand): Use it instead of htab_find_slot.
1961 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1962 argument HASH.
1963 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1964 (htab_find): New wrapper function.
1965 (htab_find_slot): Likewise.
1966 (htab_traverse): Pass slot, not entry, to called function.
1967
19682000-03-09 Alex Samuel <samuel@codesourcery.com>
1969
1970 * Makefile.in (CFILES): Add partition.c.
1971 (REQUIRED_OFILES): Add partition.o.
1972 (partition.o): New rule.
1973 * partition.c: New file.
ae7d06ad 1974
b4fe2683
JM
19752000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1976
1977 * hashtab.c (htab_create): Set del_f.
1978 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1979 Use it.
1980
19812000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1982
1983 * hashtab.c: Remove debugging variables (all_searches,
1984 all_collisions, all_expansions). Delete
1985 all_hash_table_collisions.
1986 (create_hash_table, delete_hash_table, empty_hash_table,
1987 find_hash_table_entry, remove_element_from_hash_table_entry,
1988 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1989 hash_table_elements_number, hash_table_collisions): Rename to:
1990 htab_create, htab_delete, htab_empty, htab_find_slot,
1991 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1992 htab_elements, htab_collisions.
1993 (htab_find): New function, handles common case where you don't
1994 plan to add or delete an entry.
1995 (htab_expand): Don't create a whole new table, just a new
1996 entry vector.
1997 (htab_find_slot): Simplify logic.
1998
08372f14
ILT
19991999-08-03 Ian Lance Taylor <ian@zembu.com>
2000
2001 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2002 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2003
2004 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2005 $(TARGETLIB)n so it works on MSDOS.
2006 (install_to_tooldir): Likewise.
2007
9c8ac5a9
ILT
20081999-07-21 Ian Lance Taylor <ian@zembu.com>
2009
2010 From Mark Elbrecht:
2011 * makefile.dos: Remove; obsolete.
8f36e47c 2012 * configure.bat: Remove; obsolete.
9c8ac5a9 2013
0c0a36a4
ILT
20141999-07-11 Ian Lance Taylor <ian@zembu.com>
2015
2016 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2017 warning.
2018
20192000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2020
2021 * pexecute.c: Conditionally include string.h.
b4fe2683 2022 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
2023
20242000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2025
2026 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2027 we're using gcc.
2028
2029 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2030
20311999-12-27 Geoff Keating <geoffk@cygnus.com>
2032
2033 * vasprintf.c (int_vasprintf): Don't re-read the format character
2034 as this mishandles strings like '%%s'.
2035
20361999-12-05 Mark Mitchell <mark@codesourcery.com>
2037
2038 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2039 rather than struct splay_tree_node.
2040 (splay_tree_insert): Use struct splay_tree_s rather than struct
2041 splay_tree.
2042
2043Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2044
2045 * hashtab.c (sys/types.h): File included.
2046
20471999-11-22 Jason Merrill <jason@casey.cygnus.com>
2048
2049 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2050 BSD license, pursuant with
2051
2052 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2053
2054Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2055
2056 * hashtab.c: Include stdio.h.
2057
2058Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2059
2060 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2061
2062Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2063
2064 * xstrdup (sys/types.h): Include this file.
2065
20661999-10-28 Nathan Sidwell <nathan@acm.org>
2067
2068 * Makefile.in (SUBDIRS): New macro.
2069 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2070 avoid multiple subdirectory cleaning.
2071 (*-subdir): Use SUBDIRS.
2072
20731999-10-25 Jim Kingdon <http://developer.redhat.com/>
2074
2075 * cplus-dem.c: Move declarations of standard_symbol_characters and
2076 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2077 warnings.
2078
20791999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2080
2081 * hashtab.c (find_hash_table_entry): When returning a
2082 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2083 (clear_hash_table_slot): New function which deletes an entry
2084 by its position in the table, not its value.
2085 (traverse_hash_table): New function which calls a hook
2086 function for every live entry in the table.
2087
20881999-10-19 Mark Mitchell <mark@codesourcery.com>
2089
2090 * cplus-dem.c (INTBUF_SIZE): New macro.
2091 (string_append_template_idx): New function.
2092 (demangle_expression): Likewise.
2093 (demangle_integral_value): Use it.
2094 (demangle_real_value): New function, split out from ...
2095 (demangle_template_value_parm): ... here. Use
2096 string_append_template_idx. Use demangle_real_value.
2097 (demangle_template): Use string_append_template_idx.
2098 (demangle_qualified): Use consume_count_with_underscores.
2099 (get_count): Tweak formatting.
2100 (do_type): Use string_append_template_idx.
b4fe2683 2101
0c0a36a4
ILT
21021999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2103
2104 * calloc.c: Add a public domain notice.
2105
2106Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2107
2108 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2109
2110Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2111
2112 * Makefile.in (CFILES): Add hashtab.c
2113 (REQUIRED_OFILES): Add hashtab.o
2114 (hashtab.o): Add dependencies.
2115 * hashtab.c: New file
2116
2117Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2118
2119 * basename.c (DIR_SEPARATOR): New macro.
2120 (DIR_SEPARATOR_2): Likewise.
2121 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2122 (IS_DIR_SEPARATOR): Likewise.
2123 (main): Handle MSDOS style pathname.
2124
21251999-10-11 Mark Mitchell <mark@codesourcery.com>
2126
2127 * cplus-dem.c (do_type): Handle pointer to member types whose
2128 enclosing classes have namespace scope.
2129
2130Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2131
2132 * config.table: Provide a backup shell for executing move-if-change.
2133
21341999-10-02 Mark Mitchell <mark@codesourcery.com>
2135
2136 * xmalloc.c (xmalloc): Fix spelling error.
2137 (xcalloc, xrealloc): Likewise.
2138
21391999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2140
2141 * cplus-dem.c (fancy_abort, demangle_integral_value,
2142 demangle_arm_hp_template, recursively_demangle,
2143 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2144 (program_name, program_version, fatal): Constify a char*.
2145 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2146 (main): Call return, not exit.
2147
21481999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2149
2150 * choose-temp.c: Remove obsolete comment about gcc.
2151 (make_temp_file): Constify a char*.
2152
2153Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2154
2155 * xmemdup.c: Include sys/types.h.
2156
21571999-09-07 Jeff Garzik <jgarzik@pobox.com>
2158
2159 * xmemdup.c: New xmemdup function.
2160 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2161
2162Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2163
b4fe2683 2164 * config.table: Add openedition target.
0c0a36a4
ILT
2165 * config/mh-openedition: New file.
2166
2167Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2168
2169 * pexecute.c (pexecute): Fill in temp_base when needed.
2170
21711999-08-31 Richard Henderson <rth@cygnus.com>
2172
2173 * getpwd.c: Check HAVE_GETCWD before defining it away.
2174
21751999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2176
2177 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2178 (REQUIRED_OFILES): Add getpwd.o.
2179 (getpwd.o): Add target.
2180
2181 * configure.in (AC_PREREQ): Bump to 2.13.
2182 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2183
2184 * getpwd.c: New file, moved here from gcc.
2185
21861999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2187
2188 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2189 comparing against a signed quantity.
2190 (arm_special): Likewise.
2191 (demangle_fund_type): Likewise.
2192 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2193 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2194 (main): Constify variable `valid_symbols'.
2195
2196Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2197
2198 * strtoul.c (strtoul): Add parentheses around && within ||.
2199
2200Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2201
2202 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2203 libdir, libsubdir and tooldir.
2204
22051999-08-01 Mark Mitchell <mark@codesourcery.com>
2206
2207 * splay-tree.c (splay_tree_insert): Return the new node.
2208
35ca97ea
RH
22091999-07-14 Richard Henderson <rth@cygnus.com>
2210
b4fe2683 2211 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2212 prototyping directly.
2213 * choose-temp.c: Conditionally include string.h.
2214
0c0a36a4
ILT
22151999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2216
2217 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2218
af32ff69
ILT
22191999-07-11 Ian Lance Taylor <ian@zembu.com>
2220
2221 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2222 warning.
2223
0c0a36a4
ILT
22241999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2225
2226 * Makefile.in (needed-list): Only include stuff we actually need
2227 for libstdc++.
2228
22291999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2230
2231 * configure.in (checkfuncs): Add gettimeofday.
2232 * config.in, configure: Regenerated.
2233
2234Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2235
2236 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2237 the test fails.
2238 * configure: Regenerate.
2239
22401999-06-10 Mike Stump <mrs@wrs.com>
2241
2242 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2243 parallel builds.
2244
22451999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2246
2247 * putenv.c: Include ansidecl.h to define `const'.
2248 * setenv.c: Likewise.
2249
2250Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2251
2252 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2253 * configure.in (funcs): Add putenv and setenv.
2254 (AC_CHECK_FUNCS): Check for putenv and setenv.
2255 * configure: Rebuilt.
2256 * putenv.c setenv.c: New files.
2257
2258 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2259 bytes of space using malloc.
2260
2261Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2262
2263 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2264 the *mangled pointer beyond the end of the string. Clean up code to
2265 match prevailing coding style.
2266
22671999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2268
2269 * tmpnam.c (L_tmpnam): Fix typo.
2270
2271Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2272
2273 * cplus-dem.c (standard_symbol_characters): Renamed from
2274 standard_symbol_alphabet. No longer modify TABLE.
2275 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2276 modify TABLE.
2277 (main): Corresponding changes. Use strchr to determine if a
2278 character is valid.
2279
e9868447
JB
22801999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2281
2282 * cplus-dem.c (main): Use table lookup to distinguish identifier
2283 characters from non-identifier characters.
2284 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2285
33fbbfbc
RH
2286Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2287
2288 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2289 * getruntime.c: Only attempt to include sys/resource.h and
2290 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2291 are defined.
2292
0c0a36a4
ILT
2293Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2294
2295 * configure.in (alloca detection): Handle alloca directly for interix.
2296 * configure: Rebuilt.
2297
2298Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2299
2300 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2301
252b5132
RH
23021999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2303
2304 Fix from Dale Hawkins:
b4fe2683 2305 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2306 reallocated properly if we use it again.
2307
2308 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2309 stricter about syntax. Always null-terminate string.
2310
c1687039
ILT
2311Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2312
2313 * configure.in (checkfuncs): Check for sbrk.
2314 * config.in: Rebuilt.
2315 * configure: Likewise.
2316 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2317
0c0a36a4
ILT
23181999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2319
2320 Fix from Marcus Daniels:
2321 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2322 identifier looking for another underscore.
2323
2324Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2325
2326 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2327 * xmalloc.c: Likewise.
2328 (xcalloc): UWIN has sbrk.
2329 (xrealloc): Fix guard macro.
2330
252b5132
RH
23311999-04-11 Richard Henderson <rth@cygnus.com>
2332
2333 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2334 or <alloca.h>.
2335 * clock.c (GNU_HZ): New definition.
2336 (clock): Use it.
2337 * getruntime.c: Likewise.
2338
2339 * config.table: Use mh-beos.
2340 * config/mh-beos: New file.
2341
0c0a36a4
ILT
23421999-04-11 Mark Mitchell <mark@codesourcery.com>
2343
2344 * cplus-dem.c (demangle_template_value_parm): Handle
2345 pointers-to-members.
2346 (do_type): Handle template parameters as qualifiers.
2347
252b5132
RH
23481999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2349
2350 * cplus-dem.c: Attempt to handle overflows in counts with some
2351 semblance of grace.
2352 (consume_count): Detect overflows. Return -1 to indicate errors,
2353 instead of zero.
2354 (demangle_template_value_parm, demangle_template): Handle change
2355 to consume_count's return convention.
2356
0c0a36a4
ILT
23571999-04-05 Tom Tromey <tromey@cygnus.com>
2358
2359 * testsuite/regress-demangle: New file.
2360 * testsuite/demangle-expected: New file.
252b5132 2361
0c0a36a4
ILT
2362 * Makefile.in (all, check, installcheck, info, install-info,
2363 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2364 distclean, maintainer-clean, realclean): Depend on corresponding
2365 `-subdir' target.
2366 (all-subdir check-subdir installcheck-subdir info-subdir
2367 install-info-subdir clean-info-subdir dvi-subdir
2368 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2369 distclean-subdir maintainer-clean-subdir): New target.
2370 * testsuite/Makefile.in: New file.
2371 * configure: Rebuilt.
2372 * configure.in: Create testsuite/Makefile.
252b5132
RH
2373
23741999-04-02 Mark Mitchell <mark@codesourcery.com>
2375
2376 * splay-tree.h (splay_tree_compare_pointers): Define.
2377
23781999-03-30 Mark Mitchell <mark@codesourcery.com>
2379
2380 * splay-tree.c (splay_tree_compare_ints): Define.
2381
23821999-03-30 Tom Tromey <tromey@cygnus.com>
2383
2384 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2385 don't advance input pointer.
2386 (demangle_class_name): If consume_count didn't find a count, do
2387 nothing. Don't bother with `strlen' sanity check; consume_count
2388 does it for us.
2389
23901999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2391
2392 From Art Haas <ahaas@neosoft.com>:
2393 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2394 when doing arm or hp style.
2395 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2396
252b5132
RH
2397Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2398
2399 * pexecute.c (__CYGWIN32__): Rename to
2400 (__CYGWIN__): this.
2401 * xmalloc.c: Likewise.
2402
2403 Changes to support i386-pc-uwin.
2404 * configure.in (*-*-uwin*): Workaround for vfork bug.
2405 * configure: Regenerate.
2406 * pexecute.c (pexecute): Be like standard Unix.
2407 (pwait): Likewise.
2408 * xmalloc.c (first_break): Define.
2409 (xmalloc_set_program_name): Use.
2410 (xmalloc): Use.
2411
2412Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2413
2414 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2415
2416Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2417
2418 * config.table: Check cygwin*, not cygwin32*.
2419
2420Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2421
2422 * Makefile.in: Change mkstemp -> mkstemps.
2423
2424Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2425
2426 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2427 * configure.in (funcs): Check for and conditionally add mkstemps to
2428 the list of functions libiberty will provide.
2429 * configure: Rebuilt.
b4fe2683 2430
252b5132
RH
2431Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2432
b4fe2683 2433 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2434 platforms that don't have HZ.
2435 * getruntime.c (HZ): Likewise.
2436
2437Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2438
2439 * Makefile.in (xstrdup.o): Depend on config.h.
2440
2441Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2442
2443 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2444 freeing it.
2445
2446Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2447
2448 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2449
2450Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2451
2452 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2453 splay-tree.o.
2454
24551999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2456
2457 * configure.in: Require autoconf 2.12.1 or higher.
2458
24591998-12-30 Michael Meissner <meissner@cygnus.com>
2460
2461 * random.c (NULL): Don't redefine NULL if it is already defined.
2462
2463Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2464
2465 * argv.c (buildargv): Cast the result of alloca in assignment.
2466
2467 * choose-temp.c: Include stdlib.h.
2468
2469 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2470 (snarf_numeric_literal): Constify first parameter.
2471 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2472 int, not a char.
252b5132
RH
2473 (demangle_qualifier): Likewise.
2474 (demangle_signature): Cast the argument of a ctype function to
2475 unsigned char.
2476 (arm_pt): Add parens around assignment used as truth value.
2477 (demangle_arm_hp_template): Constify variable `args'.
2478 (do_hpacc_template_const_value): Cast the argument of a ctype
2479 function to unsigned char.
2480 (do_hpacc_template_literal): Remove unused variable `i'.
2481 (snarf_numeric_literal): Constify parameter `args'.
2482 Cast the argument of a ctype function to unsigned char.
2483
2484 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2485 avoid ambiguous `else'.
252b5132
RH
2486
2487 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2488 `cstart' and `cend' to unsigned char. Cast the argument of macro
2489 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2490
2491 * objalloc.c (free): Add prototype.
2492
2493Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2494
2495 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2496
2497Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2498
2499 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2500 doesn't exist.
252b5132 2501 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2502
252b5132
RH
2503Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2504
2505 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2506 bumping the pointer we read from. Also prepend these codes,
2507 as we do in other places.
2508
25091998-12-18 Nick Clifton <nickc@cygnus.com>
2510
2511 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2512 'const char *' in order to match its usage when calling siblings.
2513 (snarf_numeric_literal): Make first arg 'const char **' in order
2514 to match usage.
2515
2516Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2517
2518 * choose-temp.c: Don't check IN_GCC anymore.
2519
2520 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2521 * memchr.c (memchr): Likewise.
2522 * memcpy.c (memcpy): Likewise.
2523 * memmove.c (memmove): Likewise.
2524
2525 * mkstemp.c: Don't check IN_GCC anymore.
2526 * pexecute.c: Likewise.
2527 * splay-tree.c: Likewise.
2528
2529 * strchr.c (strchr): Use `const', not `CONST'.
2530 * strrchr.c (strrchr): Likewise.
2531 * strtol.c (strtol): Likewise.
2532 * strtoul.c (strtoul): Likewise.
2533
2534Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2535 Elena Zannoni <ezannoni@cygnus.com>
2536 Stan Shebs <shebs@cygnus.com>
2537 Edith Epstein <eepstein@cygnus.com>
2538 Andres MacLeod <amacleod@cygnus.com>
2539 Satish Pai <pai@apollo.hp.com>
2540
2541 * HP aCC demangling support.
2542 * cplus-dem.c
2543 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2544 demangling correctly when -edg specified; set the demangling style
2545 when user specifies 'edg'. Set strip_underscore to
2546 prepends_underscore, if not HPUXHPPA. Set
2547 current_demangling_style to hp_demangling if HPUXHPPA. Set
2548 current demangling style correctly if the switch is hp. Read
2549 label correctly also in the HP style case.
252b5132 2550 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2551 function.
252b5132 2552 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2553 style for this case is the same as ARM.
252b5132
RH
2554 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2555 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2556 demangle_arm_pt.); check and set value of temp_start field in
2557 multiple places. Also, when ceching for end of template args,
2558 check to see if at end of static member of template class.
252b5132 2559 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2560 include template args in string defining class.
252b5132
RH
2561 (demangle_class_name): use demangel_arm_hp_template.
2562 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2563 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2564 Handle EDG_DEMANGLING style. Handle constructor and destructor
2565 ops for HP style.
252b5132 2566 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2567 styles. global destructor and constructor for HP style are same
2568 as for ARM style. Same for local variables.
252b5132
RH
2569 (demangle_qualified): handle EDG_DEMANGLING style.
2570 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2571 cases '1' - '9' : initialize the temp_start field to -1 and handle
2572 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2573 and AUTO_DEMANGLING styles. If expecting a function and managed
2574 to demangle the funct args, then handle the LUCID_DEMANGLING,
2575 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2576 class name after "Lnnn_ in HP style case. HP style too needs to
2577 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2578 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2579 value param for HP/aCC.
252b5132 2580 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2581 literal parameter for HP aCC.
252b5132
RH
2582 (recursively_demangle): new function
2583 (snarf_numeric_literal): new function.
2584 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2585 to message.
252b5132
RH
2586
2587Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2588
2589 * pexecute.c: Remove obsolete ifdefed cygwin code.
2590
2591Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2592
2593 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2594 * cplus-dem.c: Likewise. Conform to libiberty.h.
2595 * pexecute.c: Likewise.
2596 * splay-tree.c: Likewise.
2597
25981998-11-25 Mike Stump <mrs@wrs.com>
2599
2600 * Makefile.in (splay-tree.o): Add config.h dependency.
2601
2602Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2603
2604 * configure.in: Use AC_PREREQ(2.12.1).
2605
26061998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2607
b4fe2683 2608 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2609
2610Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2611
2612 * mpw.c (mpw_access): Add missing parens.
2613
2614Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2615
2616 * configure.in: Call AC_HEADER_SYS_WAIT.
2617
2618 * pexecute.c: Include sys/wait.h when !IN_GCC.
2619
2620Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2621
2622 * pexecute.c: revert back to checking old Cygwin
2623 preprocessor symbol until some time has passed.
2624
2625Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2626
2627 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2628 since it will now support similar constructs.
2629
2630Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2631
2632 * configure.in: Check for calloc.
2633
2634 * calloc.c: New file.
2635
2636 * xmalloc.c (xcalloc): New function.
2637
2638Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2639
2640 *cplus-dem.c (demangle_prefix): Use the last "__"
2641 in the mangled name when looking for the signature. This allows
2642 template names to begin with "__".
2643
26441998-11-08 Mark Mitchell <mark@markmitchell.com>
2645
2646 * cplus-dem.c (type_kind_t): Add tk_reference.
2647 (demangle_template_value_parm): Handle it.
2648 (do_type): Use it for references, instead of tk_pointer.
2649
2650 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2651 not internal_cplus_demangle.
2652
2653Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2654
2655 * choose-temp.c: Don't include gansidecl.h.
2656 * mkstemp.c: Likewise.
2657 * pexecute.c: Likewise.
2658
2659Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2660
b4fe2683
JM
2661 * configure.in: detect cygwin* instead of cygwin32*
2662 * configure: regenerate
252b5132
RH
2663
2664Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2665
2666 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2667 whether to include config.h. Possibly include unistd.h in the
2668 !IN_GCC case. Define VFORK_STRING as a printable function call
2669 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2670 defined, include vfork.h. If VMS is defined, define vfork()
2671 appropriately. Remove vfork check on USG, we're using autoconf.
2672 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2673 locally what string to use.
252b5132
RH
2674
26751998-10-26 Mark Mitchell <mark@markmitchell.com>
2676
2677 * splay-tree.c: Tweak include directives to make sure declarations of
2678 xmalloc and free are available.
2679
26801998-10-25 Mark Mitchell <mark@markmitchell.com>
2681
2682 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2683 anonymous namespaces.
2684
26851998-10-23 Mark Mitchell <mark@markmitchell.com>
2686
2687 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2688 with type_quals.
2689 (TYPE_UNQUALIFIED): New macro.
2690 (TYPE_QUAL_CONST): Likewise.
2691 (TYPE_QUAL_VOLATILE): Likewise.
2692 (TYPE_QUAL_RESTRICT): Likewise.
2693 (code_for_qualifier): New function.
2694 (qualifier_string): Likewise.
2695 (demangle_qualifier): Likewise.
2696 (internal_cplus_demangle): Use them.
2697 (demangle_signature): Likewise.
2698 (demangle_template_value_parm): Likewise.
2699 (do_type): Likewise.
2700 (demangle_fund_type)): Likewise.
2701
2702Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2703
2704 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2705 to match prototype.
2706
27071998-10-21 Mark Mitchell <mark@markmitchell.com>
2708
2709 * splay-tree.c: New file.
2710 * Makefile.in (CFILES): Add it.
2711 (REQUIRED_OFILES): Likewise.
2712 (splay-tree.o): Add dependencies.
2713
2714Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2715
2716 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2717 range of 'K' index.
2718
2719Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2720
2721 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2722
2723 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2724 `unsigned char'.
2725 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2726 comparing against one.
2727 (cplus_mangle_opname): Likewise.
2728 (demangle_integral_value): Cast argument of ctype macro to
2729 `unsigned char'.
2730 (demangle_template_value_parm): Likewise.
2731 (demangle_template): Initialize variable `bindex'. Cast the
2732 result of `strlen' to (int) when comparing against one. Remove
2733 unused variable `start_of_value_parm'.
2734 (demangle_class_name): Cast the result of `strlen' to (int) when
2735 comparing against one.
2736 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2737 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2738 when comparing against one.
2739 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2740 (get_count): Likewise.
2741 (do_type): Likewise. Cast the result of `strlen' to (int) when
2742 comparing against one.
2743 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2744 (demangle_function_name): Cast the result of `strlen' to (int)
2745 when comparing against one.
2746
2747 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2748 comparing against one.
2749
2750Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2751
b4fe2683
JM
2752 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2753 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2754 * config.in, configure: Rebuilt.
252b5132
RH
2755
2756 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2757 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2758 * config.in, configure: Rebuilt.
2759
2760Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2761
b4fe2683 2762 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2763
2764Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2765
2766 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2767
2768Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2769
2770 * Merge egcs & devo libiberty.
2771
2772