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