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