]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
Dummy checkin of footer.html to force web sync.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
c9b6494a
ZW
12000-08-02 Zack Weinberg <zack@wolery.cumb.org>
2
3 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
4
c00fb683 52000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
6
7 * config/mh-openedition.h: Added -DLE370 definition.
8
0aab2795
ME
92000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
10
11 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
12 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
13 Cast program to 'char *' in errmsg_arg assignment.
14 (PWAIT_ERROR): Define.
15 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
16 to DJGPP's WIF* macros.
17
c2f275e4
RB
182000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
19 Jeff Law <law@cygnus.com>
20
73aa9564
RB
21 * getcwd.c: Include string.h, stdlib.h for prototypes
22
c2f275e4 23 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
24 * rename.c: Include config.h, unistd.h
25 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 26
3388651c
DB
272000-07-24 Daniel Berlin <dberlin@redhat.com>
28
29 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
30 if (AUTO_DEMANGLING || GNU_DEMANGLING)
31
0fac482e
AS
322000-07-21 Alex Samuel <samuel@codesourcery.com>
33
34 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
35 allocating ctor mangling.
36 (demangle_array_type): Handle empty and non-constant array length.
37
8502a100 382000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
39 Jeff Law <law@cygnus.com>
40
c6451ce1
MS
41 * configure.in (AC_CHECK_HEADERS): Add time.h.
42 (AC_HEADER_TIME): Add check.
43 * configure, config.in: Regenerate.
44 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
45
cd447360
MS
46 * configure.in (AC_CHECK_HEADERS): Add limits.h.
47 * configure, config.in: Regenerate.
48 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
49 * strtol.c, strtoul.c: #include "config.h". Portably #include
50 <limits.h> and/or <sys/param.h>.
51 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 52
3b58c099
MS
53 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
54 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
55 * configure, config.in: Regenerate.
56 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
57
8502a100
MS
58 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
59
da0c7743
MS
602000-07-21 Mike Stump <mrs@wrs.com>
61
62 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 63 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 64
838f8562
KG
652000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
66
67 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
68
69 * setenv.c (setenv): Initialize variable `ep'.
70
71 * sigsetmask.c (abort): Prototype.
72
73 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
74 __STDC__ for stdarg.h include.
75 (int_vasprintf): Prototype.
76 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
77 definition. Cast `global_total_width' in comparison.
78 (main): Prototype. Return a value.
79
80 * vfork.c (fork): Prototype.
81
82 * xexit.c: Include config.h.
83
e9958132
JM
842000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
85
86 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
87 and print it with %u.
88
39a6492f
HPN
892000-07-17 Hans-Peter Nilsson <hp@axis.com>
90
91 * testsuite/regress-demangle (failed test): Show result and
92 expected output.
93
6d0be369
AH
942000-07-07 Andrew Haley <aph@cygnus.com>
95
96 * cplus-dem.c (main): fflush() after emitting last char before
97 waiting for input.
98
bece74bd
AS
992000-06-28 Alex Samuel <samuel@codesourcery.com>
100
101 * cp-demangle.c (demangle_encoding): Accept no substitutions.
102 (demangle_name): Handle <substitution> followed by
103 <unqualified-template-name>.
104 (demangle_type): Follow special substitutions with
105 <class-enum-type>
106 (demangle_subtitution): Set template_p for special substitutions.
107 (main): Fix typos.
108
229b8ec7
AS
1092000-06-27 Alex Samuel <samuel@codesourcery.com>
110
111 * cp-demangle.c (demangle_special_name): Swap base and derived
112 class when demangling construction vtables.
113
051664b0
AS
1142000-06-21 Alex Samuel <samuel@codesourcery.com>
115
116 * cp-demangle.c: Don't include ctype.h.
117 (IS_DIGIT): New macro.
118 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
119 instead of isdigit and isalpanum.
120 (demangling_def): Make name and next const pointers.
121 (STATUS_ALLOCATION_FAILED): New status code.
122 (dyn_string_append_space): Handle failure in
123 dyn_string_append_char.
124 (int_to_dyn_string): Likewise. Change return value to status_t.
125 (string_list_new): Handle failure of dyn_string_init.
126 (result_close_template_list): Change return type to status_t.
127 Handle failure in dyn_string_append.
128 (result_push): Change return value to status_t. Handle failure in
129 string_list_new. Handle failure of result_push throughout.
130 (substitution_add): Change return value to status_t. Handle
131 dyn_string failures. Handle failure of substitution_add
132 throughout.
133 (template_arg_list_new): Return NULL on allocation failure.
134 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
135 Handle error result throughout.
136 (result_append): Likewise.
137 (result_append_char): Likewise.
138 (result_append_space): Likewise.
139 (demangling_new): Make argument a const pointer. Handle
140 allocation failures.
141 (demangle_template_args): Handle failure in template_arg_list_new
142 and result_close_template_list.
143 (demangle_discriminator): Return if int_to_dyn_string fails.
144 (cp_demangle): Likewise.
145 (cp_demangle_type): New function.
146 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
147 memory allocation failure.
148 (main): Likewise.
149 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
150 IN_LIBGCC2.
151 (dyn_string_init): Change return value to int. Handle
152 RETURN_ON_ALLOCATION_FAILURE case.
153 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
154 (dyn_string_release): Delete the dyn_string.
155 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
156 (dyn_string_copy): Change return type to int.
157 (dyn_string_copy_cstr): Likewise.
158 (dyn_string_prepend): Likewise.
159 (dyn_string_prepend_cstr): Likewise.
160 (dyn_string_insert): Likewise.
161 (dyn_string_insert_cstr): Likewise.
162 (dyn_string_append): Likewise.
163 (dyn_string_append_cstr): Likewise.
164 (dyn_string_append_char): Likewise.
165 (dyn_string_substring): Likewise.
166
fe06b696
ZW
1672000-06-09 Zack Weinberg <zack@wolery.cumb.org>
168
169 * cp-demangle.c (demangle_operator_name): Add spaces before
170 names beginning with a letter: delete, delete[], new, new[],
171 sizeof.
172 (demangle_special_name): Handle TF <type> and TJ <type>.
173
6223e158
PDM
174Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
175
176 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
177
48f3e29b
PDM
178Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
179
180 * cp-demangle.c (stdio.h): File included unconditionaly.
181 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
182 * dyn-string.c (stdio.h): File included.
183 * partition.c (partition_print): No `&' needed to take the address of
184 a function.
185
69197e7e
KG
1862000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
187
188 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
189
190 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
191
192 * cp-demangle.c (demangle_char): Change parameter from char to int.
193 (demangle_expression, demangle_expr_primary): Remove extra
194 semi-colon in prototype.
195
196 * dyn-string.c (dyn_string_append_char): Change parameter from
197 char to int.
198
199 * memcmp.c (memcmp): Constify.
200
201 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
202 __extension__.
203
204 * partition.c (elem_compare): Prototype. Don't cast away
205 const-ness.
206
207 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
208
7eb23b1f
KG
2092000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
210
211 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
212
213 * cp-demangle.c: Include demangle.h.
214 (template_arg_list_new): DeANSIfy.
215 (cp_demangle): Make static and add prototype.
216 (operator_code, operators): Constify.
217 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
218
3faa108c
AS
2192000-06-05 Alex Samuel <samuel@codesourcery.com>
220
221 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
222 unsigned char.
223 (demangle_unqualified_name): Likewise.
224 (demangle_number_literally): Likewise.
225 (demangle_type): Likewise.
226 (demangle_substitution): Likewise.
227 (is_mangled_char): Likewise, for isalnum.
228
69afa80d
AS
2292000-06-04 Alex Samuel <samuel@codesourcery.com>
230
231 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
232 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
233 (cp-demangle.o): New dependency.
234 (dyn-string.o): Likewise.
235
236 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
237
238 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
239 demangler.
240 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
241 demangling mode.
242 (gnu_new_abi_symbol_characters): New function.
243 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
244 file.
245 * cp-demangle.c: New file.
246
0b72c3df
AC
247Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
248
249 * floatformat.c: Add name to each floatformat field.
250
270cea06
JL
251Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
252
253 * Makefile.in (objalloc.o): Depend on config.h
254
d11ec6f0
ZW
2552000-05-29 Zack Weinberg <zack@wolery.cumb.org>
256
257 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
258 if HAVE_STRING_H.
259 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
260 * objalloc.c: Include config.h. Include stdlib.h and don't
261 declare malloc or free if HAVE_STDLIB_H.
262 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
263 else declare malloc without prototype. Include string.h if
264 HAVE_STRING_H, else declare memset without prototype. Don't
265 include stddef.h.
266
f8e2da56
MS
2672000-05-23 Mike Stump <mrs@wrs.com>
268
269 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
270 -j3.
271
650f3068
DA
2722000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
273
274 * xmalloc.c: Include config.h for HAVE_SBRK definition.
275
1d2da2e1
HB
2762000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
277
278 * hashtab.c (hash_pointer): Delete low-order bits which are
279 probably zero, also eliminate a warning on alpha.
280
47668d0a
DE
2812000-05-15 David Edelsohn <edelsohn@gnu.org>
282
c7a79a32 283 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
284 on $(enable_shared).
285
36348eab
JJ
2862000-05-10 Jakub Jelinek <jakub@redhat.com>
287
288 * config.table: Use mh-sparcpic for sparc*-*-*.
289
209bbe34
NC
2902000-05-08 Nick Clifton <nickc@cygnus.com>
291
292 * Makefile.in (CFILES): Add strncmp.c.
293 (NEEDED): Add strncmp.
294
a85a47fb
KG
2952000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
296
297 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
298 Cast the arguments to `islower' to `unsigned char'.
299 (print_demangler_list): Prototype.
300
4aef973c
PDM
301Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
302
303 * sort.c (UCHAR_MAX): Provide fallback definition.
304
3b94497c
AO
3052000-04-29 Alexandre Oliva <aoliva@cygnus.com>
306
307 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
308 SUBDIRS.
309
24eaa47a
KB
3102000-04-28 Kenneth Block <block@zk3.dec.com>
311 Jason Merrill <jason@casey.cygnus.com>
312
313 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
314 (cplus_demangle_set_style): New function for setting style.
315 (cplus_demangle_name_to_style): New function to translate name.
316
a9266bfa
KG
3172000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
318
319 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
320
321 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
322 (libiberty_AC_FUNC_STRNCMP): Invoke.
323
324 * strncmp.c: New file.
325
8e02c4d0
JH
326Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
327
328 * hashtab.c (htab_expand): Add prototype.
329 (find_empty_slot_for_expand): Likewise.
330
4feeaae3
KG
3312000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
332
333 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
334 match prototype.
335 (htab_expand): Cast the return value of xcalloc.
336
18a94a2f
MM
3372000-04-24 Mark Mitchell <mark@codesourcery.com>
338
339 * hashtab.c (hash_pointer): New function.
340 (eq_pointer): Likewise.
341 (htab_hash_pointer): New variable.
342 (htab_eq_pointer): Likewise.
343
eeb0656f
MM
3442000-04-23 Mark Mitchell <mark@codesourcery.com>
345
b51024fc
MM
346 * sort.c (sort_pointers): Fix endianness bugs.
347
eeb0656f
MM
348 * sort.c: New file.
349 * Makefile.in (CFILES): Add sort.c
350 (REQUIRED_OFILES): Add sort.o.
351 (sort.o): New target.
352
7277f72d
MS
3532000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
354
355 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
356 4.3BSD systems.
357
e38992e8
RK
358Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
359
360 * hashtab.c: Various minor cleanups.
361 (htab_find_slot_with_hash): INSERT is now enum insert_option.
362 (htab_find_slot): Likewise.
363
498e1ab1
DP
3642000-04-16 Dave Pitts <dpitts@cozx.com>
365
366 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
367
dc17cc7b
RH
3682000-04-05 Richard Henderson <rth@cygnus.com>
369
370 * splay-tree.c (splay_tree_remove): New.
371
b13eb66b
MM
3722000-03-30 Mark Mitchell <mark@codesourcery.com>
373
374 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
375 codes.
376 (htab_find_with_hash): Likewise.
377 (htab_find_slot_with_hash): Likewise.
378
0194e877
ZW
3792000-03-29 Zack Weinberg <zack@wolery.cumb.org>
380
381 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
382 unless it will be used. Rearrange loop for better
383 optimization.
384 (higher_prime_number): Add static prototype.
385
abc61fd4
JL
386Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
387
388 * Makefile.in (partition.o): Depend on config.h
389
8c5d513f
BS
3902000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
391
392 * hashtab.c (find_empty_slot_for_expand): New function.
393 (htab_expand): Use it instead of htab_find_slot.
394 (htab_find_with_hash): Renamed from htab_find; now accepts extra
395 argument HASH.
396 (htab_find_slot_with_hash): Likewise for htab_find_slot.
397 (htab_find): New wrapper function.
398 (htab_find_slot): Likewise.
399 (htab_traverse): Pass slot, not entry, to called function.
400
d9d4fb43
AS
4012000-03-09 Alex Samuel <samuel@codesourcery.com>
402
403 * Makefile.in (CFILES): Add partition.c.
404 (REQUIRED_OFILES): Add partition.o.
405 (partition.o): New rule.
406 * partition.c: New file.
407
5dc9cffd
ZW
4082000-03-09 Zack Weinberg <zack@wolery.cumb.org>
409
410 * hashtab.c (htab_create): Set del_f.
411 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
412 Use it.
413
5194cf08
ZW
4142000-03-08 Zack Weinberg <zack@wolery.cumb.org>
415
416 * hashtab.c: Remove debugging variables (all_searches,
417 all_collisions, all_expansions). Delete
418 all_hash_table_collisions.
419 (create_hash_table, delete_hash_table, empty_hash_table,
420 find_hash_table_entry, remove_element_from_hash_table_entry,
421 clear_hash_table_slot, traverse_hash_table, hash_table_size,
422 hash_table_elements_number, hash_table_collisions): Rename to:
423 htab_create, htab_delete, htab_empty, htab_find_slot,
424 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
425 htab_elements, htab_collisions.
426 (htab_find): New function, handles common case where you don't
427 plan to add or delete an entry.
428 (htab_expand): Don't create a whole new table, just a new
429 entry vector.
430 (htab_find_slot): Simplify logic.
431
5ad5a984
ILT
4321999-08-03 Ian Lance Taylor <ian@zembu.com>
433
434 * floatformat.c: Add casts to avoid signed/unsigned warnings.
435 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
436
437 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
438 $(TARGETLIB)n so it works on MSDOS.
439 (install_to_tooldir): Likewise.
440
4411999-07-21 Ian Lance Taylor <ian@zembu.com>
442
443 From Mark Elbrecht:
444 * makefile.dos: Remove; obsolete.
445 * configure.bat: Remove; obsolete.
446
4471999-07-11 Ian Lance Taylor <ian@zembu.com>
448
449 * splay-tree.c (splay_tree_insert): Add initialization to avoid
450 warning.
451
aeecce42
MK
4522000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
453
454 * pexecute.c: Conditionally include string.h.
5194cf08 455 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 456
1eaf7d9c
KG
4572000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
458
459 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
460 we're using gcc.
461
462 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
463
0fadedb2
GK
4641999-12-27 Geoff Keating <geoffk@cygnus.com>
465
466 * vasprintf.c (int_vasprintf): Don't re-read the format character
467 as this mishandles strings like '%%s'.
468
08230f26
MM
4691999-12-05 Mark Mitchell <mark@codesourcery.com>
470
471 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
472 rather than struct splay_tree_node.
473 (splay_tree_insert): Use struct splay_tree_s rather than struct
474 splay_tree.
475
6de9b8ff
PDM
476Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
477
478 * hashtab.c (sys/types.h): File included.
479
f3636679
JM
4801999-11-22 Jason Merrill <jason@casey.cygnus.com>
481
482 * strtoul.c, strtol.c, random.c: Remove advertising clause from
483 BSD license, pursuant with
484
485 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
486
36dd3a44
JL
487Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
488
489 * hashtab.c: Include stdio.h.
490
6e300472
JL
491Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
492
493 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
494
df548dfc
PDM
495Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
496
497 * xstrdup (sys/types.h): Include this file.
498
2c375143
NS
4991999-10-28 Nathan Sidwell <nathan@acm.org>
500
501 * Makefile.in (SUBDIRS): New macro.
502 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
503 avoid multiple subdirectory cleaning.
504 (*-subdir): Use SUBDIRS.
505
a82cecda
JK
5061999-10-25 Jim Kingdon <http://developer.redhat.com/>
507
508 * cplus-dem.c: Move declarations of standard_symbol_characters and
509 hp_symbol_characters inside #ifdef MAIN to avoid compiler
510 warnings.
511
ed38f5d5
ZW
5121999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
513
514 * hashtab.c (find_hash_table_entry): When returning a
515 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
516 (clear_hash_table_slot): New function which deletes an entry
517 by its position in the table, not its value.
518 (traverse_hash_table): New function which calls a hook
519 function for every live entry in the table.
520
b60fe4a7
MM
5211999-10-19 Mark Mitchell <mark@codesourcery.com>
522
523 * cplus-dem.c (INTBUF_SIZE): New macro.
524 (string_append_template_idx): New function.
525 (demangle_expression): Likewise.
526 (demangle_integral_value): Use it.
527 (demangle_real_value): New function, split out from ...
528 (demangle_template_value_parm): ... here. Use
529 string_append_template_idx. Use demangle_real_value.
530 (demangle_template): Use string_append_template_idx.
531 (demangle_qualified): Use consume_count_with_underscores.
532 (get_count): Tweak formatting.
533 (do_type): Use string_append_template_idx.
5194cf08 534
3da5522a
KG
5351999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
536
537 * calloc.c: Add a public domain notice.
538
d7d36ea8
PDM
539Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
540
541 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
542
a2f945c6
VM
543Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
544
545 * Makefile.in (CFILES): Add hashtab.c
546 (REQUIRED_OFILES): Add hashtab.o
547 (hashtab.o): Add dependencies.
548 * hashtab.c: New file
549
7f22ec2e
MK
550Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
551
552 * basename.c (DIR_SEPARATOR): New macro.
553 (DIR_SEPARATOR_2): Likewise.
554 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
555 (IS_DIR_SEPARATOR): Likewise.
556 (main): Handle MSDOS style pathname.
557
7c56a6ce
MM
5581999-10-11 Mark Mitchell <mark@codesourcery.com>
559
560 * cplus-dem.c (do_type): Handle pointer to member types whose
561 enclosing classes have namespace scope.
562
cd32188b
ME
563Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
564
565 * config.table: Provide a backup shell for executing move-if-change.
566
fc232f7a
MM
5671999-10-02 Mark Mitchell <mark@codesourcery.com>
568
569 * xmalloc.c (xmalloc): Fix spelling error.
570 (xcalloc, xrealloc): Likewise.
571
2a138827
KG
5721999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
573
574 * cplus-dem.c (fancy_abort, demangle_integral_value,
575 demangle_arm_hp_template, recursively_demangle,
576 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
577 (program_name, program_version, fatal): Constify a char*.
578 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
579 (main): Call return, not exit.
580
5a657fc3
KG
5811999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
582
583 * choose-temp.c: Remove obsolete comment about gcc.
584 (make_temp_file): Constify a char*.
585
33c5ddcd
KG
586Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
587
588 * xmemdup.c: Include sys/types.h.
589
b10647f1
JG
5901999-09-07 Jeff Garzik <jgarzik@pobox.com>
591
592 * xmemdup.c: New xmemdup function.
593 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
594
3dd6c3af
LV
595Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
596
5194cf08 597 * config.table: Add openedition target.
3dd6c3af
LV
598 * config/mh-openedition: New file.
599
19e28e2a
ME
600Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
601
602 * pexecute.c (pexecute): Fill in temp_base when needed.
603
4dfeccf9
RH
6041999-08-31 Richard Henderson <rth@cygnus.com>
605
606 * getpwd.c: Check HAVE_GETCWD before defining it away.
607
4ac3cb83
KG
6081999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
609
610 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
611 (REQUIRED_OFILES): Add getpwd.o.
612 (getpwd.o): Add target.
613
614 * configure.in (AC_PREREQ): Bump to 2.13.
615 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
616
617 * getpwd.c: New file, moved here from gcc.
618
e797ff70
KG
6191999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
620
621 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
622 comparing against a signed quantity.
623 (arm_special): Likewise.
624 (demangle_fund_type): Likewise.
625 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 626 ATTRIBUTE_UNUSED.
e797ff70
KG
627 (main): Constify variable `valid_symbols'.
628
55247fce
PDM
629Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
630
631 * strtoul.c (strtoul): Add parentheses around && within ||.
632
76632dd0
DJ
633Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
634
635 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
636 libdir, libsubdir and tooldir.
637
d080bbfa
MM
6381999-08-01 Mark Mitchell <mark@codesourcery.com>
639
640 * splay-tree.c (splay_tree_insert): Return the new node.
641
a81c752a
RH
6421999-07-14 Richard Henderson <rth@cygnus.com>
643
5194cf08 644 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
645 prototyping directly.
646 * choose-temp.c: Conditionally include string.h.
647
8f1824d9
JM
6481999-07-12 Jason Merrill <jason@yorick.cygnus.com>
649
650 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
651
652374d3
ILT
6521999-07-11 Ian Lance Taylor <ian@zembu.com>
653
654 * splay-tree.c (splay_tree_insert): Add initialization to avoid
655 warning.
656
a4494286
JM
6571999-07-07 Jason Merrill <jason@yorick.cygnus.com>
658
659 * Makefile.in (needed-list): Only include stuff we actually need
660 for libstdc++.
661
90e72e20
AS
6621999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
663
664 * configure.in (checkfuncs): Add gettimeofday.
665 * config.in, configure: Regenerated.
666
b569200e
MK
667Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
668
669 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
670 the test fails.
671 * configure: Regenerate.
672
73919448
MS
6731999-06-10 Mike Stump <mrs@wrs.com>
674
675 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
676 parallel builds.
677
fee9125c
KG
6781999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
679
680 * putenv.c: Include ansidecl.h to define `const'.
681 * setenv.c: Likewise.
682
71cce721
MN
683Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
684
a7c9637f
JL
685 * Makefile.in (CFILES): Add putenv.c and setenv.c.
686 * configure.in (funcs): Add putenv and setenv.
687 (AC_CHECK_FUNCS): Check for putenv and setenv.
688 * configure: Rebuilt.
689 * putenv.c setenv.c: New files.
690
71cce721
MN
691 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
692 bytes of space using malloc.
693
53504016
SG
694Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
695
696 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
697 the *mangled pointer beyond the end of the string. Clean up code to
698 match prevailing coding style.
699
34842539
MH
7001999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
701
702 * tmpnam.c (L_tmpnam): Fix typo.
703
3a08531d
ME
704Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
705
706 * cplus-dem.c (standard_symbol_characters): Renamed from
707 standard_symbol_alphabet. No longer modify TABLE.
708 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
709 modify TABLE.
710 (main): Corresponding changes. Use strchr to determine if a
711 character is valid.
712
8db9d08b
JB
7131999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
714
715 * cplus-dem.c (main): Use table lookup to distinguish identifier
716 characters from non-identifier characters.
717 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
718
6a071f4a
FF
719Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
720
721 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
722 * getruntime.c: Only attempt to include sys/resource.h and
723 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
724 are defined.
725
7dd88617
DT
726Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
727
728 * configure.in (alloca detection): Handle alloca directly for interix.
729 * configure: Rebuilt.
730
7a1528bc
MK
731Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
732
733 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
734
76409268
JB
7351999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
736
737 Fix from Dale Hawkins:
5194cf08 738 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
739 reallocated properly if we use it again.
740
741 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
742 stricter about syntax. Always null-terminate string.
743
acbbd80a
MK
744Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
745
746 * configure.in (checkfuncs): Check for sbrk.
747 * config.in: Rebuilt.
748 * configure: Likewise.
749 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
750
92523551
JB
7511999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
752
753 Fix from Marcus Daniels:
754 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
755 identifier looking for another underscore.
756
36eb4217
MK
757Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
758
759 * pexecute.c: Change all references to __UWIN__ to _UWIN.
760 * xmalloc.c: Likewise.
761 (xcalloc): UWIN has sbrk.
762 (xrealloc): Fix guard macro.
763
2c45d1a0
RH
7641999-04-11 Richard Henderson <rth@cygnus.com>
765
766 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
767 or <alloca.h>.
768 * clock.c (GNU_HZ): New definition.
769 (clock): Use it.
770 * getruntime.c: Likewise.
771
772 * config.table: Use mh-beos.
773 * config/mh-beos: New file.
774
391cdef0
MM
7751999-04-11 Mark Mitchell <mark@codesourcery.com>
776
777 * cplus-dem.c (demangle_template_value_parm): Handle
778 pointers-to-members.
779 (do_type): Handle template parameters as qualifiers.
780
9d229989
JB
7811999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
782
783 * cplus-dem.c: Attempt to handle overflows in counts with some
784 semblance of grace.
785 (consume_count): Detect overflows. Return -1 to indicate errors,
786 instead of zero.
787 (demangle_template_value_parm, demangle_template): Handle change
788 to consume_count's return convention.
789
7c72138a
TT
7901999-04-05 Tom Tromey <tromey@cygnus.com>
791
792 * testsuite/regress-demangle: New file.
793 * testsuite/demangle-expected: New file.
794
795 * Makefile.in (all, check, installcheck, info, install-info,
796 clean-info, dvi, install, etags, tags, mostlyclean, clean,
797 distclean, maintainer-clean, realclean): Depend on corresponding
798 `-subdir' target.
799 (all-subdir check-subdir installcheck-subdir info-subdir
800 install-info-subdir clean-info-subdir dvi-subdir
801 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
802 distclean-subdir maintainer-clean-subdir): New target.
803 * testsuite/Makefile.in: New file.
804 * configure: Rebuilt.
805 * configure.in: Create testsuite/Makefile.
806
ae7f7270
MM
8071999-04-02 Mark Mitchell <mark@codesourcery.com>
808
809 * splay-tree.h (splay_tree_compare_pointers): Define.
810
30f72379
MM
8111999-03-30 Mark Mitchell <mark@codesourcery.com>
812
813 * splay-tree.c (splay_tree_compare_ints): Define.
814
4cc48683
TT
8151999-03-30 Tom Tromey <tromey@cygnus.com>
816
817 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
818 don't advance input pointer.
819 (demangle_class_name): If consume_count didn't find a count, do
820 nothing. Don't bother with `strlen' sanity check; consume_count
821 does it for us.
822
3510075c
JL
8231999-03-16 Stan Shebs <shebs@andros.cygnus.com>
824
825 From Art Haas <ahaas@neosoft.com>:
826 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
827 when doing arm or hp style.
828 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 829
89f602a7
MK
830Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
831
832 * pexecute.c (__CYGWIN32__): Rename to
833 (__CYGWIN__): this.
834 * xmalloc.c: Likewise.
835
836 Changes to support i386-pc-uwin.
837 * configure.in (*-*-uwin*): Workaround for vfork bug.
838 * configure: Regenerate.
839 * pexecute.c (pexecute): Be like standard Unix.
840 (pwait): Likewise.
841 * xmalloc.c (first_break): Define.
842 (xmalloc_set_program_name): Use.
843 (xmalloc): Use.
844
9346c824
FS
845Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
846
847 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
848
3510075c
JL
849Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
850
851 * config.table: Check cygwin*, not cygwin32*.
852
8ec65f13
DB
853Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
854
855 * Makefile.in: Change mkstemp -> mkstemps.
856
687361c8
ME
857Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
858
859 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
860 * configure.in (funcs): Check for and conditionally add mkstemps to
861 the list of functions libiberty will provide.
862 * configure: Rebuilt.
5194cf08 863
b207e09c
MK
864Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
865
5194cf08 866 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
867 platforms that don't have HZ.
868 * getruntime.c (HZ): Likewise.
869
16b4c15e
RH
870Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
871
872 * Makefile.in (xstrdup.o): Depend on config.h.
873
38beb75c
UD
874Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
875
876 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
877 freeing it.
878
7e4311a3
KG
879Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
880
881 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
882
3510075c
JL
883Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
884
885 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
886 splay-tree.o.
887
8881999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
889
890 * configure.in: Require autoconf 2.12.1 or higher.
891
fb9939b8
MM
8921998-12-30 Michael Meissner <meissner@cygnus.com>
893
894 * random.c (NULL): Don't redefine NULL if it is already defined.
895
087aa398
KG
896Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
897
898 * argv.c (buildargv): Cast the result of alloca in assignment.
899
900 * choose-temp.c: Include stdlib.h.
38beb75c 901
087aa398
KG
902 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
903 (snarf_numeric_literal): Constify first parameter.
904 (code_for_qualifier): Avoid a gcc extension, make the parameter an
905 int, not a char.
906 (demangle_qualifier): Likewise.
907 (demangle_signature): Cast the argument of a ctype function to
908 unsigned char.
909 (arm_pt): Add parens around assignment used as truth value.
910 (demangle_arm_hp_template): Constify variable `args'.
911 (do_hpacc_template_const_value): Cast the argument of a ctype
912 function to unsigned char.
913 (do_hpacc_template_literal): Remove unused variable `i'.
914 (snarf_numeric_literal): Constify parameter `args'.
915 Cast the argument of a ctype function to unsigned char.
916
917 * floatformat.c (floatformat_to_double): Add explicit braces to
918 avoid ambiguous `else'.
38beb75c 919
087aa398
KG
920 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
921 `cstart' and `cend' to unsigned char. Cast the argument of macro
922 `FOLD', which uses ctype functions, to unsigned char.
923
924 * objalloc.c (free): Add prototype.
925
21f2174d
HPN
926Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
927
928 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
929
3510075c
JL
930Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
931
932 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
933 doesn't exist.
934 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 935
e8fc8222
AM
936Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
937
938 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
939 bumping the pointer we read from. Also prepend these codes,
940 as we do in other places.
941
3510075c
JL
9421998-12-18 Nick Clifton <nickc@cygnus.com>
943
944 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
945 'const char *' in order to match its usage when calling siblings.
946 (snarf_numeric_literal): Make first arg 'const char **' in order
947 to match usage.
11a0bb74 948
f4f30aa1
JL
949Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
950
11a0bb74
KG
951 * choose-temp.c: Don't check IN_GCC anymore.
952
953 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
954 * memchr.c (memchr): Likewise.
955 * memcpy.c (memcpy): Likewise.
956 * memmove.c (memmove): Likewise.
38beb75c 957
11a0bb74
KG
958 * mkstemp.c: Don't check IN_GCC anymore.
959 * pexecute.c: Likewise.
960 * splay-tree.c: Likewise.
38beb75c 961
11a0bb74
KG
962 * strchr.c (strchr): Use `const', not `CONST'.
963 * strrchr.c (strrchr): Likewise.
964 * strtol.c (strtol): Likewise.
965 * strtoul.c (strtoul): Likewise.
966
70d5ccef
DT
967Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
968 Elena Zannoni <ezannoni@cygnus.com>
969 Stan Shebs <shebs@cygnus.com>
970 Edith Epstein <eepstein@cygnus.com>
971 Andres MacLeod <amacleod@cygnus.com>
972 Satish Pai <pai@apollo.hp.com>
973
974 * HP aCC demangling support.
975 * cplus-dem.c
976 (main): Remove default to HP style demangling, set to EDG
977 demangling correctly when -edg specified; set the demangling style
978 when user specifies 'edg'. Set strip_underscore to
979 prepends_underscore, if not HPUXHPPA. Set
980 current_demangling_style to hp_demangling if HPUXHPPA. Set
981 current demangling style correctly if the switch is hp. Read
982 label correctly also in the HP style case.
983 (work_stuff): add temp_start field; add field for volatile member
984 function.
985 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
986 style for this case is the same as ARM.
987 (demangle_args): handle EDG_DEMANGLING style; support HP style.
988 (demangle_arm_hp_template): new function. (It was
989 demangle_arm_pt.); check and set value of temp_start field in
990 multiple places. Also, when ceching for end of template args,
991 check to see if at end of static member of template class.
992 (demangle_class): new local variable : save_class_name_end Don't
993 include template args in string defining class.
994 (demangle_class_name): use demangel_arm_hp_template.
995 (demangle_function_name): handle case where demangling style is
996 HP_DEMANGLING and currently point at an 'X' in the mangled name.
997 Handle EDG_DEMANGLING style. Handle constructor and destructor
998 ops for HP style.
999 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1000 styles. global destructor and constructor for HP style are same
1001 as for ARM style. Same for local variables.
1002 (demangle_qualified): handle EDG_DEMANGLING style.
1003 (demangle_signature): add case for volatile member function. For
1004 cases '1' - '9' : initialize the temp_start field to -1 and handle
1005 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1006 and AUTO_DEMANGLING styles. If expecting a function and managed
1007 to demangle the funct args, then handle the LUCID_DEMANGLING,
1008 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1009 class name after "Lnnn_ in HP style case. HP style too needs to
1010 forget types. _nnn is OK for HP style, so don't report failure.
1011 (do_hpacc_template_const_value): new function. Handle template's
1012 value param for HP/aCC.
1013 (do_hpacc_template_literal): new function. Handle a template's
1014 literal parameter for HP aCC.
1015 (recursively_demangle): new function
1016 (snarf_numeric_literal): new function.
1017 (usage): add 'edg' to the list of demangling styles; add hp switch
1018 to message.
1019
8d525fa8
CF
1020Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1021
1022 * pexecute.c: Remove obsolete ifdefed cygwin code.
1023
9b1a92d8
KG
1024Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1025
1026 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1027 * cplus-dem.c: Likewise. Conform to libiberty.h.
1028 * pexecute.c: Likewise.
1029 * splay-tree.c: Likewise.
1030
c85c3232
MS
10311998-11-25 Mike Stump <mrs@wrs.com>
1032
1033 * Makefile.in (splay-tree.o): Add config.h dependency.
1034
35a6cd99
KG
1035Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1036
1037 * configure.in: Use AC_PREREQ(2.12.1).
1038
6e6e34b7
BK
10391998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1040
5194cf08 1041 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 1042
59b67c11
JL
1043Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1044
1045 * mpw.c (mpw_access): Add missing parens.
1046
a6458d1d
KG
1047Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1048
1049 * configure.in: Call AC_HEADER_SYS_WAIT.
1050
1051 * pexecute.c: Include sys/wait.h when !IN_GCC.
1052
3510075c
JL
1053Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1054
1055 * pexecute.c: revert back to checking old Cygwin
1056 preprocessor symbol until some time has passed.
1057
1058Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1059
1060 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1061 since it will now support similar constructs.
1062
a9acf741
KG
1063Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1064
1065 * configure.in: Check for calloc.
1066
1067 * calloc.c: New file.
1068
1069 * xmalloc.c (xcalloc): New function.
1070
a49fb37a
AM
1071Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1072
1073 *cplus-dem.c (demangle_prefix): Use the last "__"
1074 in the mangled name when looking for the signature. This allows
1075 template names to begin with "__".
1076
0e714131
MM
10771998-11-08 Mark Mitchell <mark@markmitchell.com>
1078
ec2288ff
MM
1079 * cplus-dem.c (type_kind_t): Add tk_reference.
1080 (demangle_template_value_parm): Handle it.
1081 (do_type): Use it for references, instead of tk_pointer.
1082
0e714131
MM
1083 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1084 not internal_cplus_demangle.
1085
2931b6d4
KG
1086Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1087
1088 * choose-temp.c: Don't include gansidecl.h.
1089 * mkstemp.c: Likewise.
1090 * pexecute.c: Likewise.
1091
dd8f3ed5
GN
1092Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1093
5194cf08
ZW
1094 * configure.in: detect cygwin* instead of cygwin32*
1095 * configure: regenerate
dd8f3ed5 1096
c5f7c445
KG
1097Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1098
1099 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1100 whether to include config.h. Possibly include unistd.h in the
1101 !IN_GCC case. Define VFORK_STRING as a printable function call
1102 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1103 defined, include vfork.h. If VMS is defined, define vfork()
1104 appropriately. Remove vfork check on USG, we're using autoconf.
1105 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1106 locally what string to use.
1107
ad3ef78e
MM
11081998-10-26 Mark Mitchell <mark@markmitchell.com>
1109
1110 * splay-tree.c: Tweak include directives to make sure declarations of
1111 xmalloc and free are available.
1112
224301c1
MM
11131998-10-25 Mark Mitchell <mark@markmitchell.com>
1114
1115 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1116 anonymous namespaces.
38beb75c 1117
d9db46fd
MM
11181998-10-23 Mark Mitchell <mark@markmitchell.com>
1119
1120 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1121 with type_quals.
1122 (TYPE_UNQUALIFIED): New macro.
1123 (TYPE_QUAL_CONST): Likewise.
1124 (TYPE_QUAL_VOLATILE): Likewise.
1125 (TYPE_QUAL_RESTRICT): Likewise.
1126 (code_for_qualifier): New function.
1127 (qualifier_string): Likewise.
1128 (demangle_qualifier): Likewise.
1129 (internal_cplus_demangle): Use them.
1130 (demangle_signature): Likewise.
1131 (demangle_template_value_parm): Likewise.
1132 (do_type): Likewise.
1133 (demangle_fund_type)): Likewise.
224301c1 1134
b056ad1c
KG
1135Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1136
1137 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1138 to match prototype.
1139
ed87f9c8
MM
11401998-10-21 Mark Mitchell <mark@markmitchell.com>
1141
1142 * splay-tree.c: New file.
1143 * Makefile.in (CFILES): Add it.
1144 (REQUIRED_OFILES): Likewise.
1145 (splay-tree.o): Add dependencies.
1146
e0c13971
AS
1147Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1148
1149 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1150 range of 'K' index.
1151
91e0f659
KG
1152Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1153
1154 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1155
1156 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1157 `unsigned char'.
1158 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1159 comparing against one.
1160 (cplus_mangle_opname): Likewise.
1161 (demangle_integral_value): Cast argument of ctype macro to
1162 `unsigned char'.
1163 (demangle_template_value_parm): Likewise.
1164 (demangle_template): Initialize variable `bindex'. Cast the
1165 result of `strlen' to (int) when comparing against one. Remove
1166 unused variable `start_of_value_parm'.
1167 (demangle_class_name): Cast the result of `strlen' to (int) when
1168 comparing against one.
1169 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1170 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1171 when comparing against one.
1172 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1173 (get_count): Likewise.
1174 (do_type): Likewise. Cast the result of `strlen' to (int) when
1175 comparing against one.
1176 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1177 (demangle_function_name): Cast the result of `strlen' to (int)
1178 when comparing against one.
1179
1180 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1181 comparing against one.
1182
73aeb2ff
JL
1183Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1184
5194cf08
ZW
1185 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1186 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1187 * config.in, configure: Rebuilt.
ae76f1be 1188
73aeb2ff
JL
1189 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1190 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1191 * config.in, configure: Rebuilt.
1192
dd8f3ed5
GN
1193Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1194
5194cf08 1195 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 1196
f77d8413
MT
1197Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1198
1199 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1200
ca6b370d
JL
1201Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1202
1203 * Merge egcs & devo libiberty.
1204
ab4856b1
ML
1205