merge from gcc
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
a9cbbe6d
DD
12001-03-20 Jason Merrill <jason@redhat.com>
2
3 * cplus-dem.c (main): Skip initial $.
4
b1e51b3c
DD
52001-03-15 Michael Meissner <meissner@redhat.com>
6
7 * hashtab.c (higher_prime_number): Silence warning that 4294967291
8 might be a signed integer under pre-ISO C systems.
9
8aa30e60 102001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 11 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 12
8aa30e60
DD
13 * libiberty/lbasename.c: New file.
14 * libiberty/Makefile.in: Update for lbasename.
15
30673bf5
DD
162001-03-06 Zack Weinberg <zackw@stanford.edu>
17
18 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
19 * configure.in: Replace all alloca logic with a simple use of
20 the above new macro.
21 * config.table: Kill *-*-beos* entry.
22 * config/mh-beos: Delete.
23 * configure, config.in: Regenerate.
fa03f0a7 24
30673bf5
DD
25 * Makefile.in (ALLOCA, HFILES): Kill.
26 (REQUIRED_OFILES): Add alloca.o.
27 (alloca.o): Depend on libiberty.h.
28 (argv.o): Don't depend on alloca-conf.h.
29 * alloca-conf.h: Delete.
30 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
31 blocks. Provide the C alloca unconditionally. Use PTR where
32 appropriate. Make i00afunc static.
33 * argv.c: Don't include alloca-conf.h.
fa03f0a7 34
5810f394
DD
352001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
36
37 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 38
a9db032a
DD
392001-02-16 Loren J. Rittle <ljrittle@acm.org>
40
41 * cplus-dem.c (main): Initialize style.
fa03f0a7 42
bc9bf259
DD
432001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
44
45 Add support for Java demangling under the v3 ABI:
46 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
47 (struct demangling_def): Add `style' field.
48 (demangling_new): New parameter `style'. Set it in demangling_t.
49 (demangle_prefix): Use NAMESPACE_SEPARATOR.
50 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
51 (cp_demangle): New parameter `style'. Pass it to demangling_new().
52 (main): Call cp_demangle with extra parameter.
53 (java_demangle_v3): New function.
54 (java_builtin_type_names): New. Table of primitive type names used
55 for Java demangling.
56 (demangle_builtin_type): Look up in java_builtin_type_names if doing
57 Java output.
58 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
59 demangling.
60 (long_options): Remove obsolete `java' option.
61 (main): Remove explicit handling of `java' option. Instead, pass style
62 parameter in cplus_demangle flags as gdb does.
63 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 64
bc9bf259
DD
652001-01-29 Phil Edwards <pme@sources.redhat.com>
66
67 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
fa03f0a7 68
f6528837
DD
692000-12-29 DJ Delorie <dj@redhat.com>
70
71 * fnmatch.c: Make the note about the origins of this file more
72 accurate, at least until we can sync with glibc.
73 * getopt.c: Ditto.
74 * getopt1.c: Ditto.
75 * md5.c: Ditto.
76 * obstack.c: Ditto.
9d969b59 77
c6da642e
DD
782000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
79
80 * bsearch.c: New file.
81 * configure.in (funcs): Add bsearch.
82 (AC_CHECK_FUNCS): Likewise.
83 * configure, config.in: Regenerate.
84
ae7d06ad 852000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
86
87 * safe-ctype.c: #include "ansidecl.h".
88 * strtod.c: Likewise.
89
ae7d06ad 902000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
91
92 * strtoul.c: Include safe-ctype.h, not ctype.h.
93
ac424eb3
DD
942000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
95
96 * safe-ctype.c: New file.
97 * Makefile.in (CFILES): Add safe-ctype.c.
98 (REQUIRED_OFILES): Add safe-ctype.o.
99
100 * argv.c: Define ISBLANK and use it, not isspace.
101 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
102 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
103 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
104 before calling TOLOWER(c)/TOUPPER(c).
105
4415a860
DD
1062000-12-07 Mike Stump <mrs@wrs.com>
107
108 * Makefile.in (distclean): When cleaning, remove testsuite.
109
849ee224
DD
1102000-12-05 Jason Merrill <jason@redhat.com>
111
112 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
113 name before allocating the dyn_string.
114
ae7d06ad 1152000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
116
117 * cp-demangle.c: s/new_abi/v3/.
118 * cplus-dem.c: Likewise.
119 (current_demangling_style): Now auto_demangling.
120 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 121 (main): Use standard symbol chars for auto_demangling.
e49a569c 122
ae7d06ad 1232000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
124
125 * hashtab.c (higher_prime_number): Use a table, rather than a
126 seive, to find the next prime.
ae7d06ad
NC
127
1282000-11-22 H.J. Lu <hjl@gnu.org>
129
130 * cplus-dem.c (main): Handle gnat_demangling.
131
1322000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
133
134 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
135 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
136 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
137 argument form of AC_DEFINE in dummy definitions block. Use
138 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
139 in dummy block. Preload cache variables instead of bypassing
140 tests, where possible.
141 * acconfig.h: Removed.
ae7d06ad 142
2ea7befd
DD
143 * xmalloc.c (xmalloc_failed): New function, does error
144 reporting on failed allocation.
145 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 146
f1775526
HPN
1472000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
148
149 * cplus-dem.c (cplus_demangle): Fix formatting.
150 (grow_vect): Ditto.
151 (ada_demangle): Ditto.
152 (internal_cplus_demangle): Ditto.
153 (mop_up): Ditto.
154
1552000-11-21 H.J. Lu <hjl@gnu.org>
156
157 * cplus-dem.c (main): Handle java_demangling.
158
ae7d06ad 1592000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
160
161 * cplus-dem.c (grow_vect): Prototype.
162 (ada_demangle): Cast the arg of ctype macros to unsigned char.
163
5dd42ef4
HPN
1642000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
165
166 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
167 parameter `option'.
168
296731c1
DD
1692000-11-15 Kenneth Block <kenneth.block@compaq.com>
170
8944fb9d 171 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
172 be used in GCC.
173
6e53a714 1742000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 175
5dd42ef4 176 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
177 list.
178
99a4c1bd
HPN
1792000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
180
181 * hashtab.c (htab_expand): Change to return int. Use calloc or
182 xcalloc depending on htab->return_allocation_failure. Return zero
183 if calloc fails.
184 (htab_create): Update comment to cover memory allocation.
185 (htab_try_create): New.
186 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
187 Update comment to cover this.
188
e0f3df8f
HPN
1892000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
190
191 * hashtab.c: Change void * to PTR where necessary.
192 (htab_create, htab_expand): Correct formatting of comment before
193 function.
194
ae7d06ad 1952000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
196
197 * cp-demangle.c (string_list_def): Add caret_position and comments.
198 (result_caret_pos): New macro.
199 (result_append_string): Rename to...
200 (result_add_string): ... this, and insert at caret position.
ae7d06ad 201 Rename throughout.
59666b35
DD
202 (result_append): Rename to...
203 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 204 throughout.
59666b35
DD
205 (result_append_char): Rename to...
206 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 207 throughout.
59666b35
DD
208 (result_append_space): Remove.
209 (string_list_new): Initialize caret position.
210 (result_add_separated_char): Use caret position.
211 (result_get_caret): New funtion.
212 (result_set_caret): Likewise.
213 (result_shift_caret): Likewise.
214 (result_previous_char_is_space): Likewise.
215 (substitution_start): Use caret position.
216 (substitution_add): Likewise.
217 (demangling_new): Initialize caret position.
218 (demangle_encoding): Use caret position.
ae7d06ad 219 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
220 (demangle_type_ptr): Use switch statement. Handle pointers to
221 arrays. Don't use result_append_space. Use caret position.
222 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
223 call to demangle_array_type.
224 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 225
ae7d06ad 2262000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
227
228 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
229
2302000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
231
232 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
233
2342000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
235
236 * splay-tree.c: #include <stdio.h>.
237
2382000-09-14 Hans-Peter Nilsson <hp@axis.com>
239
240 * testsuite/demangle-expected: Add two tests for anonymous
241 namespaces.
242 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
243
2442000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
245
246 * splay-tree.c (splay_tree_predecessor): New function.
247 (splay_tree_successor): Likewise.
ae7d06ad
NC
248
2492000-09-10 Hans-Peter Nilsson <hp@axis.com>
250
251 * testsuite/demangle-expected: Add four tests for type_info
252 mangling.
253 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
254 for a non-template non-qualified type_info function or node.
255
2562000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
257
258 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
259
2602000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
261
262 * md5.c: #include "ansidecl.h".
263
2642000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
265
266 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
267 (demangle_type): Handle substitution candidates correctly in the
268 face of special substitutions.
ae7d06ad
NC
269
2702000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
271
272 * cp-demangle.c (demangle_encoding): Rename variable.
273 (demangle_name): Rename parameter. Handle return type
274 suppression.
275 (demangle_nested_name): Rename parameter.
276 (demangle_prefix): Likewise. Change return type suppression.
277 (demangle_unqualified_name): Add parameter. Flag constructors and
278 conversion operators.
279 (demangle_special_name): Fix comment.
280 (demangle_type): Rename variable.
281 (demangle_bare_function_type): Check for missing return type and
282 parameter.
283 (demangle_class_enum_type): Rename parameter.
284 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
285
2862000-08-31 DJ Delorie <dj@redhat.com>
287
288 * configure.in (Cygwin): special case cygwin only when we're
289 building cygwin, not when we're hosting cygwin.
290
2912000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
292
293 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
294 <expression>.
ae7d06ad
NC
295
2962000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
297
298 * cp-demangle.c (demangle_type_ptr): Increment position past
299 pointer and reference characters.
ae7d06ad
NC
300
3012000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
302
303 * cp-demangle.c (demangle_nv_offset): New function.
304 (demangle_v_offset): Likewise.
305 (demangle_call_offset): Likewise.
306 (demangle_special_name): Update thunk demangling to comply with
307 ABI changes.
ae7d06ad
NC
308
3092000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
310
311 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
312 (substitution_def): Remove template_parm_number.
313 (NOT_TEMPLATE_PARM): Remove.
314 (result_insert_string): New macro.
315 (result_insert): Likewise.
316 (result_insert_char): Likewise.
317 (substitution_add): Remove last parameter. Don't store template
318 parm number.
319 (BFT_NO_RETURN_TYPE): Define as NULL.
320 (demangle_encoding): Adjust call to demangle_bare_function_type.
321 (demangle_name): Adjust substitution. Adjust call to
322 substitution_add.
323 (demangle_prefix): Adjust call to substitution_add.
324 (demangle_identifier): Handle anonymous namespaces.
325 (demangle_operator_name): Change demangling of vendor-extended
326 operator to match ABI changes.
327 (demangle_type_ptr): Change parameters. Make recursive. Handle
328 substitutions here.
329 (demangle_type): Adjust calls to demangle_template_param,
330 substitution_add, and demangle_type_ptr. Fix substitution of
331 templated types.
332 (demangle_function_type): Change parameter to a pointer.
333 (demangle_bare_function_type): Likewise. Adjust insertion point.
334 (demangle_template_param): Remove last parameter.
335 (demangle_expr_primary): Remove unused variable. Adjust call to
336 demangle_template_param.
337 (is_mangled_char): Accept `$' and `.'.
338 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
339 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
340
3412000-08-31 Hans-Peter Nilsson <hp@axis.com>
342
343 * testsuite/demangle-expected: Add nine tests for
344 underscore-after-number followed by five tests for name-signature
345 delimiter.
346
3472000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
348
349 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
350
3512000-08-28 Jason Merrill <jason@redhat.com>
352
353 * Makefile.in (REQUIRED_OFILES): Add md5.o.
354 (CFILES): Add md5.c.
355 * md5.c: New file.
356
3572000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
358
359 * cp-demangle.c (demangle_name): Initialize template_p in local
360 name case. Don't re-add substitutions as candidates.
361 (demangle_nested_name): Use <unqualified-name>.
362 (demangle_prefix): Likewise. Don't add template names as
363 substitution candidates twice, or re-add a substitution or the
364 last prefix component.
365 (demangle_local_name): Adjust output format.
ae7d06ad
NC
366
3672000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
368
369 * cp-demangle.c (result_add_separated_char): Change parameter to
370 int.
371 (substitution_add): Don't check for duplicates. Check if
372 previously allocated size is zero.
373 (demangle_name): Remove duplicate check for std substitution.
374 Clear template flag appropriately.
375 (demangle_prefix): Remove argument to demangle_substitution.
376 Don't check that template flag is already set.
377 (demangle_operator_name): Add pt operator.
378 (demangle_type): Don't treat r as built-in type. Remove argument
379 to demangle_substitution. Fix substitution candidate mechanics.
380 Handle <template-template-parm>s. Improve comments.
381 (demangle_template_param): Don't handle template arg lists here.
382 (demangle_substitution): Remove parameter.
383 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
384
3852000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
386
387 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
388
3892000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
390
391 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
392 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
393 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
394
3952000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
396
397 * cp-demangle.c (result_close_template_list): Remove function.
398 (result_add_separated_char): New function.
399 (result_open_template_list): New macro.
400 (result_close_template_list): Likewise.
401 (demangle_prefix): Don't set template_p if the
402 prefix ends with a ctor name.
403 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
404 (demangle_type): Check for template args after substitution.
405 (demangle_template_args): Use result_open_template_list.
d3e85005 406
ae7d06ad 4072000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 408
ae7d06ad 409 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 410
ae7d06ad 4112000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
412
413 * config/mh-openedition.h: Added -DLE370 definition.
414
a9f34fb6
JL
4152000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
416
417 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
418 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
419 Cast program to 'char *' in errmsg_arg assignment.
420 (PWAIT_ERROR): Define.
421 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
422 to DJGPP's WIF* macros.
423
90aaccd1 4242000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 425 Jeff Law <law@cygnus.com>
90aaccd1 426
ae7d06ad 427 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 428
90aaccd1 429 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
430 * rename.c: Include config.h, unistd.h
431 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 432
6ef554e3
HPN
4332000-07-24 Hans-Peter Nilsson <hp@axis.com>
434
435 * cplus-dem.c (work_stuff_copy_to_from): New.
436 (delete_non_B_K_work_stuff): New.
437 (delete_work_stuff): New.
438 (mop_up): Break out work_stuff partly destruction to
439 delete_non_B_K_work_stuff.
440 (iterate_demangle_function): New.
441 (demangle_prefix): Call iterate_demangle_function instead of
442 demangle_function_name. Leave handling of name-signature
443 __-delimiters to iterate_demangle_function.
444 (demangle_integral_value): Strip an optional
445 following underscore cautiously. Handle negative numbers.
446
ae7d06ad 4472000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 448
ae7d06ad 449 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
450 if (AUTO_DEMANGLING || GNU_DEMANGLING)
451
ae7d06ad
NC
4522000-07-21 Alex Samuel <samuel@codesourcery.com>
453
454 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
455 allocating ctor mangling.
456 (demangle_array_type): Handle empty and non-constant array length.
457
b1233257 4582000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
459 Jeff Law <law@cygnus.com>
460
461 * configure.in (AC_CHECK_HEADERS): Add time.h.
462 (AC_HEADER_TIME): Add check.
463 * configure, config.in: Regenerate.
464 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
465
466 * configure.in (AC_CHECK_HEADERS): Add limits.h.
467 * configure, config.in: Regenerate.
468 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
469 * strtol.c, strtoul.c: #include "config.h". Portably #include
470 <limits.h> and/or <sys/param.h>.
471 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 472
7d3ffcaf
JL
473 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
474 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
475 * configure, config.in: Regenerate.
476 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
477
b1233257
JL
478 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
479
ae7d06ad
NC
4802000-07-21 Mike Stump <mrs@wrs.com>
481
482 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
483 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
484
4852000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
486
487 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
488
489 * setenv.c (setenv): Initialize variable `ep'.
490
491 * sigsetmask.c (abort): Prototype.
492
493 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
494 __STDC__ for stdarg.h include.
495 (int_vasprintf): Prototype.
496 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
497 definition. Cast `global_total_width' in comparison.
498 (main): Prototype. Return a value.
499
500 * vfork.c (fork): Prototype.
501
502 * xexit.c: Include config.h.
503
9adf30b2
JL
5042000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
505
506 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
507 and print it with %u.
508
2ed78d1b
HPN
5092000-07-17 Hans-Peter Nilsson <hp@axis.com>
510
511 * testsuite/regress-demangle (failed test): Show result and
512 expected output.
513
0473bdf7
AH
5142000-07-07 Andrew Haley <aph@cygnus.com>
515
516 * cplus-dem.c (main): fflush() after emitting last char before
517 waiting for input.
518
03d5f569
JM
5192000-06-28 Alex Samuel <samuel@codesourcery.com>
520
521 * cp-demangle.c (demangle_encoding): Accept no substitutions.
522 (demangle_name): Handle <substitution> followed by
523 <unqualified-template-name>.
524 (demangle_type): Follow special substitutions with
525 <class-enum-type>
526 (demangle_subtitution): Set template_p for special substitutions.
527 (main): Fix typos.
ae7d06ad 528
03d5f569
JM
5292000-06-27 Alex Samuel <samuel@codesourcery.com>
530
531 * cp-demangle.c (demangle_special_name): Swap base and derived
532 class when demangling construction vtables.
533
5342000-06-21 Alex Samuel <samuel@codesourcery.com>
535
536 * cp-demangle.c: Don't include ctype.h.
537 (IS_DIGIT): New macro.
538 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
539 instead of isdigit and isalpanum.
540 (demangling_def): Make name and next const pointers.
541 (STATUS_ALLOCATION_FAILED): New status code.
542 (dyn_string_append_space): Handle failure in
543 dyn_string_append_char.
544 (int_to_dyn_string): Likewise. Change return value to status_t.
545 (string_list_new): Handle failure of dyn_string_init.
546 (result_close_template_list): Change return type to status_t.
547 Handle failure in dyn_string_append.
548 (result_push): Change return value to status_t. Handle failure in
549 string_list_new. Handle failure of result_push throughout.
550 (substitution_add): Change return value to status_t. Handle
551 dyn_string failures. Handle failure of substitution_add
552 throughout.
553 (template_arg_list_new): Return NULL on allocation failure.
554 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
555 Handle error result throughout.
556 (result_append): Likewise.
557 (result_append_char): Likewise.
558 (result_append_space): Likewise.
559 (demangling_new): Make argument a const pointer. Handle
560 allocation failures.
561 (demangle_template_args): Handle failure in template_arg_list_new
562 and result_close_template_list.
563 (demangle_discriminator): Return if int_to_dyn_string fails.
564 (cp_demangle): Likewise.
565 (cp_demangle_type): New function.
566 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
567 memory allocation failure.
568 (main): Likewise.
569 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
570 IN_LIBGCC2.
571 (dyn_string_init): Change return value to int. Handle
572 RETURN_ON_ALLOCATION_FAILURE case.
573 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
574 (dyn_string_release): Delete the dyn_string.
575 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
576 (dyn_string_copy): Change return type to int.
577 (dyn_string_copy_cstr): Likewise.
578 (dyn_string_prepend): Likewise.
579 (dyn_string_prepend_cstr): Likewise.
580 (dyn_string_insert): Likewise.
581 (dyn_string_insert_cstr): Likewise.
582 (dyn_string_append): Likewise.
583 (dyn_string_append_cstr): Likewise.
584 (dyn_string_append_char): Likewise.
585 (dyn_string_substring): Likewise.
ae7d06ad 586
eb383413 5872000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 588
eb383413
L
589 * cp-demangle.c (demangle_operator_name): Add spaces before
590 names beginning with a letter: delete, delete[], new, new[],
591 sizeof.
592 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 593
eb383413
L
594Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
595
596 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
597
598Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
599
600 * cp-demangle.c (stdio.h): File included unconditionaly.
601 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
602 * dyn-string.c (stdio.h): File included.
603 * partition.c (partition_print): No `&' needed to take the address of
604 a function.
605
6062000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
607
608 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 609
eb383413
L
610 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
611
612 * cp-demangle.c (demangle_char): Change parameter from char to int.
613 (demangle_expression, demangle_expr_primary): Remove extra
614 semi-colon in prototype.
615
616 * dyn-string.c (dyn_string_append_char): Change parameter from
617 char to int.
618
619 * memcmp.c (memcmp): Constify.
620
621 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
622 __extension__.
623
624 * partition.c (elem_compare): Prototype. Don't cast away
625 const-ness.
626
627 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 628
eb383413
L
6292000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
630
631 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
632
633 * cp-demangle.c: Include demangle.h.
634 (template_arg_list_new): DeANSIfy.
635 (cp_demangle): Make static and add prototype.
636 (operator_code, operators): Constify.
637 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
638
6392000-06-05 Alex Samuel <samuel@codesourcery.com>
640
641 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
642 unsigned char.
643 (demangle_unqualified_name): Likewise.
644 (demangle_number_literally): Likewise.
645 (demangle_type): Likewise.
646 (demangle_substitution): Likewise.
647 (is_mangled_char): Likewise, for isalnum.
648
6492000-06-04 Alex Samuel <samuel@codesourcery.com>
650
651 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
652 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
653 (cp-demangle.o): New dependency.
654 (dyn-string.o): Likewise.
655
656 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
657
658 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
659 demangler.
660 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
661 demangling mode.
662 (gnu_new_abi_symbol_characters): New function.
663 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
664 file.
665 * cp-demangle.c: New file.
ae7d06ad 666
f03aa80d
AC
667Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
668
669 * floatformat.c: Add name to each floatformat field.
670
77bfb694
JL
671Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
672
673 * Makefile.in (objalloc.o): Depend on config.h
674
5c82d20a
ZW
6752000-05-29 Zack Weinberg <zack@wolery.cumb.org>
676
eb383413 677 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
678 if HAVE_STRING_H.
679 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
680 * objalloc.c: Include config.h. Include stdlib.h and don't
681 declare malloc or free if HAVE_STDLIB_H.
682 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
683 else declare malloc without prototype. Include string.h if
684 HAVE_STRING_H, else declare memset without prototype. Don't
685 include stddef.h.
686
eb383413
L
6872000-05-23 Mike Stump <mrs@wrs.com>
688
689 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
690 -j3.
691
6922000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
693
694 * xmalloc.c: Include config.h for HAVE_SBRK definition.
695
6962000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
697
ae7d06ad 698 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
699 probably zero, also eliminate a warning on alpha.
700
7012000-05-15 David Edelsohn <edelsohn@gnu.org>
702
703 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
704 on $(enable_shared).
705
7062000-05-10 Jakub Jelinek <jakub@redhat.com>
707
708 * config.table: Use mh-sparcpic for sparc*-*-*.
709
7102000-05-08 Nick Clifton <nickc@cygnus.com>
711
712 * Makefile.in (CFILES): Add strncmp.c.
713 (NEEDED): Add strncmp.
714
7152000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 716
eb383413
L
717 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
718 Cast the arguments to `islower' to `unsigned char'.
719 (print_demangler_list): Prototype.
720
721Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
722
723 * sort.c (UCHAR_MAX): Provide fallback definition.
724
7252000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
726
727 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
728 SUBDIRS.
729
eb383413
L
7302000-04-28 Kenneth Block <block@zk3.dec.com>
731 Jason Merrill <jason@casey.cygnus.com>
732
ae7d06ad
NC
733 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
734 (cplus_demangle_set_style): New function for setting style.
735 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
736
7372000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
738
739 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
740
741 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
742 (libiberty_AC_FUNC_STRNCMP): Invoke.
743
744 * strncmp.c: New file.
745
746Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
747
748 * hashtab.c (htab_expand): Add prototype.
749 (find_empty_slot_for_expand): Likewise.
750
7512000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
752
753 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
754 match prototype.
755 (htab_expand): Cast the return value of xcalloc.
756
7572000-04-24 Mark Mitchell <mark@codesourcery.com>
758
759 * hashtab.c (hash_pointer): New function.
760 (eq_pointer): Likewise.
761 (htab_hash_pointer): New variable.
762 (htab_eq_pointer): Likewise.
763
7642000-04-23 Mark Mitchell <mark@codesourcery.com>
765
766 * sort.c (sort_pointers): Fix endianness bugs.
767
768 * sort.c: New file.
769 * Makefile.in (CFILES): Add sort.c
770 (REQUIRED_OFILES): Add sort.o.
771 (sort.o): New target.
772
19be4303
JL
7732000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
774
775 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
776 4.3BSD systems.
777
eb383413
L
778Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
779
780 * hashtab.c: Various minor cleanups.
781 (htab_find_slot_with_hash): INSERT is now enum insert_option.
782 (htab_find_slot): Likewise.
783
7842000-04-16 Dave Pitts <dpitts@cozx.com>
785
786 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 787
afe36a78
RH
7882000-04-05 Richard Henderson <rth@cygnus.com>
789
790 * splay-tree.c (splay_tree_remove): New.
791
eb383413
L
7922000-03-30 Mark Mitchell <mark@codesourcery.com>
793
794 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
795 codes.
796 (htab_find_with_hash): Likewise.
797 (htab_find_slot_with_hash): Likewise.
ae7d06ad 798
eb383413
L
7992000-03-29 Zack Weinberg <zack@wolery.cumb.org>
800
801 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
802 unless it will be used. Rearrange loop for better
803 optimization.
804 (higher_prime_number): Add static prototype.
805
b4fe2683
JM
806Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
807
808 * Makefile.in (partition.o): Depend on config.h
809
8102000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
811
812 * hashtab.c (find_empty_slot_for_expand): New function.
813 (htab_expand): Use it instead of htab_find_slot.
814 (htab_find_with_hash): Renamed from htab_find; now accepts extra
815 argument HASH.
816 (htab_find_slot_with_hash): Likewise for htab_find_slot.
817 (htab_find): New wrapper function.
818 (htab_find_slot): Likewise.
819 (htab_traverse): Pass slot, not entry, to called function.
820
8212000-03-09 Alex Samuel <samuel@codesourcery.com>
822
823 * Makefile.in (CFILES): Add partition.c.
824 (REQUIRED_OFILES): Add partition.o.
825 (partition.o): New rule.
826 * partition.c: New file.
ae7d06ad 827
b4fe2683
JM
8282000-03-09 Zack Weinberg <zack@wolery.cumb.org>
829
830 * hashtab.c (htab_create): Set del_f.
831 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
832 Use it.
833
8342000-03-08 Zack Weinberg <zack@wolery.cumb.org>
835
836 * hashtab.c: Remove debugging variables (all_searches,
837 all_collisions, all_expansions). Delete
838 all_hash_table_collisions.
839 (create_hash_table, delete_hash_table, empty_hash_table,
840 find_hash_table_entry, remove_element_from_hash_table_entry,
841 clear_hash_table_slot, traverse_hash_table, hash_table_size,
842 hash_table_elements_number, hash_table_collisions): Rename to:
843 htab_create, htab_delete, htab_empty, htab_find_slot,
844 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
845 htab_elements, htab_collisions.
846 (htab_find): New function, handles common case where you don't
847 plan to add or delete an entry.
848 (htab_expand): Don't create a whole new table, just a new
849 entry vector.
850 (htab_find_slot): Simplify logic.
851
08372f14
ILT
8521999-08-03 Ian Lance Taylor <ian@zembu.com>
853
854 * floatformat.c: Add casts to avoid signed/unsigned warnings.
855 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
856
857 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
858 $(TARGETLIB)n so it works on MSDOS.
859 (install_to_tooldir): Likewise.
860
9c8ac5a9
ILT
8611999-07-21 Ian Lance Taylor <ian@zembu.com>
862
863 From Mark Elbrecht:
864 * makefile.dos: Remove; obsolete.
8f36e47c 865 * configure.bat: Remove; obsolete.
9c8ac5a9 866
0c0a36a4
ILT
8671999-07-11 Ian Lance Taylor <ian@zembu.com>
868
869 * splay-tree.c (splay_tree_insert): Add initialization to avoid
870 warning.
871
8722000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
873
874 * pexecute.c: Conditionally include string.h.
b4fe2683 875 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
876
8772000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
878
879 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
880 we're using gcc.
881
882 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
883
8841999-12-27 Geoff Keating <geoffk@cygnus.com>
885
886 * vasprintf.c (int_vasprintf): Don't re-read the format character
887 as this mishandles strings like '%%s'.
888
8891999-12-05 Mark Mitchell <mark@codesourcery.com>
890
891 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
892 rather than struct splay_tree_node.
893 (splay_tree_insert): Use struct splay_tree_s rather than struct
894 splay_tree.
895
896Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
897
898 * hashtab.c (sys/types.h): File included.
899
9001999-11-22 Jason Merrill <jason@casey.cygnus.com>
901
902 * strtoul.c, strtol.c, random.c: Remove advertising clause from
903 BSD license, pursuant with
904
905 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
906
907Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
908
909 * hashtab.c: Include stdio.h.
910
911Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
912
913 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
914
915Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
916
917 * xstrdup (sys/types.h): Include this file.
918
9191999-10-28 Nathan Sidwell <nathan@acm.org>
920
921 * Makefile.in (SUBDIRS): New macro.
922 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
923 avoid multiple subdirectory cleaning.
924 (*-subdir): Use SUBDIRS.
925
9261999-10-25 Jim Kingdon <http://developer.redhat.com/>
927
928 * cplus-dem.c: Move declarations of standard_symbol_characters and
929 hp_symbol_characters inside #ifdef MAIN to avoid compiler
930 warnings.
931
9321999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
933
934 * hashtab.c (find_hash_table_entry): When returning a
935 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
936 (clear_hash_table_slot): New function which deletes an entry
937 by its position in the table, not its value.
938 (traverse_hash_table): New function which calls a hook
939 function for every live entry in the table.
940
9411999-10-19 Mark Mitchell <mark@codesourcery.com>
942
943 * cplus-dem.c (INTBUF_SIZE): New macro.
944 (string_append_template_idx): New function.
945 (demangle_expression): Likewise.
946 (demangle_integral_value): Use it.
947 (demangle_real_value): New function, split out from ...
948 (demangle_template_value_parm): ... here. Use
949 string_append_template_idx. Use demangle_real_value.
950 (demangle_template): Use string_append_template_idx.
951 (demangle_qualified): Use consume_count_with_underscores.
952 (get_count): Tweak formatting.
953 (do_type): Use string_append_template_idx.
b4fe2683 954
0c0a36a4
ILT
9551999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
956
957 * calloc.c: Add a public domain notice.
958
959Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
960
961 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
962
963Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
964
965 * Makefile.in (CFILES): Add hashtab.c
966 (REQUIRED_OFILES): Add hashtab.o
967 (hashtab.o): Add dependencies.
968 * hashtab.c: New file
969
970Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
971
972 * basename.c (DIR_SEPARATOR): New macro.
973 (DIR_SEPARATOR_2): Likewise.
974 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
975 (IS_DIR_SEPARATOR): Likewise.
976 (main): Handle MSDOS style pathname.
977
9781999-10-11 Mark Mitchell <mark@codesourcery.com>
979
980 * cplus-dem.c (do_type): Handle pointer to member types whose
981 enclosing classes have namespace scope.
982
983Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
984
985 * config.table: Provide a backup shell for executing move-if-change.
986
9871999-10-02 Mark Mitchell <mark@codesourcery.com>
988
989 * xmalloc.c (xmalloc): Fix spelling error.
990 (xcalloc, xrealloc): Likewise.
991
9921999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
993
994 * cplus-dem.c (fancy_abort, demangle_integral_value,
995 demangle_arm_hp_template, recursively_demangle,
996 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
997 (program_name, program_version, fatal): Constify a char*.
998 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
999 (main): Call return, not exit.
1000
10011999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1002
1003 * choose-temp.c: Remove obsolete comment about gcc.
1004 (make_temp_file): Constify a char*.
1005
1006Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1007
1008 * xmemdup.c: Include sys/types.h.
1009
10101999-09-07 Jeff Garzik <jgarzik@pobox.com>
1011
1012 * xmemdup.c: New xmemdup function.
1013 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1014
1015Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1016
b4fe2683 1017 * config.table: Add openedition target.
0c0a36a4
ILT
1018 * config/mh-openedition: New file.
1019
1020Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1021
1022 * pexecute.c (pexecute): Fill in temp_base when needed.
1023
10241999-08-31 Richard Henderson <rth@cygnus.com>
1025
1026 * getpwd.c: Check HAVE_GETCWD before defining it away.
1027
10281999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1029
1030 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1031 (REQUIRED_OFILES): Add getpwd.o.
1032 (getpwd.o): Add target.
1033
1034 * configure.in (AC_PREREQ): Bump to 2.13.
1035 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1036
1037 * getpwd.c: New file, moved here from gcc.
1038
10391999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1040
1041 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1042 comparing against a signed quantity.
1043 (arm_special): Likewise.
1044 (demangle_fund_type): Likewise.
1045 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1046 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1047 (main): Constify variable `valid_symbols'.
1048
1049Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1050
1051 * strtoul.c (strtoul): Add parentheses around && within ||.
1052
1053Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1054
1055 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1056 libdir, libsubdir and tooldir.
1057
10581999-08-01 Mark Mitchell <mark@codesourcery.com>
1059
1060 * splay-tree.c (splay_tree_insert): Return the new node.
1061
35ca97ea
RH
10621999-07-14 Richard Henderson <rth@cygnus.com>
1063
b4fe2683 1064 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1065 prototyping directly.
1066 * choose-temp.c: Conditionally include string.h.
1067
0c0a36a4
ILT
10681999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1069
1070 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1071
af32ff69
ILT
10721999-07-11 Ian Lance Taylor <ian@zembu.com>
1073
1074 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1075 warning.
1076
0c0a36a4
ILT
10771999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1078
1079 * Makefile.in (needed-list): Only include stuff we actually need
1080 for libstdc++.
1081
10821999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1083
1084 * configure.in (checkfuncs): Add gettimeofday.
1085 * config.in, configure: Regenerated.
1086
1087Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1088
1089 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1090 the test fails.
1091 * configure: Regenerate.
1092
10931999-06-10 Mike Stump <mrs@wrs.com>
1094
1095 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1096 parallel builds.
1097
10981999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1099
1100 * putenv.c: Include ansidecl.h to define `const'.
1101 * setenv.c: Likewise.
1102
1103Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1104
1105 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1106 * configure.in (funcs): Add putenv and setenv.
1107 (AC_CHECK_FUNCS): Check for putenv and setenv.
1108 * configure: Rebuilt.
1109 * putenv.c setenv.c: New files.
1110
1111 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1112 bytes of space using malloc.
1113
1114Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1115
1116 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1117 the *mangled pointer beyond the end of the string. Clean up code to
1118 match prevailing coding style.
1119
11201999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1121
1122 * tmpnam.c (L_tmpnam): Fix typo.
1123
1124Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1125
1126 * cplus-dem.c (standard_symbol_characters): Renamed from
1127 standard_symbol_alphabet. No longer modify TABLE.
1128 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1129 modify TABLE.
1130 (main): Corresponding changes. Use strchr to determine if a
1131 character is valid.
1132
e9868447
JB
11331999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1134
1135 * cplus-dem.c (main): Use table lookup to distinguish identifier
1136 characters from non-identifier characters.
1137 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1138
33fbbfbc
RH
1139Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1140
1141 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1142 * getruntime.c: Only attempt to include sys/resource.h and
1143 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1144 are defined.
1145
0c0a36a4
ILT
1146Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1147
1148 * configure.in (alloca detection): Handle alloca directly for interix.
1149 * configure: Rebuilt.
1150
1151Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1152
1153 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1154
252b5132
RH
11551999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1156
1157 Fix from Dale Hawkins:
b4fe2683 1158 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1159 reallocated properly if we use it again.
1160
1161 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1162 stricter about syntax. Always null-terminate string.
1163
c1687039
ILT
1164Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1165
1166 * configure.in (checkfuncs): Check for sbrk.
1167 * config.in: Rebuilt.
1168 * configure: Likewise.
1169 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1170
0c0a36a4
ILT
11711999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1172
1173 Fix from Marcus Daniels:
1174 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1175 identifier looking for another underscore.
1176
1177Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1178
1179 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1180 * xmalloc.c: Likewise.
1181 (xcalloc): UWIN has sbrk.
1182 (xrealloc): Fix guard macro.
1183
252b5132
RH
11841999-04-11 Richard Henderson <rth@cygnus.com>
1185
1186 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1187 or <alloca.h>.
1188 * clock.c (GNU_HZ): New definition.
1189 (clock): Use it.
1190 * getruntime.c: Likewise.
1191
1192 * config.table: Use mh-beos.
1193 * config/mh-beos: New file.
1194
0c0a36a4
ILT
11951999-04-11 Mark Mitchell <mark@codesourcery.com>
1196
1197 * cplus-dem.c (demangle_template_value_parm): Handle
1198 pointers-to-members.
1199 (do_type): Handle template parameters as qualifiers.
1200
252b5132
RH
12011999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1202
1203 * cplus-dem.c: Attempt to handle overflows in counts with some
1204 semblance of grace.
1205 (consume_count): Detect overflows. Return -1 to indicate errors,
1206 instead of zero.
1207 (demangle_template_value_parm, demangle_template): Handle change
1208 to consume_count's return convention.
1209
0c0a36a4
ILT
12101999-04-05 Tom Tromey <tromey@cygnus.com>
1211
1212 * testsuite/regress-demangle: New file.
1213 * testsuite/demangle-expected: New file.
252b5132 1214
0c0a36a4
ILT
1215 * Makefile.in (all, check, installcheck, info, install-info,
1216 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1217 distclean, maintainer-clean, realclean): Depend on corresponding
1218 `-subdir' target.
1219 (all-subdir check-subdir installcheck-subdir info-subdir
1220 install-info-subdir clean-info-subdir dvi-subdir
1221 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1222 distclean-subdir maintainer-clean-subdir): New target.
1223 * testsuite/Makefile.in: New file.
1224 * configure: Rebuilt.
1225 * configure.in: Create testsuite/Makefile.
252b5132
RH
1226
12271999-04-02 Mark Mitchell <mark@codesourcery.com>
1228
1229 * splay-tree.h (splay_tree_compare_pointers): Define.
1230
12311999-03-30 Mark Mitchell <mark@codesourcery.com>
1232
1233 * splay-tree.c (splay_tree_compare_ints): Define.
1234
12351999-03-30 Tom Tromey <tromey@cygnus.com>
1236
1237 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1238 don't advance input pointer.
1239 (demangle_class_name): If consume_count didn't find a count, do
1240 nothing. Don't bother with `strlen' sanity check; consume_count
1241 does it for us.
1242
12431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1244
1245 From Art Haas <ahaas@neosoft.com>:
1246 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1247 when doing arm or hp style.
1248 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1249
252b5132
RH
1250Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1251
1252 * pexecute.c (__CYGWIN32__): Rename to
1253 (__CYGWIN__): this.
1254 * xmalloc.c: Likewise.
1255
1256 Changes to support i386-pc-uwin.
1257 * configure.in (*-*-uwin*): Workaround for vfork bug.
1258 * configure: Regenerate.
1259 * pexecute.c (pexecute): Be like standard Unix.
1260 (pwait): Likewise.
1261 * xmalloc.c (first_break): Define.
1262 (xmalloc_set_program_name): Use.
1263 (xmalloc): Use.
1264
1265Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1266
1267 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1268
1269Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1270
1271 * config.table: Check cygwin*, not cygwin32*.
1272
1273Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1274
1275 * Makefile.in: Change mkstemp -> mkstemps.
1276
1277Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1278
1279 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1280 * configure.in (funcs): Check for and conditionally add mkstemps to
1281 the list of functions libiberty will provide.
1282 * configure: Rebuilt.
b4fe2683 1283
252b5132
RH
1284Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1285
b4fe2683 1286 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1287 platforms that don't have HZ.
1288 * getruntime.c (HZ): Likewise.
1289
1290Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1291
1292 * Makefile.in (xstrdup.o): Depend on config.h.
1293
1294Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1295
1296 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1297 freeing it.
1298
1299Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1300
1301 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1302
1303Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1304
1305 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1306 splay-tree.o.
1307
13081999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1309
1310 * configure.in: Require autoconf 2.12.1 or higher.
1311
13121998-12-30 Michael Meissner <meissner@cygnus.com>
1313
1314 * random.c (NULL): Don't redefine NULL if it is already defined.
1315
1316Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1317
1318 * argv.c (buildargv): Cast the result of alloca in assignment.
1319
1320 * choose-temp.c: Include stdlib.h.
1321
1322 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1323 (snarf_numeric_literal): Constify first parameter.
1324 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1325 int, not a char.
1326 (demangle_qualifier): Likewise.
1327 (demangle_signature): Cast the argument of a ctype function to
1328 unsigned char.
1329 (arm_pt): Add parens around assignment used as truth value.
1330 (demangle_arm_hp_template): Constify variable `args'.
1331 (do_hpacc_template_const_value): Cast the argument of a ctype
1332 function to unsigned char.
1333 (do_hpacc_template_literal): Remove unused variable `i'.
1334 (snarf_numeric_literal): Constify parameter `args'.
1335 Cast the argument of a ctype function to unsigned char.
1336
1337 * floatformat.c (floatformat_to_double): Add explicit braces to
1338 avoid ambiguous `else'.
1339
1340 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1341 `cstart' and `cend' to unsigned char. Cast the argument of macro
1342 `FOLD', which uses ctype functions, to unsigned char.
1343
1344 * objalloc.c (free): Add prototype.
1345
1346Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1347
1348 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1349
1350Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1351
1352 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1353 doesn't exist.
1354 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1355
252b5132
RH
1356Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1357
1358 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1359 bumping the pointer we read from. Also prepend these codes,
1360 as we do in other places.
1361
13621998-12-18 Nick Clifton <nickc@cygnus.com>
1363
1364 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1365 'const char *' in order to match its usage when calling siblings.
1366 (snarf_numeric_literal): Make first arg 'const char **' in order
1367 to match usage.
1368
1369Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1370
1371 * choose-temp.c: Don't check IN_GCC anymore.
1372
1373 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1374 * memchr.c (memchr): Likewise.
1375 * memcpy.c (memcpy): Likewise.
1376 * memmove.c (memmove): Likewise.
1377
1378 * mkstemp.c: Don't check IN_GCC anymore.
1379 * pexecute.c: Likewise.
1380 * splay-tree.c: Likewise.
1381
1382 * strchr.c (strchr): Use `const', not `CONST'.
1383 * strrchr.c (strrchr): Likewise.
1384 * strtol.c (strtol): Likewise.
1385 * strtoul.c (strtoul): Likewise.
1386
1387Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1388 Elena Zannoni <ezannoni@cygnus.com>
1389 Stan Shebs <shebs@cygnus.com>
1390 Edith Epstein <eepstein@cygnus.com>
1391 Andres MacLeod <amacleod@cygnus.com>
1392 Satish Pai <pai@apollo.hp.com>
1393
1394 * HP aCC demangling support.
1395 * cplus-dem.c
1396 (main): Remove default to HP style demangling, set to EDG
1397 demangling correctly when -edg specified; set the demangling style
1398 when user specifies 'edg'. Set strip_underscore to
1399 prepends_underscore, if not HPUXHPPA. Set
1400 current_demangling_style to hp_demangling if HPUXHPPA. Set
1401 current demangling style correctly if the switch is hp. Read
1402 label correctly also in the HP style case.
1403 (work_stuff): add temp_start field; add field for volatile member
1404 function.
1405 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1406 style for this case is the same as ARM.
1407 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1408 (demangle_arm_hp_template): new function. (It was
1409 demangle_arm_pt.); check and set value of temp_start field in
1410 multiple places. Also, when ceching for end of template args,
1411 check to see if at end of static member of template class.
1412 (demangle_class): new local variable : save_class_name_end Don't
1413 include template args in string defining class.
1414 (demangle_class_name): use demangel_arm_hp_template.
1415 (demangle_function_name): handle case where demangling style is
1416 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1417 Handle EDG_DEMANGLING style. Handle constructor and destructor
1418 ops for HP style.
1419 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1420 styles. global destructor and constructor for HP style are same
1421 as for ARM style. Same for local variables.
1422 (demangle_qualified): handle EDG_DEMANGLING style.
1423 (demangle_signature): add case for volatile member function. For
1424 cases '1' - '9' : initialize the temp_start field to -1 and handle
1425 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1426 and AUTO_DEMANGLING styles. If expecting a function and managed
1427 to demangle the funct args, then handle the LUCID_DEMANGLING,
1428 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1429 class name after "Lnnn_ in HP style case. HP style too needs to
1430 forget types. _nnn is OK for HP style, so don't report failure.
1431 (do_hpacc_template_const_value): new function. Handle template's
1432 value param for HP/aCC.
1433 (do_hpacc_template_literal): new function. Handle a template's
1434 literal parameter for HP aCC.
1435 (recursively_demangle): new function
1436 (snarf_numeric_literal): new function.
1437 (usage): add 'edg' to the list of demangling styles; add hp switch
1438 to message.
1439
1440Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1441
1442 * pexecute.c: Remove obsolete ifdefed cygwin code.
1443
1444Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1445
1446 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1447 * cplus-dem.c: Likewise. Conform to libiberty.h.
1448 * pexecute.c: Likewise.
1449 * splay-tree.c: Likewise.
1450
14511998-11-25 Mike Stump <mrs@wrs.com>
1452
1453 * Makefile.in (splay-tree.o): Add config.h dependency.
1454
1455Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1456
1457 * configure.in: Use AC_PREREQ(2.12.1).
1458
14591998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1460
b4fe2683 1461 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1462
1463Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1464
1465 * mpw.c (mpw_access): Add missing parens.
1466
1467Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1468
1469 * configure.in: Call AC_HEADER_SYS_WAIT.
1470
1471 * pexecute.c: Include sys/wait.h when !IN_GCC.
1472
1473Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1474
1475 * pexecute.c: revert back to checking old Cygwin
1476 preprocessor symbol until some time has passed.
1477
1478Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1479
1480 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1481 since it will now support similar constructs.
1482
1483Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1484
1485 * configure.in: Check for calloc.
1486
1487 * calloc.c: New file.
1488
1489 * xmalloc.c (xcalloc): New function.
1490
1491Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1492
1493 *cplus-dem.c (demangle_prefix): Use the last "__"
1494 in the mangled name when looking for the signature. This allows
1495 template names to begin with "__".
1496
14971998-11-08 Mark Mitchell <mark@markmitchell.com>
1498
1499 * cplus-dem.c (type_kind_t): Add tk_reference.
1500 (demangle_template_value_parm): Handle it.
1501 (do_type): Use it for references, instead of tk_pointer.
1502
1503 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1504 not internal_cplus_demangle.
1505
1506Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1507
1508 * choose-temp.c: Don't include gansidecl.h.
1509 * mkstemp.c: Likewise.
1510 * pexecute.c: Likewise.
1511
1512Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1513
b4fe2683
JM
1514 * configure.in: detect cygwin* instead of cygwin32*
1515 * configure: regenerate
252b5132
RH
1516
1517Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1518
1519 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1520 whether to include config.h. Possibly include unistd.h in the
1521 !IN_GCC case. Define VFORK_STRING as a printable function call
1522 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1523 defined, include vfork.h. If VMS is defined, define vfork()
1524 appropriately. Remove vfork check on USG, we're using autoconf.
1525 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1526 locally what string to use.
1527
15281998-10-26 Mark Mitchell <mark@markmitchell.com>
1529
1530 * splay-tree.c: Tweak include directives to make sure declarations of
1531 xmalloc and free are available.
1532
15331998-10-25 Mark Mitchell <mark@markmitchell.com>
1534
1535 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1536 anonymous namespaces.
1537
15381998-10-23 Mark Mitchell <mark@markmitchell.com>
1539
1540 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1541 with type_quals.
1542 (TYPE_UNQUALIFIED): New macro.
1543 (TYPE_QUAL_CONST): Likewise.
1544 (TYPE_QUAL_VOLATILE): Likewise.
1545 (TYPE_QUAL_RESTRICT): Likewise.
1546 (code_for_qualifier): New function.
1547 (qualifier_string): Likewise.
1548 (demangle_qualifier): Likewise.
1549 (internal_cplus_demangle): Use them.
1550 (demangle_signature): Likewise.
1551 (demangle_template_value_parm): Likewise.
1552 (do_type): Likewise.
1553 (demangle_fund_type)): Likewise.
1554
1555Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1556
1557 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1558 to match prototype.
1559
15601998-10-21 Mark Mitchell <mark@markmitchell.com>
1561
1562 * splay-tree.c: New file.
1563 * Makefile.in (CFILES): Add it.
1564 (REQUIRED_OFILES): Likewise.
1565 (splay-tree.o): Add dependencies.
1566
1567Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1568
1569 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1570 range of 'K' index.
1571
1572Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1573
1574 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1575
1576 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1577 `unsigned char'.
1578 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1579 comparing against one.
1580 (cplus_mangle_opname): Likewise.
1581 (demangle_integral_value): Cast argument of ctype macro to
1582 `unsigned char'.
1583 (demangle_template_value_parm): Likewise.
1584 (demangle_template): Initialize variable `bindex'. Cast the
1585 result of `strlen' to (int) when comparing against one. Remove
1586 unused variable `start_of_value_parm'.
1587 (demangle_class_name): Cast the result of `strlen' to (int) when
1588 comparing against one.
1589 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1590 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1591 when comparing against one.
1592 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1593 (get_count): Likewise.
1594 (do_type): Likewise. Cast the result of `strlen' to (int) when
1595 comparing against one.
1596 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1597 (demangle_function_name): Cast the result of `strlen' to (int)
1598 when comparing against one.
1599
1600 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1601 comparing against one.
1602
1603Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1604
b4fe2683
JM
1605 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1606 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1607 * config.in, configure: Rebuilt.
252b5132
RH
1608
1609 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1610 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1611 * config.in, configure: Rebuilt.
1612
1613Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1614
b4fe2683 1615 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1616
1617Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1618
1619 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1620
1621Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1622
1623 * Merge egcs & devo libiberty.
1624