* Makefile.in (REQUIRED_OFILES): Add md5.o.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
60c64519
DD
12000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2
3 * splay-tree.c: #include <stdio.h>.
4
d3e85005
HPN
52000-09-14 Hans-Peter Nilsson <hp@axis.com>
6
7 * testsuite/demangle-expected: Add two tests for anonymous
8 namespaces.
9 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
10
1dc349e5
HPN
112000-09-10 Hans-Peter Nilsson <hp@axis.com>
12
13 * testsuite/demangle-expected: Add four tests for type_info
14 mangling.
1dc349e5
HPN
15 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
16 for a non-template non-qualified type_info function or node.
17
64e3a659
DD
182000-08-31 DJ Delorie <dj@redhat.com>
19
20 * configure.in (Cygwin): special case cygwin only when we're
21 building cygwin, not when we're hosting cygwin.
22
6ef554e3
HPN
232000-08-31 Hans-Peter Nilsson <hp@axis.com>
24
25 * testsuite/demangle-expected: Add nine tests for
26 underscore-after-number followed by five tests for name-signature
27 delimiter.
28
050823ca
JM
292000-08-28 Jason Merrill <jason@redhat.com>
30
31 * Makefile.in (REQUIRED_OFILES): Add md5.o.
32 (CFILES): Add md5.c.
33 * md5.c: New file.
34
3929b9d2 352000-07-27 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
36
37 * config/mh-openedition.h: Added -DLE370 definition.
38
a9f34fb6
JL
392000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
40
41 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
42 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
43 Cast program to 'char *' in errmsg_arg assignment.
44 (PWAIT_ERROR): Define.
45 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
46 to DJGPP's WIF* macros.
47
90aaccd1
JL
482000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
49 Jeff Law <law@cygnus.com>
50
443519c1
JL
51 * getcwd.c: Include string.h, stdlib.h for prototypes
52
90aaccd1
JL
53 * Makefile.in (rename.o, waitpid.o): Depend on config.h
54 * rename.c: include config.h, unistd.h
55 * waitpid.c: include config.h, sys/wait.h
56
6ef554e3
HPN
572000-07-24 Hans-Peter Nilsson <hp@axis.com>
58
59 * cplus-dem.c (work_stuff_copy_to_from): New.
60 (delete_non_B_K_work_stuff): New.
61 (delete_work_stuff): New.
62 (mop_up): Break out work_stuff partly destruction to
63 delete_non_B_K_work_stuff.
64 (iterate_demangle_function): New.
65 (demangle_prefix): Call iterate_demangle_function instead of
66 demangle_function_name. Leave handling of name-signature
67 __-delimiters to iterate_demangle_function.
68 (demangle_integral_value): Strip an optional
69 following underscore cautiously. Handle negative numbers.
70
e8865c28
DB
712000-07-24 Daniel Berlin <dberlin@redhat.com>
72
73 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
74 if (AUTO_DEMANGLING || GNU_DEMANGLING)
75
b1233257 762000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
77 Jeff Law <law@cygnus.com>
78
79 * configure.in (AC_CHECK_HEADERS): Add time.h.
80 (AC_HEADER_TIME): Add check.
81 * configure, config.in: Regenerate.
82 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
83
84 * configure.in (AC_CHECK_HEADERS): Add limits.h.
85 * configure, config.in: Regenerate.
86 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
87 * strtol.c, strtoul.c: #include "config.h". Portably #include
88 <limits.h> and/or <sys/param.h>.
89 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 90
7d3ffcaf
JL
91 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
92 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
93 * configure, config.in: Regenerate.
94 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
95
b1233257
JL
96 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
97
9adf30b2
JL
982000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
99
100 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
101 and print it with %u.
102
2ed78d1b
HPN
1032000-07-17 Hans-Peter Nilsson <hp@axis.com>
104
105 * testsuite/regress-demangle (failed test): Show result and
106 expected output.
107
0473bdf7
AH
1082000-07-07 Andrew Haley <aph@cygnus.com>
109
110 * cplus-dem.c (main): fflush() after emitting last char before
111 waiting for input.
112
03d5f569
JM
1132000-06-28 Alex Samuel <samuel@codesourcery.com>
114
115 * cp-demangle.c (demangle_encoding): Accept no substitutions.
116 (demangle_name): Handle <substitution> followed by
117 <unqualified-template-name>.
118 (demangle_type): Follow special substitutions with
119 <class-enum-type>
120 (demangle_subtitution): Set template_p for special substitutions.
121 (main): Fix typos.
122
1232000-06-27 Alex Samuel <samuel@codesourcery.com>
124
125 * cp-demangle.c (demangle_special_name): Swap base and derived
126 class when demangling construction vtables.
127
1282000-06-21 Alex Samuel <samuel@codesourcery.com>
129
130 * cp-demangle.c: Don't include ctype.h.
131 (IS_DIGIT): New macro.
132 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
133 instead of isdigit and isalpanum.
134 (demangling_def): Make name and next const pointers.
135 (STATUS_ALLOCATION_FAILED): New status code.
136 (dyn_string_append_space): Handle failure in
137 dyn_string_append_char.
138 (int_to_dyn_string): Likewise. Change return value to status_t.
139 (string_list_new): Handle failure of dyn_string_init.
140 (result_close_template_list): Change return type to status_t.
141 Handle failure in dyn_string_append.
142 (result_push): Change return value to status_t. Handle failure in
143 string_list_new. Handle failure of result_push throughout.
144 (substitution_add): Change return value to status_t. Handle
145 dyn_string failures. Handle failure of substitution_add
146 throughout.
147 (template_arg_list_new): Return NULL on allocation failure.
148 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
149 Handle error result throughout.
150 (result_append): Likewise.
151 (result_append_char): Likewise.
152 (result_append_space): Likewise.
153 (demangling_new): Make argument a const pointer. Handle
154 allocation failures.
155 (demangle_template_args): Handle failure in template_arg_list_new
156 and result_close_template_list.
157 (demangle_discriminator): Return if int_to_dyn_string fails.
158 (cp_demangle): Likewise.
159 (cp_demangle_type): New function.
160 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
161 memory allocation failure.
162 (main): Likewise.
163 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
164 IN_LIBGCC2.
165 (dyn_string_init): Change return value to int. Handle
166 RETURN_ON_ALLOCATION_FAILURE case.
167 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
168 (dyn_string_release): Delete the dyn_string.
169 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
170 (dyn_string_copy): Change return type to int.
171 (dyn_string_copy_cstr): Likewise.
172 (dyn_string_prepend): Likewise.
173 (dyn_string_prepend_cstr): Likewise.
174 (dyn_string_insert): Likewise.
175 (dyn_string_insert_cstr): Likewise.
176 (dyn_string_append): Likewise.
177 (dyn_string_append_cstr): Likewise.
178 (dyn_string_append_char): Likewise.
179 (dyn_string_substring): Likewise.
180
eb383413 1812000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 182
eb383413
L
183 * cp-demangle.c (demangle_operator_name): Add spaces before
184 names beginning with a letter: delete, delete[], new, new[],
185 sizeof.
186 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 187
eb383413
L
188Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
189
190 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
191
192Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
193
194 * cp-demangle.c (stdio.h): File included unconditionaly.
195 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
196 * dyn-string.c (stdio.h): File included.
197 * partition.c (partition_print): No `&' needed to take the address of
198 a function.
199
2002000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201
202 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
203
204 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
205
206 * cp-demangle.c (demangle_char): Change parameter from char to int.
207 (demangle_expression, demangle_expr_primary): Remove extra
208 semi-colon in prototype.
209
210 * dyn-string.c (dyn_string_append_char): Change parameter from
211 char to int.
212
213 * memcmp.c (memcmp): Constify.
214
215 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
216 __extension__.
217
218 * partition.c (elem_compare): Prototype. Don't cast away
219 const-ness.
220
221 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
222
2232000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224
225 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
226
227 * cp-demangle.c: Include demangle.h.
228 (template_arg_list_new): DeANSIfy.
229 (cp_demangle): Make static and add prototype.
230 (operator_code, operators): Constify.
231 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
232
2332000-06-05 Alex Samuel <samuel@codesourcery.com>
234
235 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
236 unsigned char.
237 (demangle_unqualified_name): Likewise.
238 (demangle_number_literally): Likewise.
239 (demangle_type): Likewise.
240 (demangle_substitution): Likewise.
241 (is_mangled_char): Likewise, for isalnum.
242
2432000-06-04 Alex Samuel <samuel@codesourcery.com>
244
245 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
246 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
247 (cp-demangle.o): New dependency.
248 (dyn-string.o): Likewise.
249
250 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
251
252 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
253 demangler.
254 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
255 demangling mode.
256 (gnu_new_abi_symbol_characters): New function.
257 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
258 file.
259 * cp-demangle.c: New file.
260
f03aa80d
AC
261Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
262
263 * floatformat.c: Add name to each floatformat field.
264
77bfb694
JL
265Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
266
267 * Makefile.in (objalloc.o): Depend on config.h
268
5c82d20a
ZW
2692000-05-29 Zack Weinberg <zack@wolery.cumb.org>
270
eb383413 271 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
272 if HAVE_STRING_H.
273 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
274 * objalloc.c: Include config.h. Include stdlib.h and don't
275 declare malloc or free if HAVE_STDLIB_H.
276 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
277 else declare malloc without prototype. Include string.h if
278 HAVE_STRING_H, else declare memset without prototype. Don't
279 include stddef.h.
280
eb383413
L
2812000-05-23 Mike Stump <mrs@wrs.com>
282
283 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
284 -j3.
285
2862000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
287
288 * xmalloc.c: Include config.h for HAVE_SBRK definition.
289
2902000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
291
292 * hashtab.c (hash_pointer): Delete low-order bits which are
293 probably zero, also eliminate a warning on alpha.
294
2952000-05-15 David Edelsohn <edelsohn@gnu.org>
296
297 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
298 on $(enable_shared).
299
3002000-05-10 Jakub Jelinek <jakub@redhat.com>
301
302 * config.table: Use mh-sparcpic for sparc*-*-*.
303
3042000-05-08 Nick Clifton <nickc@cygnus.com>
305
306 * Makefile.in (CFILES): Add strncmp.c.
307 (NEEDED): Add strncmp.
308
3092000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 310
eb383413
L
311 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
312 Cast the arguments to `islower' to `unsigned char'.
313 (print_demangler_list): Prototype.
314
315Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
316
317 * sort.c (UCHAR_MAX): Provide fallback definition.
318
3192000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
320
321 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
322 SUBDIRS.
323
eb383413
L
3242000-04-28 Kenneth Block <block@zk3.dec.com>
325 Jason Merrill <jason@casey.cygnus.com>
326
327 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
328 (cplus_demangle_set_style): New function for setting style.
329 (cplus_demangle_name_to_style): New function to translate name.
330
3312000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
332
333 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
334
335 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
336 (libiberty_AC_FUNC_STRNCMP): Invoke.
337
338 * strncmp.c: New file.
339
340Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
341
342 * hashtab.c (htab_expand): Add prototype.
343 (find_empty_slot_for_expand): Likewise.
344
3452000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
346
347 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
348 match prototype.
349 (htab_expand): Cast the return value of xcalloc.
350
3512000-04-24 Mark Mitchell <mark@codesourcery.com>
352
353 * hashtab.c (hash_pointer): New function.
354 (eq_pointer): Likewise.
355 (htab_hash_pointer): New variable.
356 (htab_eq_pointer): Likewise.
357
3582000-04-23 Mark Mitchell <mark@codesourcery.com>
359
360 * sort.c (sort_pointers): Fix endianness bugs.
361
362 * sort.c: New file.
363 * Makefile.in (CFILES): Add sort.c
364 (REQUIRED_OFILES): Add sort.o.
365 (sort.o): New target.
366
19be4303
JL
3672000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
368
369 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
370 4.3BSD systems.
371
eb383413
L
372Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
373
374 * hashtab.c: Various minor cleanups.
375 (htab_find_slot_with_hash): INSERT is now enum insert_option.
376 (htab_find_slot): Likewise.
377
3782000-04-16 Dave Pitts <dpitts@cozx.com>
379
380 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
381
afe36a78
RH
3822000-04-05 Richard Henderson <rth@cygnus.com>
383
384 * splay-tree.c (splay_tree_remove): New.
385
eb383413
L
3862000-03-30 Mark Mitchell <mark@codesourcery.com>
387
388 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
389 codes.
390 (htab_find_with_hash): Likewise.
391 (htab_find_slot_with_hash): Likewise.
392
3932000-03-29 Zack Weinberg <zack@wolery.cumb.org>
394
395 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
396 unless it will be used. Rearrange loop for better
397 optimization.
398 (higher_prime_number): Add static prototype.
399
b4fe2683
JM
400Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
401
402 * Makefile.in (partition.o): Depend on config.h
403
4042000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
405
406 * hashtab.c (find_empty_slot_for_expand): New function.
407 (htab_expand): Use it instead of htab_find_slot.
408 (htab_find_with_hash): Renamed from htab_find; now accepts extra
409 argument HASH.
410 (htab_find_slot_with_hash): Likewise for htab_find_slot.
411 (htab_find): New wrapper function.
412 (htab_find_slot): Likewise.
413 (htab_traverse): Pass slot, not entry, to called function.
414
4152000-03-09 Alex Samuel <samuel@codesourcery.com>
416
417 * Makefile.in (CFILES): Add partition.c.
418 (REQUIRED_OFILES): Add partition.o.
419 (partition.o): New rule.
420 * partition.c: New file.
421
4222000-03-09 Zack Weinberg <zack@wolery.cumb.org>
423
424 * hashtab.c (htab_create): Set del_f.
425 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
426 Use it.
427
4282000-03-08 Zack Weinberg <zack@wolery.cumb.org>
429
430 * hashtab.c: Remove debugging variables (all_searches,
431 all_collisions, all_expansions). Delete
432 all_hash_table_collisions.
433 (create_hash_table, delete_hash_table, empty_hash_table,
434 find_hash_table_entry, remove_element_from_hash_table_entry,
435 clear_hash_table_slot, traverse_hash_table, hash_table_size,
436 hash_table_elements_number, hash_table_collisions): Rename to:
437 htab_create, htab_delete, htab_empty, htab_find_slot,
438 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
439 htab_elements, htab_collisions.
440 (htab_find): New function, handles common case where you don't
441 plan to add or delete an entry.
442 (htab_expand): Don't create a whole new table, just a new
443 entry vector.
444 (htab_find_slot): Simplify logic.
445
08372f14
ILT
4461999-08-03 Ian Lance Taylor <ian@zembu.com>
447
448 * floatformat.c: Add casts to avoid signed/unsigned warnings.
449 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
450
451 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
452 $(TARGETLIB)n so it works on MSDOS.
453 (install_to_tooldir): Likewise.
454
9c8ac5a9
ILT
4551999-07-21 Ian Lance Taylor <ian@zembu.com>
456
457 From Mark Elbrecht:
458 * makefile.dos: Remove; obsolete.
8f36e47c 459 * configure.bat: Remove; obsolete.
9c8ac5a9 460
0c0a36a4
ILT
4611999-07-11 Ian Lance Taylor <ian@zembu.com>
462
463 * splay-tree.c (splay_tree_insert): Add initialization to avoid
464 warning.
465
4662000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
467
468 * pexecute.c: Conditionally include string.h.
b4fe2683 469 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
470
4712000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
472
473 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
474 we're using gcc.
475
476 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
477
4781999-12-27 Geoff Keating <geoffk@cygnus.com>
479
480 * vasprintf.c (int_vasprintf): Don't re-read the format character
481 as this mishandles strings like '%%s'.
482
4831999-12-05 Mark Mitchell <mark@codesourcery.com>
484
485 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
486 rather than struct splay_tree_node.
487 (splay_tree_insert): Use struct splay_tree_s rather than struct
488 splay_tree.
489
490Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
491
492 * hashtab.c (sys/types.h): File included.
493
4941999-11-22 Jason Merrill <jason@casey.cygnus.com>
495
496 * strtoul.c, strtol.c, random.c: Remove advertising clause from
497 BSD license, pursuant with
498
499 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
500
501Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
502
503 * hashtab.c: Include stdio.h.
504
505Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
506
507 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
508
509Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
510
511 * xstrdup (sys/types.h): Include this file.
512
5131999-10-28 Nathan Sidwell <nathan@acm.org>
514
515 * Makefile.in (SUBDIRS): New macro.
516 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
517 avoid multiple subdirectory cleaning.
518 (*-subdir): Use SUBDIRS.
519
5201999-10-25 Jim Kingdon <http://developer.redhat.com/>
521
522 * cplus-dem.c: Move declarations of standard_symbol_characters and
523 hp_symbol_characters inside #ifdef MAIN to avoid compiler
524 warnings.
525
5261999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
527
528 * hashtab.c (find_hash_table_entry): When returning a
529 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
530 (clear_hash_table_slot): New function which deletes an entry
531 by its position in the table, not its value.
532 (traverse_hash_table): New function which calls a hook
533 function for every live entry in the table.
534
5351999-10-19 Mark Mitchell <mark@codesourcery.com>
536
537 * cplus-dem.c (INTBUF_SIZE): New macro.
538 (string_append_template_idx): New function.
539 (demangle_expression): Likewise.
540 (demangle_integral_value): Use it.
541 (demangle_real_value): New function, split out from ...
542 (demangle_template_value_parm): ... here. Use
543 string_append_template_idx. Use demangle_real_value.
544 (demangle_template): Use string_append_template_idx.
545 (demangle_qualified): Use consume_count_with_underscores.
546 (get_count): Tweak formatting.
547 (do_type): Use string_append_template_idx.
b4fe2683 548
0c0a36a4
ILT
5491999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
550
551 * calloc.c: Add a public domain notice.
552
553Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
554
555 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
556
557Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
558
559 * Makefile.in (CFILES): Add hashtab.c
560 (REQUIRED_OFILES): Add hashtab.o
561 (hashtab.o): Add dependencies.
562 * hashtab.c: New file
563
564Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
565
566 * basename.c (DIR_SEPARATOR): New macro.
567 (DIR_SEPARATOR_2): Likewise.
568 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
569 (IS_DIR_SEPARATOR): Likewise.
570 (main): Handle MSDOS style pathname.
571
5721999-10-11 Mark Mitchell <mark@codesourcery.com>
573
574 * cplus-dem.c (do_type): Handle pointer to member types whose
575 enclosing classes have namespace scope.
576
577Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
578
579 * config.table: Provide a backup shell for executing move-if-change.
580
5811999-10-02 Mark Mitchell <mark@codesourcery.com>
582
583 * xmalloc.c (xmalloc): Fix spelling error.
584 (xcalloc, xrealloc): Likewise.
585
5861999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
587
588 * cplus-dem.c (fancy_abort, demangle_integral_value,
589 demangle_arm_hp_template, recursively_demangle,
590 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
591 (program_name, program_version, fatal): Constify a char*.
592 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
593 (main): Call return, not exit.
594
5951999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
596
597 * choose-temp.c: Remove obsolete comment about gcc.
598 (make_temp_file): Constify a char*.
599
600Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
601
602 * xmemdup.c: Include sys/types.h.
603
6041999-09-07 Jeff Garzik <jgarzik@pobox.com>
605
606 * xmemdup.c: New xmemdup function.
607 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
608
609Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
610
b4fe2683 611 * config.table: Add openedition target.
0c0a36a4
ILT
612 * config/mh-openedition: New file.
613
614Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
615
616 * pexecute.c (pexecute): Fill in temp_base when needed.
617
6181999-08-31 Richard Henderson <rth@cygnus.com>
619
620 * getpwd.c: Check HAVE_GETCWD before defining it away.
621
6221999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
623
624 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
625 (REQUIRED_OFILES): Add getpwd.o.
626 (getpwd.o): Add target.
627
628 * configure.in (AC_PREREQ): Bump to 2.13.
629 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
630
631 * getpwd.c: New file, moved here from gcc.
632
6331999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
634
635 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
636 comparing against a signed quantity.
637 (arm_special): Likewise.
638 (demangle_fund_type): Likewise.
639 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 640 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
641 (main): Constify variable `valid_symbols'.
642
643Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
644
645 * strtoul.c (strtoul): Add parentheses around && within ||.
646
647Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
648
649 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
650 libdir, libsubdir and tooldir.
651
6521999-08-01 Mark Mitchell <mark@codesourcery.com>
653
654 * splay-tree.c (splay_tree_insert): Return the new node.
655
35ca97ea
RH
6561999-07-14 Richard Henderson <rth@cygnus.com>
657
b4fe2683 658 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
659 prototyping directly.
660 * choose-temp.c: Conditionally include string.h.
661
0c0a36a4
ILT
6621999-07-12 Jason Merrill <jason@yorick.cygnus.com>
663
664 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
665
af32ff69
ILT
6661999-07-11 Ian Lance Taylor <ian@zembu.com>
667
668 * splay-tree.c (splay_tree_insert): Add initialization to avoid
669 warning.
670
0c0a36a4
ILT
6711999-07-07 Jason Merrill <jason@yorick.cygnus.com>
672
673 * Makefile.in (needed-list): Only include stuff we actually need
674 for libstdc++.
675
6761999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
677
678 * configure.in (checkfuncs): Add gettimeofday.
679 * config.in, configure: Regenerated.
680
681Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
682
683 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
684 the test fails.
685 * configure: Regenerate.
686
6871999-06-10 Mike Stump <mrs@wrs.com>
688
689 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
690 parallel builds.
691
6921999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
693
694 * putenv.c: Include ansidecl.h to define `const'.
695 * setenv.c: Likewise.
696
697Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
698
699 * Makefile.in (CFILES): Add putenv.c and setenv.c.
700 * configure.in (funcs): Add putenv and setenv.
701 (AC_CHECK_FUNCS): Check for putenv and setenv.
702 * configure: Rebuilt.
703 * putenv.c setenv.c: New files.
704
705 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
706 bytes of space using malloc.
707
708Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
709
710 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
711 the *mangled pointer beyond the end of the string. Clean up code to
712 match prevailing coding style.
713
7141999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
715
716 * tmpnam.c (L_tmpnam): Fix typo.
717
718Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
719
720 * cplus-dem.c (standard_symbol_characters): Renamed from
721 standard_symbol_alphabet. No longer modify TABLE.
722 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
723 modify TABLE.
724 (main): Corresponding changes. Use strchr to determine if a
725 character is valid.
726
e9868447
JB
7271999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
728
729 * cplus-dem.c (main): Use table lookup to distinguish identifier
730 characters from non-identifier characters.
731 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
732
33fbbfbc
RH
733Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
734
735 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
736 * getruntime.c: Only attempt to include sys/resource.h and
737 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
738 are defined.
739
0c0a36a4
ILT
740Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
741
742 * configure.in (alloca detection): Handle alloca directly for interix.
743 * configure: Rebuilt.
744
745Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
746
747 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
748
252b5132
RH
7491999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
750
751 Fix from Dale Hawkins:
b4fe2683 752 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
753 reallocated properly if we use it again.
754
755 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
756 stricter about syntax. Always null-terminate string.
757
c1687039
ILT
758Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
759
760 * configure.in (checkfuncs): Check for sbrk.
761 * config.in: Rebuilt.
762 * configure: Likewise.
763 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
764
0c0a36a4
ILT
7651999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
766
767 Fix from Marcus Daniels:
768 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
769 identifier looking for another underscore.
770
771Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
772
773 * pexecute.c: Change all references to __UWIN__ to _UWIN.
774 * xmalloc.c: Likewise.
775 (xcalloc): UWIN has sbrk.
776 (xrealloc): Fix guard macro.
777
252b5132
RH
7781999-04-11 Richard Henderson <rth@cygnus.com>
779
780 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
781 or <alloca.h>.
782 * clock.c (GNU_HZ): New definition.
783 (clock): Use it.
784 * getruntime.c: Likewise.
785
786 * config.table: Use mh-beos.
787 * config/mh-beos: New file.
788
0c0a36a4
ILT
7891999-04-11 Mark Mitchell <mark@codesourcery.com>
790
791 * cplus-dem.c (demangle_template_value_parm): Handle
792 pointers-to-members.
793 (do_type): Handle template parameters as qualifiers.
794
252b5132
RH
7951999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
796
797 * cplus-dem.c: Attempt to handle overflows in counts with some
798 semblance of grace.
799 (consume_count): Detect overflows. Return -1 to indicate errors,
800 instead of zero.
801 (demangle_template_value_parm, demangle_template): Handle change
802 to consume_count's return convention.
803
0c0a36a4
ILT
8041999-04-05 Tom Tromey <tromey@cygnus.com>
805
806 * testsuite/regress-demangle: New file.
807 * testsuite/demangle-expected: New file.
252b5132 808
0c0a36a4
ILT
809 * Makefile.in (all, check, installcheck, info, install-info,
810 clean-info, dvi, install, etags, tags, mostlyclean, clean,
811 distclean, maintainer-clean, realclean): Depend on corresponding
812 `-subdir' target.
813 (all-subdir check-subdir installcheck-subdir info-subdir
814 install-info-subdir clean-info-subdir dvi-subdir
815 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
816 distclean-subdir maintainer-clean-subdir): New target.
817 * testsuite/Makefile.in: New file.
818 * configure: Rebuilt.
819 * configure.in: Create testsuite/Makefile.
252b5132
RH
820
8211999-04-02 Mark Mitchell <mark@codesourcery.com>
822
823 * splay-tree.h (splay_tree_compare_pointers): Define.
824
8251999-03-30 Mark Mitchell <mark@codesourcery.com>
826
827 * splay-tree.c (splay_tree_compare_ints): Define.
828
8291999-03-30 Tom Tromey <tromey@cygnus.com>
830
831 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
832 don't advance input pointer.
833 (demangle_class_name): If consume_count didn't find a count, do
834 nothing. Don't bother with `strlen' sanity check; consume_count
835 does it for us.
836
8371999-03-16 Stan Shebs <shebs@andros.cygnus.com>
838
839 From Art Haas <ahaas@neosoft.com>:
840 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
841 when doing arm or hp style.
842 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 843
252b5132
RH
844Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
845
846 * pexecute.c (__CYGWIN32__): Rename to
847 (__CYGWIN__): this.
848 * xmalloc.c: Likewise.
849
850 Changes to support i386-pc-uwin.
851 * configure.in (*-*-uwin*): Workaround for vfork bug.
852 * configure: Regenerate.
853 * pexecute.c (pexecute): Be like standard Unix.
854 (pwait): Likewise.
855 * xmalloc.c (first_break): Define.
856 (xmalloc_set_program_name): Use.
857 (xmalloc): Use.
858
859Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
860
861 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
862
863Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
864
865 * config.table: Check cygwin*, not cygwin32*.
866
867Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
868
869 * Makefile.in: Change mkstemp -> mkstemps.
870
871Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
872
873 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
874 * configure.in (funcs): Check for and conditionally add mkstemps to
875 the list of functions libiberty will provide.
876 * configure: Rebuilt.
b4fe2683 877
252b5132
RH
878Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
879
b4fe2683 880 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
881 platforms that don't have HZ.
882 * getruntime.c (HZ): Likewise.
883
884Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
885
886 * Makefile.in (xstrdup.o): Depend on config.h.
887
888Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
889
890 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
891 freeing it.
892
893Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
894
895 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
896
897Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
898
899 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
900 splay-tree.o.
901
9021999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
903
904 * configure.in: Require autoconf 2.12.1 or higher.
905
9061998-12-30 Michael Meissner <meissner@cygnus.com>
907
908 * random.c (NULL): Don't redefine NULL if it is already defined.
909
910Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
911
912 * argv.c (buildargv): Cast the result of alloca in assignment.
913
914 * choose-temp.c: Include stdlib.h.
915
916 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
917 (snarf_numeric_literal): Constify first parameter.
918 (code_for_qualifier): Avoid a gcc extension, make the parameter an
919 int, not a char.
920 (demangle_qualifier): Likewise.
921 (demangle_signature): Cast the argument of a ctype function to
922 unsigned char.
923 (arm_pt): Add parens around assignment used as truth value.
924 (demangle_arm_hp_template): Constify variable `args'.
925 (do_hpacc_template_const_value): Cast the argument of a ctype
926 function to unsigned char.
927 (do_hpacc_template_literal): Remove unused variable `i'.
928 (snarf_numeric_literal): Constify parameter `args'.
929 Cast the argument of a ctype function to unsigned char.
930
931 * floatformat.c (floatformat_to_double): Add explicit braces to
932 avoid ambiguous `else'.
933
934 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
935 `cstart' and `cend' to unsigned char. Cast the argument of macro
936 `FOLD', which uses ctype functions, to unsigned char.
937
938 * objalloc.c (free): Add prototype.
939
940Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
941
942 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
943
944Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
945
946 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
947 doesn't exist.
948 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 949
252b5132
RH
950Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
951
952 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
953 bumping the pointer we read from. Also prepend these codes,
954 as we do in other places.
955
9561998-12-18 Nick Clifton <nickc@cygnus.com>
957
958 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
959 'const char *' in order to match its usage when calling siblings.
960 (snarf_numeric_literal): Make first arg 'const char **' in order
961 to match usage.
962
963Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
964
965 * choose-temp.c: Don't check IN_GCC anymore.
966
967 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
968 * memchr.c (memchr): Likewise.
969 * memcpy.c (memcpy): Likewise.
970 * memmove.c (memmove): Likewise.
971
972 * mkstemp.c: Don't check IN_GCC anymore.
973 * pexecute.c: Likewise.
974 * splay-tree.c: Likewise.
975
976 * strchr.c (strchr): Use `const', not `CONST'.
977 * strrchr.c (strrchr): Likewise.
978 * strtol.c (strtol): Likewise.
979 * strtoul.c (strtoul): Likewise.
980
981Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
982 Elena Zannoni <ezannoni@cygnus.com>
983 Stan Shebs <shebs@cygnus.com>
984 Edith Epstein <eepstein@cygnus.com>
985 Andres MacLeod <amacleod@cygnus.com>
986 Satish Pai <pai@apollo.hp.com>
987
988 * HP aCC demangling support.
989 * cplus-dem.c
990 (main): Remove default to HP style demangling, set to EDG
991 demangling correctly when -edg specified; set the demangling style
992 when user specifies 'edg'. Set strip_underscore to
993 prepends_underscore, if not HPUXHPPA. Set
994 current_demangling_style to hp_demangling if HPUXHPPA. Set
995 current demangling style correctly if the switch is hp. Read
996 label correctly also in the HP style case.
997 (work_stuff): add temp_start field; add field for volatile member
998 function.
999 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1000 style for this case is the same as ARM.
1001 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1002 (demangle_arm_hp_template): new function. (It was
1003 demangle_arm_pt.); check and set value of temp_start field in
1004 multiple places. Also, when ceching for end of template args,
1005 check to see if at end of static member of template class.
1006 (demangle_class): new local variable : save_class_name_end Don't
1007 include template args in string defining class.
1008 (demangle_class_name): use demangel_arm_hp_template.
1009 (demangle_function_name): handle case where demangling style is
1010 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1011 Handle EDG_DEMANGLING style. Handle constructor and destructor
1012 ops for HP style.
1013 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1014 styles. global destructor and constructor for HP style are same
1015 as for ARM style. Same for local variables.
1016 (demangle_qualified): handle EDG_DEMANGLING style.
1017 (demangle_signature): add case for volatile member function. For
1018 cases '1' - '9' : initialize the temp_start field to -1 and handle
1019 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1020 and AUTO_DEMANGLING styles. If expecting a function and managed
1021 to demangle the funct args, then handle the LUCID_DEMANGLING,
1022 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1023 class name after "Lnnn_ in HP style case. HP style too needs to
1024 forget types. _nnn is OK for HP style, so don't report failure.
1025 (do_hpacc_template_const_value): new function. Handle template's
1026 value param for HP/aCC.
1027 (do_hpacc_template_literal): new function. Handle a template's
1028 literal parameter for HP aCC.
1029 (recursively_demangle): new function
1030 (snarf_numeric_literal): new function.
1031 (usage): add 'edg' to the list of demangling styles; add hp switch
1032 to message.
1033
1034Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1035
1036 * pexecute.c: Remove obsolete ifdefed cygwin code.
1037
1038Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1039
1040 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1041 * cplus-dem.c: Likewise. Conform to libiberty.h.
1042 * pexecute.c: Likewise.
1043 * splay-tree.c: Likewise.
1044
10451998-11-25 Mike Stump <mrs@wrs.com>
1046
1047 * Makefile.in (splay-tree.o): Add config.h dependency.
1048
1049Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1050
1051 * configure.in: Use AC_PREREQ(2.12.1).
1052
10531998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1054
b4fe2683 1055 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1056
1057Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1058
1059 * mpw.c (mpw_access): Add missing parens.
1060
1061Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1062
1063 * configure.in: Call AC_HEADER_SYS_WAIT.
1064
1065 * pexecute.c: Include sys/wait.h when !IN_GCC.
1066
1067Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1068
1069 * pexecute.c: revert back to checking old Cygwin
1070 preprocessor symbol until some time has passed.
1071
1072Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1073
1074 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1075 since it will now support similar constructs.
1076
1077Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1078
1079 * configure.in: Check for calloc.
1080
1081 * calloc.c: New file.
1082
1083 * xmalloc.c (xcalloc): New function.
1084
1085Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1086
1087 *cplus-dem.c (demangle_prefix): Use the last "__"
1088 in the mangled name when looking for the signature. This allows
1089 template names to begin with "__".
1090
10911998-11-08 Mark Mitchell <mark@markmitchell.com>
1092
1093 * cplus-dem.c (type_kind_t): Add tk_reference.
1094 (demangle_template_value_parm): Handle it.
1095 (do_type): Use it for references, instead of tk_pointer.
1096
1097 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1098 not internal_cplus_demangle.
1099
1100Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1101
1102 * choose-temp.c: Don't include gansidecl.h.
1103 * mkstemp.c: Likewise.
1104 * pexecute.c: Likewise.
1105
1106Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1107
b4fe2683
JM
1108 * configure.in: detect cygwin* instead of cygwin32*
1109 * configure: regenerate
252b5132
RH
1110
1111Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1112
1113 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1114 whether to include config.h. Possibly include unistd.h in the
1115 !IN_GCC case. Define VFORK_STRING as a printable function call
1116 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1117 defined, include vfork.h. If VMS is defined, define vfork()
1118 appropriately. Remove vfork check on USG, we're using autoconf.
1119 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1120 locally what string to use.
1121
11221998-10-26 Mark Mitchell <mark@markmitchell.com>
1123
1124 * splay-tree.c: Tweak include directives to make sure declarations of
1125 xmalloc and free are available.
1126
11271998-10-25 Mark Mitchell <mark@markmitchell.com>
1128
1129 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1130 anonymous namespaces.
1131
11321998-10-23 Mark Mitchell <mark@markmitchell.com>
1133
1134 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1135 with type_quals.
1136 (TYPE_UNQUALIFIED): New macro.
1137 (TYPE_QUAL_CONST): Likewise.
1138 (TYPE_QUAL_VOLATILE): Likewise.
1139 (TYPE_QUAL_RESTRICT): Likewise.
1140 (code_for_qualifier): New function.
1141 (qualifier_string): Likewise.
1142 (demangle_qualifier): Likewise.
1143 (internal_cplus_demangle): Use them.
1144 (demangle_signature): Likewise.
1145 (demangle_template_value_parm): Likewise.
1146 (do_type): Likewise.
1147 (demangle_fund_type)): Likewise.
1148
1149Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1150
1151 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1152 to match prototype.
1153
11541998-10-21 Mark Mitchell <mark@markmitchell.com>
1155
1156 * splay-tree.c: New file.
1157 * Makefile.in (CFILES): Add it.
1158 (REQUIRED_OFILES): Likewise.
1159 (splay-tree.o): Add dependencies.
1160
1161Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1162
1163 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1164 range of 'K' index.
1165
1166Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1167
1168 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1169
1170 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1171 `unsigned char'.
1172 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1173 comparing against one.
1174 (cplus_mangle_opname): Likewise.
1175 (demangle_integral_value): Cast argument of ctype macro to
1176 `unsigned char'.
1177 (demangle_template_value_parm): Likewise.
1178 (demangle_template): Initialize variable `bindex'. Cast the
1179 result of `strlen' to (int) when comparing against one. Remove
1180 unused variable `start_of_value_parm'.
1181 (demangle_class_name): Cast the result of `strlen' to (int) when
1182 comparing against one.
1183 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1184 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1185 when comparing against one.
1186 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1187 (get_count): Likewise.
1188 (do_type): Likewise. Cast the result of `strlen' to (int) when
1189 comparing against one.
1190 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1191 (demangle_function_name): Cast the result of `strlen' to (int)
1192 when comparing against one.
1193
1194 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1195 comparing against one.
1196
1197Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1198
b4fe2683
JM
1199 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1200 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1201 * config.in, configure: Rebuilt.
252b5132
RH
1202
1203 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1204 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1205 * config.in, configure: Rebuilt.
1206
1207Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1208
b4fe2683 1209 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1210
1211Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1212
1213 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1214
1215Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1216
1217 * Merge egcs & devo libiberty.
1218