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