Add missing protypes
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
16bad250
AC
12001-08-13 Andrew Cagney <ac131313@redhat.com>
2
3 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
4 name.
5
a9022147
DD
62001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
7
8 * regex.c (wcs_regex_compile): Use appropriate string
9 to compare with collating element.
10 Fix the padding for the alignment.
11
3ea71002
AC
122001-06-13 Andrew Cagney <ac131313@redhat.com>
13
14 * lbasename.c (lbasename): Change function definition to return a
15 const char pointer.
16
e7e9b069
DD
172001-08-07 Jason Merrill <jason_merrill@redhat.com>
18
19 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
20 for".
21
cc5144f8
DD
222001-08-03 Richard Henderson <rth@redhat.com>
23
24 * Makefile.in (concat.o): Depend on config.h.
25
86710ce2
DD
262001-07-30 Andreas Jaeger <aj@suse.de>
27
28 * regex.c: Declare wcs functions only if compiling with
29 MBS_SUPPORT.
30 Don't use #elif for traditional C.
31
322001-07-23 Ulrich Drepper <drepper@redhat.com>
33
34 * regex.c: Revamp memory allocation for WCHAR functions to
35 not use too much stack.
36
372001-07-30 Andreas Jaeger <aj@suse.de>
38
39 * regex.c: Declare wcs functions only if compiling with
40 MBS_SUPPORT.
41 Don't use #elif for traditional C.
42
a5d8f731
DD
432001-07-25 Daniel Jacobowitz <drow@mvista.com>
44
45 * Makefile.in (regex.o): Add dependency on config.h.
46
6ad8a379
DD
472001-07-18 Andreas Schwab <schwab@suse.de>
48
49 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
50 underscore character.
51
522001-07-18 Ulrich Drepper <drepper@redhat.com>
53
54 * regex.c: Limit string length printed in debug messages to 100
55 chars.
56
572001-07-18 Andreas Jaeger <aj@suse.de>
58
59 * regex.c: Place under LGPL version 2.1.
60
2a6ef469
DD
612001-07-10 Jeff Johnston <jjohnstn@redhat.com>
62
63 * Makefile.in: Add support for regex code.
64 * regex.c: New file.
65
7b78baae
DD
662001-07-05 Mark Klein <mklein@dis.com>
67
68 * Makefile.in: Add ffs.c dependency.
69 * configure.in: Add ffs.c.
70 * ffs.c: New file.
71
926150e2
DD
722001-06-18 Richard Henderson <rth@redhat.com>
73
74 * concat.c: Include <sys/types.h>.
75
11f6f21d
DD
762001-06-11 Loren J. Rittle <ljrittle@acm.org>
77
78 bootstrap/3106
79 * strerror.c (sys_nerr): Hide the OS header version.
80 * strsignal.c (sys_nsig): Likewise.
81
d42dae6c
DD
822001-06-10 Richard Henderson <rth@redhat.com>
83
84 * concat.c: Include string.h. Fix int vs size_t usage.
85 Simplify the iteration loops. Use memcpy.
86
e05c6d27
DD
872001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
88
89 * partition.c: Fix misspelling of `implementation'.
90
b50c4073
DD
912001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
92
93 * md5.c (md5_init_ctx): Declare constants as unsigned.
94 (md5_process_block): Likewise.
95
457161bf
DD
962001-05-07 Zack Weinberg <zackw@stanford.edu>
97
98 * cp-demangle.c (demangle_v3_with_details,
99 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
100 function definition.
101 * ternary.c: Use K+R style function definitions. Use PTR, not
102 void *. Make arguments constant where possible.
103
e00bc6a7
DD
1042001-05-07 Mark Mitchell <mark@codesourcery.com>
105
106 * splay-tree.h (splay_tree_max): New function.
107 (splay_tree_min): Likewise.
108
400ee7e1
DB
1092001-04-15 Daniel Berlin <dan@cgsoftware.com>
110
111 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
112
113 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 114
d9697354
DD
1152001-04-03 Zack Weinberg <zackw@stanford.edu>
116
117 * make-temp-file.c (try): Inline.
118
a7bf099b
DD
1192001-02-28 Richard Henderson <rth@redhat.com>
120
121 * Makefile.in (make-temp-file.o): Depend on config.h.
122
30a1def2
DD
1232001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
124
125 * memchr.c (memchr): Adjust condition to avoid infinite loop.
126
079c672a
DD
1272001-03-23 Jakub Jelinek <jakub@redhat.com>
128
129 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
130 `_' not followed by a digit is invalid.
131
a88e356a
JB
1322001-03-22 Jim Blandy <jimb@redhat.com>
133
134 * cp-demangle.c (string_list_delete): Use dyn_string_delete
135 instead of free, to free the contents as well as the string
136 structure.
137
1dffcc66
DD
1382001-03-21 Zack Weinberg <zackw@stanford.edu>
139
140 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
141 Don't default P_tmpdir to anything. Try /var/tmp before
142 /usr/tmp.
143
1442001-03-20 Zack Weinberg <zackw@stanford.edu>
145
146 * choose-temp.c: Split off make_temp_file, and the code
147 duplicated between it and choose_temp_base, into...
148 * make-temp-file.c: ... here; new file.
149
150 * Makefile.in (CFILES): Add make-temp-file.c.
151 (REQUIRED_OFILES): Add make-temp-file.o.
152
e61231f1
JB
1532001-03-20 Jim Blandy <jimb@redhat.com>
154
155 * cp-demangle.c (struct demangling_def): New fields:
156 is_constructor and is_destructor.
157 (demangling_new): Initialize them.
158 (demangle_ctor_dtor_name): Set them, if we detect a constructor
159 or destructor.
160 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
161 is_gnu_v3_mangled_dtor): New functions.
162
a9cbbe6d
DD
1632001-03-20 Jason Merrill <jason@redhat.com>
164
165 * cplus-dem.c (main): Skip initial $.
166
b1e51b3c
DD
1672001-03-15 Michael Meissner <meissner@redhat.com>
168
169 * hashtab.c (higher_prime_number): Silence warning that 4294967291
170 might be a signed integer under pre-ISO C systems.
171
8aa30e60 1722001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 173 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 174
8aa30e60
DD
175 * libiberty/lbasename.c: New file.
176 * libiberty/Makefile.in: Update for lbasename.
177
30673bf5
DD
1782001-03-06 Zack Weinberg <zackw@stanford.edu>
179
180 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
181 * configure.in: Replace all alloca logic with a simple use of
182 the above new macro.
183 * config.table: Kill *-*-beos* entry.
184 * config/mh-beos: Delete.
185 * configure, config.in: Regenerate.
fa03f0a7 186
30673bf5
DD
187 * Makefile.in (ALLOCA, HFILES): Kill.
188 (REQUIRED_OFILES): Add alloca.o.
189 (alloca.o): Depend on libiberty.h.
190 (argv.o): Don't depend on alloca-conf.h.
191 * alloca-conf.h: Delete.
192 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
193 blocks. Provide the C alloca unconditionally. Use PTR where
194 appropriate. Make i00afunc static.
195 * argv.c: Don't include alloca-conf.h.
fa03f0a7 196
5810f394
DD
1972001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
198
199 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 200
a9db032a
DD
2012001-02-16 Loren J. Rittle <ljrittle@acm.org>
202
203 * cplus-dem.c (main): Initialize style.
fa03f0a7 204
bc9bf259
DD
2052001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
206
207 Add support for Java demangling under the v3 ABI:
208 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
209 (struct demangling_def): Add `style' field.
210 (demangling_new): New parameter `style'. Set it in demangling_t.
211 (demangle_prefix): Use NAMESPACE_SEPARATOR.
212 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
213 (cp_demangle): New parameter `style'. Pass it to demangling_new().
214 (main): Call cp_demangle with extra parameter.
215 (java_demangle_v3): New function.
216 (java_builtin_type_names): New. Table of primitive type names used
217 for Java demangling.
218 (demangle_builtin_type): Look up in java_builtin_type_names if doing
219 Java output.
220 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
221 demangling.
222 (long_options): Remove obsolete `java' option.
223 (main): Remove explicit handling of `java' option. Instead, pass style
224 parameter in cplus_demangle flags as gdb does.
225 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 226
bc9bf259
DD
2272001-01-29 Phil Edwards <pme@sources.redhat.com>
228
229 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
fa03f0a7 230
f6528837
DD
2312000-12-29 DJ Delorie <dj@redhat.com>
232
233 * fnmatch.c: Make the note about the origins of this file more
234 accurate, at least until we can sync with glibc.
235 * getopt.c: Ditto.
236 * getopt1.c: Ditto.
237 * md5.c: Ditto.
238 * obstack.c: Ditto.
9d969b59 239
c6da642e
DD
2402000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
241
242 * bsearch.c: New file.
243 * configure.in (funcs): Add bsearch.
244 (AC_CHECK_FUNCS): Likewise.
245 * configure, config.in: Regenerate.
246
ae7d06ad 2472000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
248
249 * safe-ctype.c: #include "ansidecl.h".
250 * strtod.c: Likewise.
251
ae7d06ad 2522000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
253
254 * strtoul.c: Include safe-ctype.h, not ctype.h.
255
ac424eb3
DD
2562000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
257
258 * safe-ctype.c: New file.
259 * Makefile.in (CFILES): Add safe-ctype.c.
260 (REQUIRED_OFILES): Add safe-ctype.o.
261
262 * argv.c: Define ISBLANK and use it, not isspace.
263 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
264 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
265 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
266 before calling TOLOWER(c)/TOUPPER(c).
267
4415a860
DD
2682000-12-07 Mike Stump <mrs@wrs.com>
269
270 * Makefile.in (distclean): When cleaning, remove testsuite.
271
849ee224
DD
2722000-12-05 Jason Merrill <jason@redhat.com>
273
274 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
275 name before allocating the dyn_string.
276
ae7d06ad 2772000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
278
279 * cp-demangle.c: s/new_abi/v3/.
280 * cplus-dem.c: Likewise.
281 (current_demangling_style): Now auto_demangling.
282 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 283 (main): Use standard symbol chars for auto_demangling.
e49a569c 284
ae7d06ad 2852000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
286
287 * hashtab.c (higher_prime_number): Use a table, rather than a
288 seive, to find the next prime.
ae7d06ad
NC
289
2902000-11-22 H.J. Lu <hjl@gnu.org>
291
292 * cplus-dem.c (main): Handle gnat_demangling.
293
2942000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
295
296 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
297 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
298 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
299 argument form of AC_DEFINE in dummy definitions block. Use
300 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
301 in dummy block. Preload cache variables instead of bypassing
302 tests, where possible.
303 * acconfig.h: Removed.
ae7d06ad 304
2ea7befd
DD
305 * xmalloc.c (xmalloc_failed): New function, does error
306 reporting on failed allocation.
307 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 308
f1775526
HPN
3092000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
310
311 * cplus-dem.c (cplus_demangle): Fix formatting.
312 (grow_vect): Ditto.
313 (ada_demangle): Ditto.
314 (internal_cplus_demangle): Ditto.
315 (mop_up): Ditto.
316
3172000-11-21 H.J. Lu <hjl@gnu.org>
318
319 * cplus-dem.c (main): Handle java_demangling.
320
ae7d06ad 3212000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
322
323 * cplus-dem.c (grow_vect): Prototype.
324 (ada_demangle): Cast the arg of ctype macros to unsigned char.
325
5dd42ef4
HPN
3262000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
327
328 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
329 parameter `option'.
330
296731c1
DD
3312000-11-15 Kenneth Block <kenneth.block@compaq.com>
332
8944fb9d 333 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
334 be used in GCC.
335
6e53a714 3362000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 337
5dd42ef4 338 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
339 list.
340
99a4c1bd
HPN
3412000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
342
343 * hashtab.c (htab_expand): Change to return int. Use calloc or
344 xcalloc depending on htab->return_allocation_failure. Return zero
345 if calloc fails.
346 (htab_create): Update comment to cover memory allocation.
347 (htab_try_create): New.
348 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
349 Update comment to cover this.
350
e0f3df8f
HPN
3512000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
352
353 * hashtab.c: Change void * to PTR where necessary.
354 (htab_create, htab_expand): Correct formatting of comment before
355 function.
356
ae7d06ad 3572000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
358
359 * cp-demangle.c (string_list_def): Add caret_position and comments.
360 (result_caret_pos): New macro.
361 (result_append_string): Rename to...
362 (result_add_string): ... this, and insert at caret position.
ae7d06ad 363 Rename throughout.
59666b35
DD
364 (result_append): Rename to...
365 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 366 throughout.
59666b35
DD
367 (result_append_char): Rename to...
368 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 369 throughout.
59666b35
DD
370 (result_append_space): Remove.
371 (string_list_new): Initialize caret position.
372 (result_add_separated_char): Use caret position.
373 (result_get_caret): New funtion.
374 (result_set_caret): Likewise.
375 (result_shift_caret): Likewise.
376 (result_previous_char_is_space): Likewise.
377 (substitution_start): Use caret position.
378 (substitution_add): Likewise.
379 (demangling_new): Initialize caret position.
380 (demangle_encoding): Use caret position.
ae7d06ad 381 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
382 (demangle_type_ptr): Use switch statement. Handle pointers to
383 arrays. Don't use result_append_space. Use caret position.
384 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
385 call to demangle_array_type.
386 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 387
ae7d06ad 3882000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
389
390 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
391
3922000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
393
394 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
395
3962000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
397
398 * splay-tree.c: #include <stdio.h>.
399
4002000-09-14 Hans-Peter Nilsson <hp@axis.com>
401
402 * testsuite/demangle-expected: Add two tests for anonymous
403 namespaces.
404 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
405
4062000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
407
408 * splay-tree.c (splay_tree_predecessor): New function.
409 (splay_tree_successor): Likewise.
ae7d06ad
NC
410
4112000-09-10 Hans-Peter Nilsson <hp@axis.com>
412
413 * testsuite/demangle-expected: Add four tests for type_info
414 mangling.
415 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
416 for a non-template non-qualified type_info function or node.
417
4182000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
419
420 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
421
4222000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
423
424 * md5.c: #include "ansidecl.h".
425
4262000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
427
428 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
429 (demangle_type): Handle substitution candidates correctly in the
430 face of special substitutions.
ae7d06ad
NC
431
4322000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
433
434 * cp-demangle.c (demangle_encoding): Rename variable.
435 (demangle_name): Rename parameter. Handle return type
436 suppression.
437 (demangle_nested_name): Rename parameter.
438 (demangle_prefix): Likewise. Change return type suppression.
439 (demangle_unqualified_name): Add parameter. Flag constructors and
440 conversion operators.
441 (demangle_special_name): Fix comment.
442 (demangle_type): Rename variable.
443 (demangle_bare_function_type): Check for missing return type and
444 parameter.
445 (demangle_class_enum_type): Rename parameter.
446 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
447
4482000-08-31 DJ Delorie <dj@redhat.com>
449
450 * configure.in (Cygwin): special case cygwin only when we're
451 building cygwin, not when we're hosting cygwin.
452
4532000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
454
455 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
456 <expression>.
ae7d06ad
NC
457
4582000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
459
460 * cp-demangle.c (demangle_type_ptr): Increment position past
461 pointer and reference characters.
ae7d06ad
NC
462
4632000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
464
465 * cp-demangle.c (demangle_nv_offset): New function.
466 (demangle_v_offset): Likewise.
467 (demangle_call_offset): Likewise.
468 (demangle_special_name): Update thunk demangling to comply with
469 ABI changes.
ae7d06ad
NC
470
4712000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
472
473 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
474 (substitution_def): Remove template_parm_number.
475 (NOT_TEMPLATE_PARM): Remove.
476 (result_insert_string): New macro.
477 (result_insert): Likewise.
478 (result_insert_char): Likewise.
479 (substitution_add): Remove last parameter. Don't store template
480 parm number.
481 (BFT_NO_RETURN_TYPE): Define as NULL.
482 (demangle_encoding): Adjust call to demangle_bare_function_type.
483 (demangle_name): Adjust substitution. Adjust call to
484 substitution_add.
485 (demangle_prefix): Adjust call to substitution_add.
486 (demangle_identifier): Handle anonymous namespaces.
487 (demangle_operator_name): Change demangling of vendor-extended
488 operator to match ABI changes.
489 (demangle_type_ptr): Change parameters. Make recursive. Handle
490 substitutions here.
491 (demangle_type): Adjust calls to demangle_template_param,
492 substitution_add, and demangle_type_ptr. Fix substitution of
493 templated types.
494 (demangle_function_type): Change parameter to a pointer.
495 (demangle_bare_function_type): Likewise. Adjust insertion point.
496 (demangle_template_param): Remove last parameter.
497 (demangle_expr_primary): Remove unused variable. Adjust call to
498 demangle_template_param.
499 (is_mangled_char): Accept `$' and `.'.
500 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
501 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
502
5032000-08-31 Hans-Peter Nilsson <hp@axis.com>
504
505 * testsuite/demangle-expected: Add nine tests for
506 underscore-after-number followed by five tests for name-signature
507 delimiter.
508
5092000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
510
511 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
512
5132000-08-28 Jason Merrill <jason@redhat.com>
514
515 * Makefile.in (REQUIRED_OFILES): Add md5.o.
516 (CFILES): Add md5.c.
517 * md5.c: New file.
518
5192000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
520
521 * cp-demangle.c (demangle_name): Initialize template_p in local
522 name case. Don't re-add substitutions as candidates.
523 (demangle_nested_name): Use <unqualified-name>.
524 (demangle_prefix): Likewise. Don't add template names as
525 substitution candidates twice, or re-add a substitution or the
526 last prefix component.
527 (demangle_local_name): Adjust output format.
ae7d06ad
NC
528
5292000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
530
531 * cp-demangle.c (result_add_separated_char): Change parameter to
532 int.
533 (substitution_add): Don't check for duplicates. Check if
534 previously allocated size is zero.
535 (demangle_name): Remove duplicate check for std substitution.
536 Clear template flag appropriately.
537 (demangle_prefix): Remove argument to demangle_substitution.
538 Don't check that template flag is already set.
539 (demangle_operator_name): Add pt operator.
540 (demangle_type): Don't treat r as built-in type. Remove argument
541 to demangle_substitution. Fix substitution candidate mechanics.
542 Handle <template-template-parm>s. Improve comments.
543 (demangle_template_param): Don't handle template arg lists here.
544 (demangle_substitution): Remove parameter.
545 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
546
5472000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
548
549 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
550
5512000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
552
553 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
554 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
555 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
556
5572000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
558
559 * cp-demangle.c (result_close_template_list): Remove function.
560 (result_add_separated_char): New function.
561 (result_open_template_list): New macro.
562 (result_close_template_list): Likewise.
563 (demangle_prefix): Don't set template_p if the
564 prefix ends with a ctor name.
565 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
566 (demangle_type): Check for template args after substitution.
567 (demangle_template_args): Use result_open_template_list.
d3e85005 568
ae7d06ad 5692000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 570
ae7d06ad 571 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 572
ae7d06ad 5732000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
574
575 * config/mh-openedition.h: Added -DLE370 definition.
576
a9f34fb6
JL
5772000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
578
579 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
580 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
581 Cast program to 'char *' in errmsg_arg assignment.
582 (PWAIT_ERROR): Define.
583 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
584 to DJGPP's WIF* macros.
585
90aaccd1 5862000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 587 Jeff Law <law@cygnus.com>
90aaccd1 588
ae7d06ad 589 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 590
90aaccd1 591 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
592 * rename.c: Include config.h, unistd.h
593 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 594
6ef554e3
HPN
5952000-07-24 Hans-Peter Nilsson <hp@axis.com>
596
597 * cplus-dem.c (work_stuff_copy_to_from): New.
598 (delete_non_B_K_work_stuff): New.
599 (delete_work_stuff): New.
600 (mop_up): Break out work_stuff partly destruction to
601 delete_non_B_K_work_stuff.
602 (iterate_demangle_function): New.
603 (demangle_prefix): Call iterate_demangle_function instead of
604 demangle_function_name. Leave handling of name-signature
605 __-delimiters to iterate_demangle_function.
606 (demangle_integral_value): Strip an optional
607 following underscore cautiously. Handle negative numbers.
608
ae7d06ad 6092000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 610
ae7d06ad 611 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
612 if (AUTO_DEMANGLING || GNU_DEMANGLING)
613
ae7d06ad
NC
6142000-07-21 Alex Samuel <samuel@codesourcery.com>
615
616 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
617 allocating ctor mangling.
618 (demangle_array_type): Handle empty and non-constant array length.
619
b1233257 6202000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
621 Jeff Law <law@cygnus.com>
622
623 * configure.in (AC_CHECK_HEADERS): Add time.h.
624 (AC_HEADER_TIME): Add check.
625 * configure, config.in: Regenerate.
626 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
627
628 * configure.in (AC_CHECK_HEADERS): Add limits.h.
629 * configure, config.in: Regenerate.
630 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
631 * strtol.c, strtoul.c: #include "config.h". Portably #include
632 <limits.h> and/or <sys/param.h>.
633 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 634
7d3ffcaf
JL
635 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
636 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
637 * configure, config.in: Regenerate.
638 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
639
b1233257
JL
640 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
641
ae7d06ad
NC
6422000-07-21 Mike Stump <mrs@wrs.com>
643
644 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
645 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
646
6472000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
648
649 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
650
651 * setenv.c (setenv): Initialize variable `ep'.
652
653 * sigsetmask.c (abort): Prototype.
654
655 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
656 __STDC__ for stdarg.h include.
657 (int_vasprintf): Prototype.
658 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
659 definition. Cast `global_total_width' in comparison.
660 (main): Prototype. Return a value.
661
662 * vfork.c (fork): Prototype.
663
664 * xexit.c: Include config.h.
665
9adf30b2
JL
6662000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
667
668 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
669 and print it with %u.
670
2ed78d1b
HPN
6712000-07-17 Hans-Peter Nilsson <hp@axis.com>
672
673 * testsuite/regress-demangle (failed test): Show result and
674 expected output.
675
0473bdf7
AH
6762000-07-07 Andrew Haley <aph@cygnus.com>
677
678 * cplus-dem.c (main): fflush() after emitting last char before
679 waiting for input.
680
03d5f569
JM
6812000-06-28 Alex Samuel <samuel@codesourcery.com>
682
683 * cp-demangle.c (demangle_encoding): Accept no substitutions.
684 (demangle_name): Handle <substitution> followed by
685 <unqualified-template-name>.
686 (demangle_type): Follow special substitutions with
687 <class-enum-type>
688 (demangle_subtitution): Set template_p for special substitutions.
689 (main): Fix typos.
ae7d06ad 690
03d5f569
JM
6912000-06-27 Alex Samuel <samuel@codesourcery.com>
692
693 * cp-demangle.c (demangle_special_name): Swap base and derived
694 class when demangling construction vtables.
695
6962000-06-21 Alex Samuel <samuel@codesourcery.com>
697
698 * cp-demangle.c: Don't include ctype.h.
699 (IS_DIGIT): New macro.
700 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
701 instead of isdigit and isalpanum.
702 (demangling_def): Make name and next const pointers.
703 (STATUS_ALLOCATION_FAILED): New status code.
704 (dyn_string_append_space): Handle failure in
705 dyn_string_append_char.
706 (int_to_dyn_string): Likewise. Change return value to status_t.
707 (string_list_new): Handle failure of dyn_string_init.
708 (result_close_template_list): Change return type to status_t.
709 Handle failure in dyn_string_append.
710 (result_push): Change return value to status_t. Handle failure in
711 string_list_new. Handle failure of result_push throughout.
712 (substitution_add): Change return value to status_t. Handle
713 dyn_string failures. Handle failure of substitution_add
714 throughout.
715 (template_arg_list_new): Return NULL on allocation failure.
716 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
717 Handle error result throughout.
718 (result_append): Likewise.
719 (result_append_char): Likewise.
720 (result_append_space): Likewise.
721 (demangling_new): Make argument a const pointer. Handle
722 allocation failures.
723 (demangle_template_args): Handle failure in template_arg_list_new
724 and result_close_template_list.
725 (demangle_discriminator): Return if int_to_dyn_string fails.
726 (cp_demangle): Likewise.
727 (cp_demangle_type): New function.
728 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
729 memory allocation failure.
730 (main): Likewise.
731 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
732 IN_LIBGCC2.
733 (dyn_string_init): Change return value to int. Handle
734 RETURN_ON_ALLOCATION_FAILURE case.
735 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
736 (dyn_string_release): Delete the dyn_string.
737 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
738 (dyn_string_copy): Change return type to int.
739 (dyn_string_copy_cstr): Likewise.
740 (dyn_string_prepend): Likewise.
741 (dyn_string_prepend_cstr): Likewise.
742 (dyn_string_insert): Likewise.
743 (dyn_string_insert_cstr): Likewise.
744 (dyn_string_append): Likewise.
745 (dyn_string_append_cstr): Likewise.
746 (dyn_string_append_char): Likewise.
747 (dyn_string_substring): Likewise.
ae7d06ad 748
eb383413 7492000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 750
eb383413
L
751 * cp-demangle.c (demangle_operator_name): Add spaces before
752 names beginning with a letter: delete, delete[], new, new[],
753 sizeof.
754 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 755
eb383413
L
756Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
757
758 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
759
760Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
761
762 * cp-demangle.c (stdio.h): File included unconditionaly.
763 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
764 * dyn-string.c (stdio.h): File included.
765 * partition.c (partition_print): No `&' needed to take the address of
766 a function.
767
7682000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
769
770 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 771
eb383413
L
772 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
773
774 * cp-demangle.c (demangle_char): Change parameter from char to int.
775 (demangle_expression, demangle_expr_primary): Remove extra
776 semi-colon in prototype.
777
778 * dyn-string.c (dyn_string_append_char): Change parameter from
779 char to int.
780
781 * memcmp.c (memcmp): Constify.
782
783 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
784 __extension__.
785
786 * partition.c (elem_compare): Prototype. Don't cast away
787 const-ness.
788
789 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 790
eb383413
L
7912000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
792
793 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
794
795 * cp-demangle.c: Include demangle.h.
796 (template_arg_list_new): DeANSIfy.
797 (cp_demangle): Make static and add prototype.
798 (operator_code, operators): Constify.
799 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
800
8012000-06-05 Alex Samuel <samuel@codesourcery.com>
802
803 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
804 unsigned char.
805 (demangle_unqualified_name): Likewise.
806 (demangle_number_literally): Likewise.
807 (demangle_type): Likewise.
808 (demangle_substitution): Likewise.
809 (is_mangled_char): Likewise, for isalnum.
810
8112000-06-04 Alex Samuel <samuel@codesourcery.com>
812
813 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
814 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
815 (cp-demangle.o): New dependency.
816 (dyn-string.o): Likewise.
817
818 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
819
820 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
821 demangler.
822 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
823 demangling mode.
824 (gnu_new_abi_symbol_characters): New function.
825 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
826 file.
827 * cp-demangle.c: New file.
ae7d06ad 828
f03aa80d
AC
829Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
830
831 * floatformat.c: Add name to each floatformat field.
832
77bfb694
JL
833Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
834
835 * Makefile.in (objalloc.o): Depend on config.h
836
5c82d20a
ZW
8372000-05-29 Zack Weinberg <zack@wolery.cumb.org>
838
eb383413 839 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
840 if HAVE_STRING_H.
841 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
842 * objalloc.c: Include config.h. Include stdlib.h and don't
843 declare malloc or free if HAVE_STDLIB_H.
844 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
845 else declare malloc without prototype. Include string.h if
846 HAVE_STRING_H, else declare memset without prototype. Don't
847 include stddef.h.
848
eb383413
L
8492000-05-23 Mike Stump <mrs@wrs.com>
850
851 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
852 -j3.
853
8542000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
855
856 * xmalloc.c: Include config.h for HAVE_SBRK definition.
857
8582000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
859
ae7d06ad 860 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
861 probably zero, also eliminate a warning on alpha.
862
8632000-05-15 David Edelsohn <edelsohn@gnu.org>
864
865 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
866 on $(enable_shared).
867
8682000-05-10 Jakub Jelinek <jakub@redhat.com>
869
870 * config.table: Use mh-sparcpic for sparc*-*-*.
871
8722000-05-08 Nick Clifton <nickc@cygnus.com>
873
874 * Makefile.in (CFILES): Add strncmp.c.
875 (NEEDED): Add strncmp.
876
8772000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 878
eb383413
L
879 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
880 Cast the arguments to `islower' to `unsigned char'.
881 (print_demangler_list): Prototype.
882
883Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
884
885 * sort.c (UCHAR_MAX): Provide fallback definition.
886
8872000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
888
889 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
890 SUBDIRS.
891
eb383413
L
8922000-04-28 Kenneth Block <block@zk3.dec.com>
893 Jason Merrill <jason@casey.cygnus.com>
894
ae7d06ad
NC
895 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
896 (cplus_demangle_set_style): New function for setting style.
897 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
898
8992000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
900
901 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
902
903 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
904 (libiberty_AC_FUNC_STRNCMP): Invoke.
905
906 * strncmp.c: New file.
907
908Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
909
910 * hashtab.c (htab_expand): Add prototype.
911 (find_empty_slot_for_expand): Likewise.
912
9132000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
914
915 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
916 match prototype.
917 (htab_expand): Cast the return value of xcalloc.
918
9192000-04-24 Mark Mitchell <mark@codesourcery.com>
920
921 * hashtab.c (hash_pointer): New function.
922 (eq_pointer): Likewise.
923 (htab_hash_pointer): New variable.
924 (htab_eq_pointer): Likewise.
925
9262000-04-23 Mark Mitchell <mark@codesourcery.com>
927
928 * sort.c (sort_pointers): Fix endianness bugs.
929
930 * sort.c: New file.
931 * Makefile.in (CFILES): Add sort.c
932 (REQUIRED_OFILES): Add sort.o.
933 (sort.o): New target.
934
19be4303
JL
9352000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
936
937 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
938 4.3BSD systems.
939
eb383413
L
940Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
941
942 * hashtab.c: Various minor cleanups.
943 (htab_find_slot_with_hash): INSERT is now enum insert_option.
944 (htab_find_slot): Likewise.
945
9462000-04-16 Dave Pitts <dpitts@cozx.com>
947
948 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 949
afe36a78
RH
9502000-04-05 Richard Henderson <rth@cygnus.com>
951
952 * splay-tree.c (splay_tree_remove): New.
953
eb383413
L
9542000-03-30 Mark Mitchell <mark@codesourcery.com>
955
956 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
957 codes.
958 (htab_find_with_hash): Likewise.
959 (htab_find_slot_with_hash): Likewise.
ae7d06ad 960
eb383413
L
9612000-03-29 Zack Weinberg <zack@wolery.cumb.org>
962
963 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
964 unless it will be used. Rearrange loop for better
965 optimization.
966 (higher_prime_number): Add static prototype.
967
b4fe2683
JM
968Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
969
970 * Makefile.in (partition.o): Depend on config.h
971
9722000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
973
974 * hashtab.c (find_empty_slot_for_expand): New function.
975 (htab_expand): Use it instead of htab_find_slot.
976 (htab_find_with_hash): Renamed from htab_find; now accepts extra
977 argument HASH.
978 (htab_find_slot_with_hash): Likewise for htab_find_slot.
979 (htab_find): New wrapper function.
980 (htab_find_slot): Likewise.
981 (htab_traverse): Pass slot, not entry, to called function.
982
9832000-03-09 Alex Samuel <samuel@codesourcery.com>
984
985 * Makefile.in (CFILES): Add partition.c.
986 (REQUIRED_OFILES): Add partition.o.
987 (partition.o): New rule.
988 * partition.c: New file.
ae7d06ad 989
b4fe2683
JM
9902000-03-09 Zack Weinberg <zack@wolery.cumb.org>
991
992 * hashtab.c (htab_create): Set del_f.
993 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
994 Use it.
995
9962000-03-08 Zack Weinberg <zack@wolery.cumb.org>
997
998 * hashtab.c: Remove debugging variables (all_searches,
999 all_collisions, all_expansions). Delete
1000 all_hash_table_collisions.
1001 (create_hash_table, delete_hash_table, empty_hash_table,
1002 find_hash_table_entry, remove_element_from_hash_table_entry,
1003 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1004 hash_table_elements_number, hash_table_collisions): Rename to:
1005 htab_create, htab_delete, htab_empty, htab_find_slot,
1006 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1007 htab_elements, htab_collisions.
1008 (htab_find): New function, handles common case where you don't
1009 plan to add or delete an entry.
1010 (htab_expand): Don't create a whole new table, just a new
1011 entry vector.
1012 (htab_find_slot): Simplify logic.
1013
08372f14
ILT
10141999-08-03 Ian Lance Taylor <ian@zembu.com>
1015
1016 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1017 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1018
1019 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1020 $(TARGETLIB)n so it works on MSDOS.
1021 (install_to_tooldir): Likewise.
1022
9c8ac5a9
ILT
10231999-07-21 Ian Lance Taylor <ian@zembu.com>
1024
1025 From Mark Elbrecht:
1026 * makefile.dos: Remove; obsolete.
8f36e47c 1027 * configure.bat: Remove; obsolete.
9c8ac5a9 1028
0c0a36a4
ILT
10291999-07-11 Ian Lance Taylor <ian@zembu.com>
1030
1031 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1032 warning.
1033
10342000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1035
1036 * pexecute.c: Conditionally include string.h.
b4fe2683 1037 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1038
10392000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1040
1041 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1042 we're using gcc.
1043
1044 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1045
10461999-12-27 Geoff Keating <geoffk@cygnus.com>
1047
1048 * vasprintf.c (int_vasprintf): Don't re-read the format character
1049 as this mishandles strings like '%%s'.
1050
10511999-12-05 Mark Mitchell <mark@codesourcery.com>
1052
1053 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1054 rather than struct splay_tree_node.
1055 (splay_tree_insert): Use struct splay_tree_s rather than struct
1056 splay_tree.
1057
1058Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1059
1060 * hashtab.c (sys/types.h): File included.
1061
10621999-11-22 Jason Merrill <jason@casey.cygnus.com>
1063
1064 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1065 BSD license, pursuant with
1066
1067 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1068
1069Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1070
1071 * hashtab.c: Include stdio.h.
1072
1073Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1074
1075 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1076
1077Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1078
1079 * xstrdup (sys/types.h): Include this file.
1080
10811999-10-28 Nathan Sidwell <nathan@acm.org>
1082
1083 * Makefile.in (SUBDIRS): New macro.
1084 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1085 avoid multiple subdirectory cleaning.
1086 (*-subdir): Use SUBDIRS.
1087
10881999-10-25 Jim Kingdon <http://developer.redhat.com/>
1089
1090 * cplus-dem.c: Move declarations of standard_symbol_characters and
1091 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1092 warnings.
1093
10941999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1095
1096 * hashtab.c (find_hash_table_entry): When returning a
1097 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1098 (clear_hash_table_slot): New function which deletes an entry
1099 by its position in the table, not its value.
1100 (traverse_hash_table): New function which calls a hook
1101 function for every live entry in the table.
1102
11031999-10-19 Mark Mitchell <mark@codesourcery.com>
1104
1105 * cplus-dem.c (INTBUF_SIZE): New macro.
1106 (string_append_template_idx): New function.
1107 (demangle_expression): Likewise.
1108 (demangle_integral_value): Use it.
1109 (demangle_real_value): New function, split out from ...
1110 (demangle_template_value_parm): ... here. Use
1111 string_append_template_idx. Use demangle_real_value.
1112 (demangle_template): Use string_append_template_idx.
1113 (demangle_qualified): Use consume_count_with_underscores.
1114 (get_count): Tweak formatting.
1115 (do_type): Use string_append_template_idx.
b4fe2683 1116
0c0a36a4
ILT
11171999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1118
1119 * calloc.c: Add a public domain notice.
1120
1121Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1122
1123 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1124
1125Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1126
1127 * Makefile.in (CFILES): Add hashtab.c
1128 (REQUIRED_OFILES): Add hashtab.o
1129 (hashtab.o): Add dependencies.
1130 * hashtab.c: New file
1131
1132Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1133
1134 * basename.c (DIR_SEPARATOR): New macro.
1135 (DIR_SEPARATOR_2): Likewise.
1136 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1137 (IS_DIR_SEPARATOR): Likewise.
1138 (main): Handle MSDOS style pathname.
1139
11401999-10-11 Mark Mitchell <mark@codesourcery.com>
1141
1142 * cplus-dem.c (do_type): Handle pointer to member types whose
1143 enclosing classes have namespace scope.
1144
1145Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1146
1147 * config.table: Provide a backup shell for executing move-if-change.
1148
11491999-10-02 Mark Mitchell <mark@codesourcery.com>
1150
1151 * xmalloc.c (xmalloc): Fix spelling error.
1152 (xcalloc, xrealloc): Likewise.
1153
11541999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1155
1156 * cplus-dem.c (fancy_abort, demangle_integral_value,
1157 demangle_arm_hp_template, recursively_demangle,
1158 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1159 (program_name, program_version, fatal): Constify a char*.
1160 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1161 (main): Call return, not exit.
1162
11631999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1164
1165 * choose-temp.c: Remove obsolete comment about gcc.
1166 (make_temp_file): Constify a char*.
1167
1168Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1169
1170 * xmemdup.c: Include sys/types.h.
1171
11721999-09-07 Jeff Garzik <jgarzik@pobox.com>
1173
1174 * xmemdup.c: New xmemdup function.
1175 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1176
1177Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1178
b4fe2683 1179 * config.table: Add openedition target.
0c0a36a4
ILT
1180 * config/mh-openedition: New file.
1181
1182Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1183
1184 * pexecute.c (pexecute): Fill in temp_base when needed.
1185
11861999-08-31 Richard Henderson <rth@cygnus.com>
1187
1188 * getpwd.c: Check HAVE_GETCWD before defining it away.
1189
11901999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1191
1192 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1193 (REQUIRED_OFILES): Add getpwd.o.
1194 (getpwd.o): Add target.
1195
1196 * configure.in (AC_PREREQ): Bump to 2.13.
1197 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1198
1199 * getpwd.c: New file, moved here from gcc.
1200
12011999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1202
1203 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1204 comparing against a signed quantity.
1205 (arm_special): Likewise.
1206 (demangle_fund_type): Likewise.
1207 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1208 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1209 (main): Constify variable `valid_symbols'.
1210
1211Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1212
1213 * strtoul.c (strtoul): Add parentheses around && within ||.
1214
1215Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1216
1217 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1218 libdir, libsubdir and tooldir.
1219
12201999-08-01 Mark Mitchell <mark@codesourcery.com>
1221
1222 * splay-tree.c (splay_tree_insert): Return the new node.
1223
35ca97ea
RH
12241999-07-14 Richard Henderson <rth@cygnus.com>
1225
b4fe2683 1226 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1227 prototyping directly.
1228 * choose-temp.c: Conditionally include string.h.
1229
0c0a36a4
ILT
12301999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1231
1232 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1233
af32ff69
ILT
12341999-07-11 Ian Lance Taylor <ian@zembu.com>
1235
1236 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1237 warning.
1238
0c0a36a4
ILT
12391999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1240
1241 * Makefile.in (needed-list): Only include stuff we actually need
1242 for libstdc++.
1243
12441999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1245
1246 * configure.in (checkfuncs): Add gettimeofday.
1247 * config.in, configure: Regenerated.
1248
1249Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1250
1251 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1252 the test fails.
1253 * configure: Regenerate.
1254
12551999-06-10 Mike Stump <mrs@wrs.com>
1256
1257 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1258 parallel builds.
1259
12601999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1261
1262 * putenv.c: Include ansidecl.h to define `const'.
1263 * setenv.c: Likewise.
1264
1265Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1266
1267 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1268 * configure.in (funcs): Add putenv and setenv.
1269 (AC_CHECK_FUNCS): Check for putenv and setenv.
1270 * configure: Rebuilt.
1271 * putenv.c setenv.c: New files.
1272
1273 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1274 bytes of space using malloc.
1275
1276Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1277
1278 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1279 the *mangled pointer beyond the end of the string. Clean up code to
1280 match prevailing coding style.
1281
12821999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1283
1284 * tmpnam.c (L_tmpnam): Fix typo.
1285
1286Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1287
1288 * cplus-dem.c (standard_symbol_characters): Renamed from
1289 standard_symbol_alphabet. No longer modify TABLE.
1290 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1291 modify TABLE.
1292 (main): Corresponding changes. Use strchr to determine if a
1293 character is valid.
1294
e9868447
JB
12951999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1296
1297 * cplus-dem.c (main): Use table lookup to distinguish identifier
1298 characters from non-identifier characters.
1299 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1300
33fbbfbc
RH
1301Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1302
1303 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1304 * getruntime.c: Only attempt to include sys/resource.h and
1305 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1306 are defined.
1307
0c0a36a4
ILT
1308Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1309
1310 * configure.in (alloca detection): Handle alloca directly for interix.
1311 * configure: Rebuilt.
1312
1313Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1314
1315 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1316
252b5132
RH
13171999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1318
1319 Fix from Dale Hawkins:
b4fe2683 1320 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1321 reallocated properly if we use it again.
1322
1323 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1324 stricter about syntax. Always null-terminate string.
1325
c1687039
ILT
1326Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1327
1328 * configure.in (checkfuncs): Check for sbrk.
1329 * config.in: Rebuilt.
1330 * configure: Likewise.
1331 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1332
0c0a36a4
ILT
13331999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1334
1335 Fix from Marcus Daniels:
1336 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1337 identifier looking for another underscore.
1338
1339Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1340
1341 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1342 * xmalloc.c: Likewise.
1343 (xcalloc): UWIN has sbrk.
1344 (xrealloc): Fix guard macro.
1345
252b5132
RH
13461999-04-11 Richard Henderson <rth@cygnus.com>
1347
1348 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1349 or <alloca.h>.
1350 * clock.c (GNU_HZ): New definition.
1351 (clock): Use it.
1352 * getruntime.c: Likewise.
1353
1354 * config.table: Use mh-beos.
1355 * config/mh-beos: New file.
1356
0c0a36a4
ILT
13571999-04-11 Mark Mitchell <mark@codesourcery.com>
1358
1359 * cplus-dem.c (demangle_template_value_parm): Handle
1360 pointers-to-members.
1361 (do_type): Handle template parameters as qualifiers.
1362
252b5132
RH
13631999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1364
1365 * cplus-dem.c: Attempt to handle overflows in counts with some
1366 semblance of grace.
1367 (consume_count): Detect overflows. Return -1 to indicate errors,
1368 instead of zero.
1369 (demangle_template_value_parm, demangle_template): Handle change
1370 to consume_count's return convention.
1371
0c0a36a4
ILT
13721999-04-05 Tom Tromey <tromey@cygnus.com>
1373
1374 * testsuite/regress-demangle: New file.
1375 * testsuite/demangle-expected: New file.
252b5132 1376
0c0a36a4
ILT
1377 * Makefile.in (all, check, installcheck, info, install-info,
1378 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1379 distclean, maintainer-clean, realclean): Depend on corresponding
1380 `-subdir' target.
1381 (all-subdir check-subdir installcheck-subdir info-subdir
1382 install-info-subdir clean-info-subdir dvi-subdir
1383 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1384 distclean-subdir maintainer-clean-subdir): New target.
1385 * testsuite/Makefile.in: New file.
1386 * configure: Rebuilt.
1387 * configure.in: Create testsuite/Makefile.
252b5132
RH
1388
13891999-04-02 Mark Mitchell <mark@codesourcery.com>
1390
1391 * splay-tree.h (splay_tree_compare_pointers): Define.
1392
13931999-03-30 Mark Mitchell <mark@codesourcery.com>
1394
1395 * splay-tree.c (splay_tree_compare_ints): Define.
1396
13971999-03-30 Tom Tromey <tromey@cygnus.com>
1398
1399 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1400 don't advance input pointer.
1401 (demangle_class_name): If consume_count didn't find a count, do
1402 nothing. Don't bother with `strlen' sanity check; consume_count
1403 does it for us.
1404
14051999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1406
1407 From Art Haas <ahaas@neosoft.com>:
1408 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1409 when doing arm or hp style.
1410 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1411
252b5132
RH
1412Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1413
1414 * pexecute.c (__CYGWIN32__): Rename to
1415 (__CYGWIN__): this.
1416 * xmalloc.c: Likewise.
1417
1418 Changes to support i386-pc-uwin.
1419 * configure.in (*-*-uwin*): Workaround for vfork bug.
1420 * configure: Regenerate.
1421 * pexecute.c (pexecute): Be like standard Unix.
1422 (pwait): Likewise.
1423 * xmalloc.c (first_break): Define.
1424 (xmalloc_set_program_name): Use.
1425 (xmalloc): Use.
1426
1427Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1428
1429 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1430
1431Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1432
1433 * config.table: Check cygwin*, not cygwin32*.
1434
1435Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1436
1437 * Makefile.in: Change mkstemp -> mkstemps.
1438
1439Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1440
1441 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1442 * configure.in (funcs): Check for and conditionally add mkstemps to
1443 the list of functions libiberty will provide.
1444 * configure: Rebuilt.
b4fe2683 1445
252b5132
RH
1446Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1447
b4fe2683 1448 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1449 platforms that don't have HZ.
1450 * getruntime.c (HZ): Likewise.
1451
1452Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1453
1454 * Makefile.in (xstrdup.o): Depend on config.h.
1455
1456Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1457
1458 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1459 freeing it.
1460
1461Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1462
1463 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1464
1465Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1466
1467 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1468 splay-tree.o.
1469
14701999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1471
1472 * configure.in: Require autoconf 2.12.1 or higher.
1473
14741998-12-30 Michael Meissner <meissner@cygnus.com>
1475
1476 * random.c (NULL): Don't redefine NULL if it is already defined.
1477
1478Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1479
1480 * argv.c (buildargv): Cast the result of alloca in assignment.
1481
1482 * choose-temp.c: Include stdlib.h.
1483
1484 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1485 (snarf_numeric_literal): Constify first parameter.
1486 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1487 int, not a char.
1488 (demangle_qualifier): Likewise.
1489 (demangle_signature): Cast the argument of a ctype function to
1490 unsigned char.
1491 (arm_pt): Add parens around assignment used as truth value.
1492 (demangle_arm_hp_template): Constify variable `args'.
1493 (do_hpacc_template_const_value): Cast the argument of a ctype
1494 function to unsigned char.
1495 (do_hpacc_template_literal): Remove unused variable `i'.
1496 (snarf_numeric_literal): Constify parameter `args'.
1497 Cast the argument of a ctype function to unsigned char.
1498
1499 * floatformat.c (floatformat_to_double): Add explicit braces to
1500 avoid ambiguous `else'.
1501
1502 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1503 `cstart' and `cend' to unsigned char. Cast the argument of macro
1504 `FOLD', which uses ctype functions, to unsigned char.
1505
1506 * objalloc.c (free): Add prototype.
1507
1508Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1509
1510 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1511
1512Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1513
1514 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1515 doesn't exist.
1516 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1517
252b5132
RH
1518Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1519
1520 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1521 bumping the pointer we read from. Also prepend these codes,
1522 as we do in other places.
1523
15241998-12-18 Nick Clifton <nickc@cygnus.com>
1525
1526 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1527 'const char *' in order to match its usage when calling siblings.
1528 (snarf_numeric_literal): Make first arg 'const char **' in order
1529 to match usage.
1530
1531Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1532
1533 * choose-temp.c: Don't check IN_GCC anymore.
1534
1535 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1536 * memchr.c (memchr): Likewise.
1537 * memcpy.c (memcpy): Likewise.
1538 * memmove.c (memmove): Likewise.
1539
1540 * mkstemp.c: Don't check IN_GCC anymore.
1541 * pexecute.c: Likewise.
1542 * splay-tree.c: Likewise.
1543
1544 * strchr.c (strchr): Use `const', not `CONST'.
1545 * strrchr.c (strrchr): Likewise.
1546 * strtol.c (strtol): Likewise.
1547 * strtoul.c (strtoul): Likewise.
1548
1549Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1550 Elena Zannoni <ezannoni@cygnus.com>
1551 Stan Shebs <shebs@cygnus.com>
1552 Edith Epstein <eepstein@cygnus.com>
1553 Andres MacLeod <amacleod@cygnus.com>
1554 Satish Pai <pai@apollo.hp.com>
1555
1556 * HP aCC demangling support.
1557 * cplus-dem.c
1558 (main): Remove default to HP style demangling, set to EDG
1559 demangling correctly when -edg specified; set the demangling style
1560 when user specifies 'edg'. Set strip_underscore to
1561 prepends_underscore, if not HPUXHPPA. Set
1562 current_demangling_style to hp_demangling if HPUXHPPA. Set
1563 current demangling style correctly if the switch is hp. Read
1564 label correctly also in the HP style case.
1565 (work_stuff): add temp_start field; add field for volatile member
1566 function.
1567 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1568 style for this case is the same as ARM.
1569 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1570 (demangle_arm_hp_template): new function. (It was
1571 demangle_arm_pt.); check and set value of temp_start field in
1572 multiple places. Also, when ceching for end of template args,
1573 check to see if at end of static member of template class.
1574 (demangle_class): new local variable : save_class_name_end Don't
1575 include template args in string defining class.
1576 (demangle_class_name): use demangel_arm_hp_template.
1577 (demangle_function_name): handle case where demangling style is
1578 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1579 Handle EDG_DEMANGLING style. Handle constructor and destructor
1580 ops for HP style.
1581 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1582 styles. global destructor and constructor for HP style are same
1583 as for ARM style. Same for local variables.
1584 (demangle_qualified): handle EDG_DEMANGLING style.
1585 (demangle_signature): add case for volatile member function. For
1586 cases '1' - '9' : initialize the temp_start field to -1 and handle
1587 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1588 and AUTO_DEMANGLING styles. If expecting a function and managed
1589 to demangle the funct args, then handle the LUCID_DEMANGLING,
1590 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1591 class name after "Lnnn_ in HP style case. HP style too needs to
1592 forget types. _nnn is OK for HP style, so don't report failure.
1593 (do_hpacc_template_const_value): new function. Handle template's
1594 value param for HP/aCC.
1595 (do_hpacc_template_literal): new function. Handle a template's
1596 literal parameter for HP aCC.
1597 (recursively_demangle): new function
1598 (snarf_numeric_literal): new function.
1599 (usage): add 'edg' to the list of demangling styles; add hp switch
1600 to message.
1601
1602Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1603
1604 * pexecute.c: Remove obsolete ifdefed cygwin code.
1605
1606Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1607
1608 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1609 * cplus-dem.c: Likewise. Conform to libiberty.h.
1610 * pexecute.c: Likewise.
1611 * splay-tree.c: Likewise.
1612
16131998-11-25 Mike Stump <mrs@wrs.com>
1614
1615 * Makefile.in (splay-tree.o): Add config.h dependency.
1616
1617Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1618
1619 * configure.in: Use AC_PREREQ(2.12.1).
1620
16211998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1622
b4fe2683 1623 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1624
1625Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1626
1627 * mpw.c (mpw_access): Add missing parens.
1628
1629Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1630
1631 * configure.in: Call AC_HEADER_SYS_WAIT.
1632
1633 * pexecute.c: Include sys/wait.h when !IN_GCC.
1634
1635Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1636
1637 * pexecute.c: revert back to checking old Cygwin
1638 preprocessor symbol until some time has passed.
1639
1640Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1641
1642 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1643 since it will now support similar constructs.
1644
1645Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1646
1647 * configure.in: Check for calloc.
1648
1649 * calloc.c: New file.
1650
1651 * xmalloc.c (xcalloc): New function.
1652
1653Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1654
1655 *cplus-dem.c (demangle_prefix): Use the last "__"
1656 in the mangled name when looking for the signature. This allows
1657 template names to begin with "__".
1658
16591998-11-08 Mark Mitchell <mark@markmitchell.com>
1660
1661 * cplus-dem.c (type_kind_t): Add tk_reference.
1662 (demangle_template_value_parm): Handle it.
1663 (do_type): Use it for references, instead of tk_pointer.
1664
1665 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1666 not internal_cplus_demangle.
1667
1668Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1669
1670 * choose-temp.c: Don't include gansidecl.h.
1671 * mkstemp.c: Likewise.
1672 * pexecute.c: Likewise.
1673
1674Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1675
b4fe2683
JM
1676 * configure.in: detect cygwin* instead of cygwin32*
1677 * configure: regenerate
252b5132
RH
1678
1679Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1680
1681 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1682 whether to include config.h. Possibly include unistd.h in the
1683 !IN_GCC case. Define VFORK_STRING as a printable function call
1684 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1685 defined, include vfork.h. If VMS is defined, define vfork()
1686 appropriately. Remove vfork check on USG, we're using autoconf.
1687 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1688 locally what string to use.
1689
16901998-10-26 Mark Mitchell <mark@markmitchell.com>
1691
1692 * splay-tree.c: Tweak include directives to make sure declarations of
1693 xmalloc and free are available.
1694
16951998-10-25 Mark Mitchell <mark@markmitchell.com>
1696
1697 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1698 anonymous namespaces.
1699
17001998-10-23 Mark Mitchell <mark@markmitchell.com>
1701
1702 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1703 with type_quals.
1704 (TYPE_UNQUALIFIED): New macro.
1705 (TYPE_QUAL_CONST): Likewise.
1706 (TYPE_QUAL_VOLATILE): Likewise.
1707 (TYPE_QUAL_RESTRICT): Likewise.
1708 (code_for_qualifier): New function.
1709 (qualifier_string): Likewise.
1710 (demangle_qualifier): Likewise.
1711 (internal_cplus_demangle): Use them.
1712 (demangle_signature): Likewise.
1713 (demangle_template_value_parm): Likewise.
1714 (do_type): Likewise.
1715 (demangle_fund_type)): Likewise.
1716
1717Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1718
1719 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1720 to match prototype.
1721
17221998-10-21 Mark Mitchell <mark@markmitchell.com>
1723
1724 * splay-tree.c: New file.
1725 * Makefile.in (CFILES): Add it.
1726 (REQUIRED_OFILES): Likewise.
1727 (splay-tree.o): Add dependencies.
1728
1729Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1730
1731 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1732 range of 'K' index.
1733
1734Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1735
1736 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1737
1738 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1739 `unsigned char'.
1740 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1741 comparing against one.
1742 (cplus_mangle_opname): Likewise.
1743 (demangle_integral_value): Cast argument of ctype macro to
1744 `unsigned char'.
1745 (demangle_template_value_parm): Likewise.
1746 (demangle_template): Initialize variable `bindex'. Cast the
1747 result of `strlen' to (int) when comparing against one. Remove
1748 unused variable `start_of_value_parm'.
1749 (demangle_class_name): Cast the result of `strlen' to (int) when
1750 comparing against one.
1751 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1752 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1753 when comparing against one.
1754 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1755 (get_count): Likewise.
1756 (do_type): Likewise. Cast the result of `strlen' to (int) when
1757 comparing against one.
1758 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1759 (demangle_function_name): Cast the result of `strlen' to (int)
1760 when comparing against one.
1761
1762 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1763 comparing against one.
1764
1765Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1766
b4fe2683
JM
1767 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1768 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1769 * config.in, configure: Rebuilt.
252b5132
RH
1770
1771 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1772 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1773 * config.in, configure: Rebuilt.
1774
1775Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1776
b4fe2683 1777 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1778
1779Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1780
1781 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1782
1783Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1784
1785 * Merge egcs & devo libiberty.
1786