Minor formatting tweak to make synchronisation easier.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
010c70e1
AO
12000-05-26 Alexandre Oliva <aoliva@cygnus.com>
2
3 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
4 SUBDIRS.
5
19be4303
JL
62000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7
8 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
9 4.3BSD systems.
10
afe36a78
RH
112000-04-05 Richard Henderson <rth@cygnus.com>
12
13 * splay-tree.c (splay_tree_remove): New.
14
b4fe2683
JM
15Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
16
17 * Makefile.in (partition.o): Depend on config.h
18
192000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
20
21 * hashtab.c (find_empty_slot_for_expand): New function.
22 (htab_expand): Use it instead of htab_find_slot.
23 (htab_find_with_hash): Renamed from htab_find; now accepts extra
24 argument HASH.
25 (htab_find_slot_with_hash): Likewise for htab_find_slot.
26 (htab_find): New wrapper function.
27 (htab_find_slot): Likewise.
28 (htab_traverse): Pass slot, not entry, to called function.
29
302000-03-09 Alex Samuel <samuel@codesourcery.com>
31
32 * Makefile.in (CFILES): Add partition.c.
33 (REQUIRED_OFILES): Add partition.o.
34 (partition.o): New rule.
35 * partition.c: New file.
36
372000-03-09 Zack Weinberg <zack@wolery.cumb.org>
38
39 * hashtab.c (htab_create): Set del_f.
40 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
41 Use it.
42
432000-03-08 Zack Weinberg <zack@wolery.cumb.org>
44
45 * hashtab.c: Remove debugging variables (all_searches,
46 all_collisions, all_expansions). Delete
47 all_hash_table_collisions.
48 (create_hash_table, delete_hash_table, empty_hash_table,
49 find_hash_table_entry, remove_element_from_hash_table_entry,
50 clear_hash_table_slot, traverse_hash_table, hash_table_size,
51 hash_table_elements_number, hash_table_collisions): Rename to:
52 htab_create, htab_delete, htab_empty, htab_find_slot,
53 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
54 htab_elements, htab_collisions.
55 (htab_find): New function, handles common case where you don't
56 plan to add or delete an entry.
57 (htab_expand): Don't create a whole new table, just a new
58 entry vector.
59 (htab_find_slot): Simplify logic.
60
08372f14
ILT
611999-08-03 Ian Lance Taylor <ian@zembu.com>
62
63 * floatformat.c: Add casts to avoid signed/unsigned warnings.
64 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
65
66 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
67 $(TARGETLIB)n so it works on MSDOS.
68 (install_to_tooldir): Likewise.
69
9c8ac5a9
ILT
701999-07-21 Ian Lance Taylor <ian@zembu.com>
71
72 From Mark Elbrecht:
73 * makefile.dos: Remove; obsolete.
8f36e47c 74 * configure.bat: Remove; obsolete.
9c8ac5a9 75
0c0a36a4
ILT
761999-07-11 Ian Lance Taylor <ian@zembu.com>
77
78 * splay-tree.c (splay_tree_insert): Add initialization to avoid
79 warning.
80
812000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
82
83 * pexecute.c: Conditionally include string.h.
b4fe2683 84 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
85
862000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
87
88 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
89 we're using gcc.
90
91 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
92
931999-12-27 Geoff Keating <geoffk@cygnus.com>
94
95 * vasprintf.c (int_vasprintf): Don't re-read the format character
96 as this mishandles strings like '%%s'.
97
981999-12-05 Mark Mitchell <mark@codesourcery.com>
99
100 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
101 rather than struct splay_tree_node.
102 (splay_tree_insert): Use struct splay_tree_s rather than struct
103 splay_tree.
104
105Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
106
107 * hashtab.c (sys/types.h): File included.
108
1091999-11-22 Jason Merrill <jason@casey.cygnus.com>
110
111 * strtoul.c, strtol.c, random.c: Remove advertising clause from
112 BSD license, pursuant with
113
114 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
115
116Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
117
118 * hashtab.c: Include stdio.h.
119
120Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
121
122 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
123
124Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
125
126 * xstrdup (sys/types.h): Include this file.
127
1281999-10-28 Nathan Sidwell <nathan@acm.org>
129
130 * Makefile.in (SUBDIRS): New macro.
131 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
132 avoid multiple subdirectory cleaning.
133 (*-subdir): Use SUBDIRS.
134
1351999-10-25 Jim Kingdon <http://developer.redhat.com/>
136
137 * cplus-dem.c: Move declarations of standard_symbol_characters and
138 hp_symbol_characters inside #ifdef MAIN to avoid compiler
139 warnings.
140
1411999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
142
143 * hashtab.c (find_hash_table_entry): When returning a
144 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
145 (clear_hash_table_slot): New function which deletes an entry
146 by its position in the table, not its value.
147 (traverse_hash_table): New function which calls a hook
148 function for every live entry in the table.
149
1501999-10-19 Mark Mitchell <mark@codesourcery.com>
151
152 * cplus-dem.c (INTBUF_SIZE): New macro.
153 (string_append_template_idx): New function.
154 (demangle_expression): Likewise.
155 (demangle_integral_value): Use it.
156 (demangle_real_value): New function, split out from ...
157 (demangle_template_value_parm): ... here. Use
158 string_append_template_idx. Use demangle_real_value.
159 (demangle_template): Use string_append_template_idx.
160 (demangle_qualified): Use consume_count_with_underscores.
161 (get_count): Tweak formatting.
162 (do_type): Use string_append_template_idx.
b4fe2683 163
0c0a36a4
ILT
1641999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
165
166 * calloc.c: Add a public domain notice.
167
168Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
169
170 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
171
172Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
173
174 * Makefile.in (CFILES): Add hashtab.c
175 (REQUIRED_OFILES): Add hashtab.o
176 (hashtab.o): Add dependencies.
177 * hashtab.c: New file
178
179Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
180
181 * basename.c (DIR_SEPARATOR): New macro.
182 (DIR_SEPARATOR_2): Likewise.
183 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
184 (IS_DIR_SEPARATOR): Likewise.
185 (main): Handle MSDOS style pathname.
186
1871999-10-11 Mark Mitchell <mark@codesourcery.com>
188
189 * cplus-dem.c (do_type): Handle pointer to member types whose
190 enclosing classes have namespace scope.
191
192Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
193
194 * config.table: Provide a backup shell for executing move-if-change.
195
1961999-10-02 Mark Mitchell <mark@codesourcery.com>
197
198 * xmalloc.c (xmalloc): Fix spelling error.
199 (xcalloc, xrealloc): Likewise.
200
2011999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
202
203 * cplus-dem.c (fancy_abort, demangle_integral_value,
204 demangle_arm_hp_template, recursively_demangle,
205 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
206 (program_name, program_version, fatal): Constify a char*.
207 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
208 (main): Call return, not exit.
209
2101999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
211
212 * choose-temp.c: Remove obsolete comment about gcc.
213 (make_temp_file): Constify a char*.
214
215Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
216
217 * xmemdup.c: Include sys/types.h.
218
2191999-09-07 Jeff Garzik <jgarzik@pobox.com>
220
221 * xmemdup.c: New xmemdup function.
222 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
223
224Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
225
b4fe2683 226 * config.table: Add openedition target.
0c0a36a4
ILT
227 * config/mh-openedition: New file.
228
229Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
230
231 * pexecute.c (pexecute): Fill in temp_base when needed.
232
2331999-08-31 Richard Henderson <rth@cygnus.com>
234
235 * getpwd.c: Check HAVE_GETCWD before defining it away.
236
2371999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
238
239 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
240 (REQUIRED_OFILES): Add getpwd.o.
241 (getpwd.o): Add target.
242
243 * configure.in (AC_PREREQ): Bump to 2.13.
244 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
245
246 * getpwd.c: New file, moved here from gcc.
247
2481999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249
250 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
251 comparing against a signed quantity.
252 (arm_special): Likewise.
253 (demangle_fund_type): Likewise.
254 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 255 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
256 (main): Constify variable `valid_symbols'.
257
258Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
259
260 * strtoul.c (strtoul): Add parentheses around && within ||.
261
262Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
263
264 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
265 libdir, libsubdir and tooldir.
266
2671999-08-01 Mark Mitchell <mark@codesourcery.com>
268
269 * splay-tree.c (splay_tree_insert): Return the new node.
270
35ca97ea
RH
2711999-07-14 Richard Henderson <rth@cygnus.com>
272
b4fe2683 273 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
274 prototyping directly.
275 * choose-temp.c: Conditionally include string.h.
276
0c0a36a4
ILT
2771999-07-12 Jason Merrill <jason@yorick.cygnus.com>
278
279 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
280
af32ff69
ILT
2811999-07-11 Ian Lance Taylor <ian@zembu.com>
282
283 * splay-tree.c (splay_tree_insert): Add initialization to avoid
284 warning.
285
0c0a36a4
ILT
2861999-07-07 Jason Merrill <jason@yorick.cygnus.com>
287
288 * Makefile.in (needed-list): Only include stuff we actually need
289 for libstdc++.
290
2911999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
292
293 * configure.in (checkfuncs): Add gettimeofday.
294 * config.in, configure: Regenerated.
295
296Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
297
298 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
299 the test fails.
300 * configure: Regenerate.
301
3021999-06-10 Mike Stump <mrs@wrs.com>
303
304 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
305 parallel builds.
306
3071999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
308
309 * putenv.c: Include ansidecl.h to define `const'.
310 * setenv.c: Likewise.
311
312Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
313
314 * Makefile.in (CFILES): Add putenv.c and setenv.c.
315 * configure.in (funcs): Add putenv and setenv.
316 (AC_CHECK_FUNCS): Check for putenv and setenv.
317 * configure: Rebuilt.
318 * putenv.c setenv.c: New files.
319
320 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
321 bytes of space using malloc.
322
323Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
324
325 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
326 the *mangled pointer beyond the end of the string. Clean up code to
327 match prevailing coding style.
328
3291999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
330
331 * tmpnam.c (L_tmpnam): Fix typo.
332
333Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
334
335 * cplus-dem.c (standard_symbol_characters): Renamed from
336 standard_symbol_alphabet. No longer modify TABLE.
337 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
338 modify TABLE.
339 (main): Corresponding changes. Use strchr to determine if a
340 character is valid.
341
e9868447
JB
3421999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
343
344 * cplus-dem.c (main): Use table lookup to distinguish identifier
345 characters from non-identifier characters.
346 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
347
33fbbfbc
RH
348Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
349
350 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
351 * getruntime.c: Only attempt to include sys/resource.h and
352 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
353 are defined.
354
0c0a36a4
ILT
355Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
356
357 * configure.in (alloca detection): Handle alloca directly for interix.
358 * configure: Rebuilt.
359
360Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
361
362 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
363
252b5132
RH
3641999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
365
366 Fix from Dale Hawkins:
b4fe2683 367 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
368 reallocated properly if we use it again.
369
370 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
371 stricter about syntax. Always null-terminate string.
372
c1687039
ILT
373Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
374
375 * configure.in (checkfuncs): Check for sbrk.
376 * config.in: Rebuilt.
377 * configure: Likewise.
378 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
379
0c0a36a4
ILT
3801999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
381
382 Fix from Marcus Daniels:
383 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
384 identifier looking for another underscore.
385
386Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
387
388 * pexecute.c: Change all references to __UWIN__ to _UWIN.
389 * xmalloc.c: Likewise.
390 (xcalloc): UWIN has sbrk.
391 (xrealloc): Fix guard macro.
392
252b5132
RH
3931999-04-11 Richard Henderson <rth@cygnus.com>
394
395 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
396 or <alloca.h>.
397 * clock.c (GNU_HZ): New definition.
398 (clock): Use it.
399 * getruntime.c: Likewise.
400
401 * config.table: Use mh-beos.
402 * config/mh-beos: New file.
403
0c0a36a4
ILT
4041999-04-11 Mark Mitchell <mark@codesourcery.com>
405
406 * cplus-dem.c (demangle_template_value_parm): Handle
407 pointers-to-members.
408 (do_type): Handle template parameters as qualifiers.
409
252b5132
RH
4101999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
411
412 * cplus-dem.c: Attempt to handle overflows in counts with some
413 semblance of grace.
414 (consume_count): Detect overflows. Return -1 to indicate errors,
415 instead of zero.
416 (demangle_template_value_parm, demangle_template): Handle change
417 to consume_count's return convention.
418
0c0a36a4
ILT
4191999-04-05 Tom Tromey <tromey@cygnus.com>
420
421 * testsuite/regress-demangle: New file.
422 * testsuite/demangle-expected: New file.
252b5132 423
0c0a36a4
ILT
424 * Makefile.in (all, check, installcheck, info, install-info,
425 clean-info, dvi, install, etags, tags, mostlyclean, clean,
426 distclean, maintainer-clean, realclean): Depend on corresponding
427 `-subdir' target.
428 (all-subdir check-subdir installcheck-subdir info-subdir
429 install-info-subdir clean-info-subdir dvi-subdir
430 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
431 distclean-subdir maintainer-clean-subdir): New target.
432 * testsuite/Makefile.in: New file.
433 * configure: Rebuilt.
434 * configure.in: Create testsuite/Makefile.
252b5132
RH
435
4361999-04-02 Mark Mitchell <mark@codesourcery.com>
437
438 * splay-tree.h (splay_tree_compare_pointers): Define.
439
4401999-03-30 Mark Mitchell <mark@codesourcery.com>
441
442 * splay-tree.c (splay_tree_compare_ints): Define.
443
4441999-03-30 Tom Tromey <tromey@cygnus.com>
445
446 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
447 don't advance input pointer.
448 (demangle_class_name): If consume_count didn't find a count, do
449 nothing. Don't bother with `strlen' sanity check; consume_count
450 does it for us.
451
4521999-03-16 Stan Shebs <shebs@andros.cygnus.com>
453
454 From Art Haas <ahaas@neosoft.com>:
455 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
456 when doing arm or hp style.
457 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 458
252b5132
RH
459Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
460
461 * pexecute.c (__CYGWIN32__): Rename to
462 (__CYGWIN__): this.
463 * xmalloc.c: Likewise.
464
465 Changes to support i386-pc-uwin.
466 * configure.in (*-*-uwin*): Workaround for vfork bug.
467 * configure: Regenerate.
468 * pexecute.c (pexecute): Be like standard Unix.
469 (pwait): Likewise.
470 * xmalloc.c (first_break): Define.
471 (xmalloc_set_program_name): Use.
472 (xmalloc): Use.
473
474Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
475
476 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
477
478Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
479
480 * config.table: Check cygwin*, not cygwin32*.
481
482Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
483
484 * Makefile.in: Change mkstemp -> mkstemps.
485
486Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
487
488 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
489 * configure.in (funcs): Check for and conditionally add mkstemps to
490 the list of functions libiberty will provide.
491 * configure: Rebuilt.
b4fe2683 492
252b5132
RH
493Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
494
b4fe2683 495 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
496 platforms that don't have HZ.
497 * getruntime.c (HZ): Likewise.
498
499Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
500
501 * Makefile.in (xstrdup.o): Depend on config.h.
502
503Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
504
505 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
506 freeing it.
507
508Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
509
510 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
511
512Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
513
514 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
515 splay-tree.o.
516
5171999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
518
519 * configure.in: Require autoconf 2.12.1 or higher.
520
5211998-12-30 Michael Meissner <meissner@cygnus.com>
522
523 * random.c (NULL): Don't redefine NULL if it is already defined.
524
525Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
526
527 * argv.c (buildargv): Cast the result of alloca in assignment.
528
529 * choose-temp.c: Include stdlib.h.
530
531 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
532 (snarf_numeric_literal): Constify first parameter.
533 (code_for_qualifier): Avoid a gcc extension, make the parameter an
534 int, not a char.
535 (demangle_qualifier): Likewise.
536 (demangle_signature): Cast the argument of a ctype function to
537 unsigned char.
538 (arm_pt): Add parens around assignment used as truth value.
539 (demangle_arm_hp_template): Constify variable `args'.
540 (do_hpacc_template_const_value): Cast the argument of a ctype
541 function to unsigned char.
542 (do_hpacc_template_literal): Remove unused variable `i'.
543 (snarf_numeric_literal): Constify parameter `args'.
544 Cast the argument of a ctype function to unsigned char.
545
546 * floatformat.c (floatformat_to_double): Add explicit braces to
547 avoid ambiguous `else'.
548
549 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
550 `cstart' and `cend' to unsigned char. Cast the argument of macro
551 `FOLD', which uses ctype functions, to unsigned char.
552
553 * objalloc.c (free): Add prototype.
554
555Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
556
557 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
558
559Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
560
561 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
562 doesn't exist.
563 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 564
252b5132
RH
565Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
566
567 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
568 bumping the pointer we read from. Also prepend these codes,
569 as we do in other places.
570
5711998-12-18 Nick Clifton <nickc@cygnus.com>
572
573 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
574 'const char *' in order to match its usage when calling siblings.
575 (snarf_numeric_literal): Make first arg 'const char **' in order
576 to match usage.
577
578Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
579
580 * choose-temp.c: Don't check IN_GCC anymore.
581
582 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
583 * memchr.c (memchr): Likewise.
584 * memcpy.c (memcpy): Likewise.
585 * memmove.c (memmove): Likewise.
586
587 * mkstemp.c: Don't check IN_GCC anymore.
588 * pexecute.c: Likewise.
589 * splay-tree.c: Likewise.
590
591 * strchr.c (strchr): Use `const', not `CONST'.
592 * strrchr.c (strrchr): Likewise.
593 * strtol.c (strtol): Likewise.
594 * strtoul.c (strtoul): Likewise.
595
596Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
597 Elena Zannoni <ezannoni@cygnus.com>
598 Stan Shebs <shebs@cygnus.com>
599 Edith Epstein <eepstein@cygnus.com>
600 Andres MacLeod <amacleod@cygnus.com>
601 Satish Pai <pai@apollo.hp.com>
602
603 * HP aCC demangling support.
604 * cplus-dem.c
605 (main): Remove default to HP style demangling, set to EDG
606 demangling correctly when -edg specified; set the demangling style
607 when user specifies 'edg'. Set strip_underscore to
608 prepends_underscore, if not HPUXHPPA. Set
609 current_demangling_style to hp_demangling if HPUXHPPA. Set
610 current demangling style correctly if the switch is hp. Read
611 label correctly also in the HP style case.
612 (work_stuff): add temp_start field; add field for volatile member
613 function.
614 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
615 style for this case is the same as ARM.
616 (demangle_args): handle EDG_DEMANGLING style; support HP style.
617 (demangle_arm_hp_template): new function. (It was
618 demangle_arm_pt.); check and set value of temp_start field in
619 multiple places. Also, when ceching for end of template args,
620 check to see if at end of static member of template class.
621 (demangle_class): new local variable : save_class_name_end Don't
622 include template args in string defining class.
623 (demangle_class_name): use demangel_arm_hp_template.
624 (demangle_function_name): handle case where demangling style is
625 HP_DEMANGLING and currently point at an 'X' in the mangled name.
626 Handle EDG_DEMANGLING style. Handle constructor and destructor
627 ops for HP style.
628 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
629 styles. global destructor and constructor for HP style are same
630 as for ARM style. Same for local variables.
631 (demangle_qualified): handle EDG_DEMANGLING style.
632 (demangle_signature): add case for volatile member function. For
633 cases '1' - '9' : initialize the temp_start field to -1 and handle
634 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
635 and AUTO_DEMANGLING styles. If expecting a function and managed
636 to demangle the funct args, then handle the LUCID_DEMANGLING,
637 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
638 class name after "Lnnn_ in HP style case. HP style too needs to
639 forget types. _nnn is OK for HP style, so don't report failure.
640 (do_hpacc_template_const_value): new function. Handle template's
641 value param for HP/aCC.
642 (do_hpacc_template_literal): new function. Handle a template's
643 literal parameter for HP aCC.
644 (recursively_demangle): new function
645 (snarf_numeric_literal): new function.
646 (usage): add 'edg' to the list of demangling styles; add hp switch
647 to message.
648
649Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
650
651 * pexecute.c: Remove obsolete ifdefed cygwin code.
652
653Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
654
655 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
656 * cplus-dem.c: Likewise. Conform to libiberty.h.
657 * pexecute.c: Likewise.
658 * splay-tree.c: Likewise.
659
6601998-11-25 Mike Stump <mrs@wrs.com>
661
662 * Makefile.in (splay-tree.o): Add config.h dependency.
663
664Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
665
666 * configure.in: Use AC_PREREQ(2.12.1).
667
6681998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
669
b4fe2683 670 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
671
672Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
673
674 * mpw.c (mpw_access): Add missing parens.
675
676Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
677
678 * configure.in: Call AC_HEADER_SYS_WAIT.
679
680 * pexecute.c: Include sys/wait.h when !IN_GCC.
681
682Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
683
684 * pexecute.c: revert back to checking old Cygwin
685 preprocessor symbol until some time has passed.
686
687Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
688
689 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
690 since it will now support similar constructs.
691
692Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
693
694 * configure.in: Check for calloc.
695
696 * calloc.c: New file.
697
698 * xmalloc.c (xcalloc): New function.
699
700Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
701
702 *cplus-dem.c (demangle_prefix): Use the last "__"
703 in the mangled name when looking for the signature. This allows
704 template names to begin with "__".
705
7061998-11-08 Mark Mitchell <mark@markmitchell.com>
707
708 * cplus-dem.c (type_kind_t): Add tk_reference.
709 (demangle_template_value_parm): Handle it.
710 (do_type): Use it for references, instead of tk_pointer.
711
712 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
713 not internal_cplus_demangle.
714
715Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
716
717 * choose-temp.c: Don't include gansidecl.h.
718 * mkstemp.c: Likewise.
719 * pexecute.c: Likewise.
720
721Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
722
b4fe2683
JM
723 * configure.in: detect cygwin* instead of cygwin32*
724 * configure: regenerate
252b5132
RH
725
726Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
727
728 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
729 whether to include config.h. Possibly include unistd.h in the
730 !IN_GCC case. Define VFORK_STRING as a printable function call
731 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
732 defined, include vfork.h. If VMS is defined, define vfork()
733 appropriately. Remove vfork check on USG, we're using autoconf.
734 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
735 locally what string to use.
736
7371998-10-26 Mark Mitchell <mark@markmitchell.com>
738
739 * splay-tree.c: Tweak include directives to make sure declarations of
740 xmalloc and free are available.
741
7421998-10-25 Mark Mitchell <mark@markmitchell.com>
743
744 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
745 anonymous namespaces.
746
7471998-10-23 Mark Mitchell <mark@markmitchell.com>
748
749 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
750 with type_quals.
751 (TYPE_UNQUALIFIED): New macro.
752 (TYPE_QUAL_CONST): Likewise.
753 (TYPE_QUAL_VOLATILE): Likewise.
754 (TYPE_QUAL_RESTRICT): Likewise.
755 (code_for_qualifier): New function.
756 (qualifier_string): Likewise.
757 (demangle_qualifier): Likewise.
758 (internal_cplus_demangle): Use them.
759 (demangle_signature): Likewise.
760 (demangle_template_value_parm): Likewise.
761 (do_type): Likewise.
762 (demangle_fund_type)): Likewise.
763
764Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
765
766 * splay-tree.c (splay_tree_foreach_helper): Make definition static
767 to match prototype.
768
7691998-10-21 Mark Mitchell <mark@markmitchell.com>
770
771 * splay-tree.c: New file.
772 * Makefile.in (CFILES): Add it.
773 (REQUIRED_OFILES): Likewise.
774 (splay-tree.o): Add dependencies.
775
776Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
777
778 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
779 range of 'K' index.
780
781Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
782
783 * choose-temp.c: Prototype mkstemps() when IN_GCC.
784
785 * cplus-dem.c (consume_count): Cast argument of ctype macro to
786 `unsigned char'.
787 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
788 comparing against one.
789 (cplus_mangle_opname): Likewise.
790 (demangle_integral_value): Cast argument of ctype macro to
791 `unsigned char'.
792 (demangle_template_value_parm): Likewise.
793 (demangle_template): Initialize variable `bindex'. Cast the
794 result of `strlen' to (int) when comparing against one. Remove
795 unused variable `start_of_value_parm'.
796 (demangle_class_name): Cast the result of `strlen' to (int) when
797 comparing against one.
798 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
799 (gnu_special): Likewise. Cast the result of `strlen' to (int)
800 when comparing against one.
801 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
802 (get_count): Likewise.
803 (do_type): Likewise. Cast the result of `strlen' to (int) when
804 comparing against one.
805 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
806 (demangle_function_name): Cast the result of `strlen' to (int)
807 when comparing against one.
808
809 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
810 comparing against one.
811
812Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
813
b4fe2683
JM
814 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
815 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
816 * config.in, configure: Rebuilt.
252b5132
RH
817
818 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
819 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
820 * config.in, configure: Rebuilt.
821
822Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
823
b4fe2683 824 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
825
826Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
827
828 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
829
830Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
831
832 * Merge egcs & devo libiberty.
833