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