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