]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
basic_file.h: Fix typos in comments.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
33437dc7
ZW
12001-03-20 Zack Weinberg <zackw@stanford.edu>
2
3 * choose-temp.c: Split off make_temp_file, and the code
4 duplicated between it and choose_temp_base, into...
5 * make-temp-file.c: ... here; new file.
6
7 * Makefile.in (CFILES): Add make-temp-file.c.
8 (REQUIRED_OFILES): Add make-temp-file.o.
9
e03a61f1
JM
102001-03-20 Jason Merrill <jason@redhat.com>
11
12 * cplus-dem.c (main): Skip initial $.
13
8860ddab
MM
142001-03-15 Michael Meissner <meissner@redhat.com>
15
16 * hashtab.c (higher_prime_number): Silence warning that 4294967291
17 might be a signed integer under pre-ISO C systems.
18
2b757d51
NB
192001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
20 John David Anglin <dave@hiauly1.hia.nrc.ca>
21
22 * libiberty/lbasename.c: New file.
23 * libiberty/Makefile.in: Update for lbasename.
24
1f50aafb
ZW
252001-03-06 Zack Weinberg <zackw@stanford.edu>
26
27 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
28 * configure.in: Replace all alloca logic with a simple use of
29 the above new macro.
30 * config.table: Kill *-*-beos* entry.
31 * config/mh-beos: Delete.
32 * configure, config.in: Regenerate.
33
34 * Makefile.in (ALLOCA, HFILES): Kill.
35 (REQUIRED_OFILES): Add alloca.o.
36 (alloca.o): Depend on libiberty.h.
37 (argv.o): Don't depend on alloca-conf.h.
38 * alloca-conf.h: Delete.
39 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
40 blocks. Provide the C alloca unconditionally. Use PTR where
41 appropriate. Make i00afunc static.
42 * argv.c: Don't include alloca-conf.h.
43
d9fd5aae
JDA
442001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
45
46 * cplus-dem.c (main): Cast enum style to int.
47
4031ed65
LR
482001-02-16 Loren J. Rittle <ljrittle@acm.org>
49
50 * cplus-dem.c (main): Initialize style.
51
2ca46e8a
PE
522001-02-02 Phil Edwards <pme@sources.redhat.com>
53
54 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
55
3b60dd8e
BM
562001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
57
58 Add support for Java demangling under the v3 ABI:
59 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
60 (struct demangling_def): Add `style' field.
61 (demangling_new): New parameter `style'. Set it in demangling_t.
62 (demangle_prefix): Use NAMESPACE_SEPARATOR.
63 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
64 (cp_demangle): New parameter `style'. Pass it to demangling_new().
65 (main): Call cp_demangle with extra parameter.
66 (java_demangle_v3): New function.
67 (java_builtin_type_names): New. Table of primitive type names used
68 for Java demangling.
69 (demangle_builtin_type): Look up in java_builtin_type_names if doing
70 Java output.
1f50aafb 71 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
72 demangling.
73 (long_options): Remove obsolete `java' option.
74 (main): Remove explicit handling of `java' option. Instead, pass style
75 parameter in cplus_demangle flags as gdb does.
76 * testsuite/demangle.expected: Add some Java test cases.
77
584932e9
DD
782000-12-29 DJ Delorie <dj@redhat.com>
79
80 * fnmatch.c: Make the note about the origins of this file more
81 accurate, at least until we can sync with glibc.
82 * getopt.c: Ditto.
83 * getopt1.c: Ditto.
84 * md5.c: Ditto.
85 * obstack.c: Ditto.
86
dac45916
MS
872000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
88
89 * bsearch.c: New file.
90 * configure.in (funcs): Add bsearch.
91 (AC_CHECK_FUNCS): Likewise.
92 * configure, config.in: Regenerate.
93
a8e4a997
MS
942000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
95
96 * safe-ctype.c: #include "ansidecl.h".
97 * strtod.c: Likewise.
98
75444da7
MS
992000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
100
101 * strtoul.c: Include safe-ctype.h, not ctype.h.
102
f6bbde28
ZW
1032000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
104
105 * safe-ctype.c: New file.
106 * Makefile.in (CFILES): Add safe-ctype.c.
107 (REQUIRED_OFILES): Add safe-ctype.o.
108
109 * argv.c: Define ISBLANK and use it, not isspace.
110 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
111 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
112 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
113 before calling TOLOWER(c)/TOUPPER(c).
114
6c1ce62b 1152000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
116
117 * Makefile.in (distclean): When cleaning, remove testsuite.
118
b5d1497d
JM
1192000-12-05 Jason Merrill <jason@redhat.com>
120
121 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
122 name before allocating the dyn_string.
123
c6e13630
JM
1242000-12-04 Jason Merrill <jason@redhat.com>
125
126 * cp-demangle.c: s/new_abi/v3/.
127 * cplus-dem.c: Likewise.
128 (current_demangling_style): Now auto_demangling.
129 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 130 (main): Use standard symbol chars for auto_demangling.
c6e13630 131
a4c9b97e
MM
1322000-11-26 Mark Mitchell <mark@codesourcery.com>
133
134 * hashtab.c (higher_prime_number): Use a table, rather than a
135 seive, to find the next prime.
136
3b3bd9a7
L
1372000-11-22 H.J. Lu <hjl@gnu.org>
138
139 * cplus-dem.c (main): Handle gnat_demangling.
140
d1209685
ZW
1412000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
142
143 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
144 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
145 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
146 argument form of AC_DEFINE in dummy definitions block. Use
147 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
148 in dummy block. Preload cache variables instead of bypassing
149 tests, where possible.
150 * acconfig.h: Removed.
151
152 * xmalloc.c (xmalloc_failed): New function, does error
153 reporting on failed allocation.
154 (xmalloc, xcalloc, xrealloc): Use it.
155
cf183ac2
HPN
1562000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
157
158 * cplus-dem.c (cplus_demangle): Fix formatting.
159 (grow_vect): Ditto.
160 (ada_demangle): Ditto.
161 (internal_cplus_demangle): Ditto.
162 (mop_up): Ditto.
163
1642000-11-21 H.J. Lu <hjl@gnu.org>
165
166 * cplus-dem.c (main): Handle java_demangling.
167
8bcc782c
KG
1682000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
169
170 * cplus-dem.c (grow_vect): Prototype.
171 (ada_demangle): Cast the arg of ctype macros to unsigned char.
172
29120f44
HPN
1732000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
174
175 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
176 parameter `option'.
177
0437a5a8
KB
1782000-11-15 Kenneth Block <kenneth.block@compaq.com>
179
9e038f71 180 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
181 be used in GCC.
182
eab0c1ab 1832000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 184
29120f44 185 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
186 list.
187
d50d20ec
HPN
1882000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
189
190 * hashtab.c (htab_expand): Change to return int. Use calloc or
191 xcalloc depending on htab->return_allocation_failure. Return zero
192 if calloc fails.
193 (htab_create): Update comment to cover memory allocation.
194 (htab_try_create): New.
195 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
196 Update comment to cover this.
197
35e9340f
HPN
1982000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
199
200 * hashtab.c: Change void * to PTR where necessary.
201 (htab_create, htab_expand): Correct formatting of comment before
202 function.
203
ea343d1a 2042000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
205
206 * cp-demangle.c (string_list_def): Add caret_position and comments.
207 (result_caret_pos): New macro.
208 (result_append_string): Rename to...
209 (result_add_string): ... this, and insert at caret position.
d1209685 210 Rename throughout.
0870bfd6
AS
211 (result_append): Rename to...
212 (result_add): ... this, and insert at caret position. Rename
d1209685 213 throughout.
0870bfd6
AS
214 (result_append_char): Rename to...
215 (result_add_char): ... this, and insert at caret position. Rename
d1209685 216 throughout.
0870bfd6
AS
217 (result_append_space): Remove.
218 (string_list_new): Initialize caret position.
219 (result_add_separated_char): Use caret position.
220 (result_get_caret): New funtion.
221 (result_set_caret): Likewise.
222 (result_shift_caret): Likewise.
223 (result_previous_char_is_space): Likewise.
224 (substitution_start): Use caret position.
225 (substitution_add): Likewise.
226 (demangling_new): Initialize caret position.
227 (demangle_encoding): Use caret position.
d1209685 228 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
229 (demangle_type_ptr): Use switch statement. Handle pointers to
230 arrays. Don't use result_append_space. Use caret position.
231 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
232 call to demangle_array_type.
233 (demangle_array_type): Add parameter to handle pointers to arrays.
234
f15b9af9
MM
2352000-10-01 Mark Mitchell <mark@codesourcery.com>
236
237 * splay-tree.c (splay_tree_insert): Fix formatting.
238
8f17b5c5
MM
2392000-09-16 Mark Mitchell <mark@codesourcery.com>
240
241 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
242
4eaa189a
MS
2432000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
244
245 * splay-tree.c: #include <stdio.h>.
246
29791078
HPN
2472000-09-14 Hans-Peter Nilsson <hp@axis.com>
248
249 * testsuite/demangle-expected: Add two tests for anonymous
250 namespaces.
251 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
252
2c9f4db7
MM
2532000-09-10 Mark Mitchell <mark@codesourcery.com>
254
255 * splay-tree.c (splay_tree_predecessor): New function.
256 (splay_tree_successor): Likewise.
257
bb22da4b
HPN
2582000-09-10 Hans-Peter Nilsson <hp@axis.com>
259
260 * testsuite/demangle-expected: Add four tests for type_info
261 mangling.
bb22da4b
HPN
262 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
263 for a non-template non-qualified type_info function or node.
264
759e8187
AS
2652000-09-08 Alex Samuel <samuel@codesourcery.com>
266
267 * cp-demangle.c: Fix copyright banner.
268
2ecd81ef
MS
2692000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
270
271 * md5.c: #include "ansidecl.h".
272
d93998ec
AS
2732000-09-06 Alex Samuel <samuel@codesourcery.com>
274
275 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
276 (demangle_type): Handle substitution candidates correctly in the
277 face of special substitutions.
278
1056d228
AS
2792000-09-05 Alex Samuel <samuel@codesourcery.com>
280
281 * cp-demangle.c (demangle_encoding): Rename variable.
282 (demangle_name): Rename parameter. Handle return type
283 suppression.
284 (demangle_nested_name): Rename parameter.
285 (demangle_prefix): Likewise. Change return type suppression.
286 (demangle_unqualified_name): Add parameter. Flag constructors and
287 conversion operators.
288 (demangle_special_name): Fix comment.
289 (demangle_type): Rename variable.
290 (demangle_bare_function_type): Check for missing return type and
d1209685 291 parameter.
1056d228
AS
292 (demangle_class_enum_type): Rename parameter.
293 (demangle_discriminator): Fix misspelling in comment.
294
2f31ed7e
DD
2952000-08-31 DJ Delorie <dj@redhat.com>
296
297 * configure.in (Cygwin): special case cygwin only when we're
298 building cygwin, not when we're hosting cygwin.
299
02bcb9c6
AS
3002000-09-04 Alex Samuel <samuel@codesourcery.com>
301
302 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
303 <expression>.
304
aee749cf
AS
3052000-09-04 Alex Samuel <samuel@codesourcery.com>
306
307 * cp-demangle.c (demangle_type_ptr): Increment position past
308 pointer and reference characters.
309
92a16bbe
AS
3102000-09-04 Alex Samuel <samuel@codesourcery.com>
311
312 * cp-demangle.c (demangle_nv_offset): New function.
313 (demangle_v_offset): Likewise.
314 (demangle_call_offset): Likewise.
315 (demangle_special_name): Update thunk demangling to comply with
316 ABI changes.
d1209685 317
31e0ab1f
AS
3182000-09-03 Alex Samuel <samuel@codesourcery.com>
319
320 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
321 (substitution_def): Remove template_parm_number.
322 (NOT_TEMPLATE_PARM): Remove.
323 (result_insert_string): New macro.
324 (result_insert): Likewise.
325 (result_insert_char): Likewise.
326 (substitution_add): Remove last parameter. Don't store template
d1209685 327 parm number.
31e0ab1f
AS
328 (BFT_NO_RETURN_TYPE): Define as NULL.
329 (demangle_encoding): Adjust call to demangle_bare_function_type.
330 (demangle_name): Adjust substitution. Adjust call to
d1209685 331 substitution_add.
31e0ab1f
AS
332 (demangle_prefix): Adjust call to substitution_add.
333 (demangle_identifier): Handle anonymous namespaces.
334 (demangle_operator_name): Change demangling of vendor-extended
335 operator to match ABI changes.
336 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 337 substitutions here.
31e0ab1f
AS
338 (demangle_type): Adjust calls to demangle_template_param,
339 substitution_add, and demangle_type_ptr. Fix substitution of
340 templated types.
341 (demangle_function_type): Change parameter to a pointer.
342 (demangle_bare_function_type): Likewise. Adjust insertion point.
343 (demangle_template_param): Remove last parameter.
344 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 345 demangle_template_param.
31e0ab1f
AS
346 (is_mangled_char): Accept `$' and `.'.
347 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
348 * dyn-string.c (dyn_string_insert_char): New function.
349
ccbc3eb7
HPN
3502000-08-31 Hans-Peter Nilsson <hp@axis.com>
351
352 * testsuite/demangle-expected: Add nine tests for
353 underscore-after-number followed by five tests for name-signature
354 delimiter.
355
53dce582
RH
3562000-08-28 Richard Henderson <rth@cygnus.com>
357
358 * Makefile.in (md5.o): Depend on config.h.
359
881c6935
JM
3602000-08-28 Jason Merrill <jason@redhat.com>
361
362 * Makefile.in (REQUIRED_OFILES): Add md5.o.
363 (CFILES): Add md5.c.
364 * md5.c: New file.
365
a440fd19
AS
3662000-08-27 Alex Samuel <samuel@codesourcery.com>
367
368 * cp-demangle.c (demangle_name): Initialize template_p in local
369 name case. Don't re-add substitutions as candidates.
370 (demangle_nested_name): Use <unqualified-name>.
371 (demangle_prefix): Likewise. Don't add template names as
372 substitution candidates twice, or re-add a substitution or the
373 last prefix component.
374 (demangle_local_name): Adjust output format.
375
d01ce591
AS
3762000-08-25 Alex Samuel <samuel@codesourcery.com>
377
378 * cp-demangle.c (result_add_separated_char): Change parameter to
379 int.
380 (substitution_add): Don't check for duplicates. Check if
381 previously allocated size is zero.
382 (demangle_name): Remove duplicate check for std substitution.
383 Clear template flag appropriately.
384 (demangle_prefix): Remove argument to demangle_substitution.
385 Don't check that template flag is already set.
386 (demangle_operator_name): Add pt operator.
387 (demangle_type): Don't treat r as built-in type. Remove argument
388 to demangle_substitution. Fix substitution candidate mechanics.
389 Handle <template-template-parm>s. Improve comments.
d1209685 390 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
391 (demangle_substitution): Remove parameter.
392 (print_usage): Remove extra fprintf option.
393
2f59c8eb
GM
3942000-08-24 Greg McGary <greg@mcgary.org>
395
396 * libiberty/random.c (end_ptr): Revert previous change.
397
2f26c11d
GM
3982000-08-24 Greg McGary <greg@mcgary.org>
399
400 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
401 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
402 * libiberty/random.c (end_ptr): Likewise.
403
e282c9c9
AS
4042000-08-23 Alex Samuel <samuel@codesourcery.com>
405
406 * cp-demangle.c (result_close_template_list): Remove function.
407 (result_add_separated_char): New function.
408 (result_open_template_list): New macro.
409 (result_close_template_list): Likewise.
410 (demangle_prefix): Don't set template_p if the
411 prefix ends with a ctor name.
412 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
413 (demangle_type): Check for template args after substitution.
414 (demangle_template_args): Use result_open_template_list.
d1209685 415
c9b6494a
ZW
4162000-08-02 Zack Weinberg <zack@wolery.cumb.org>
417
418 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
419
d1209685 4202000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
421
422 * config/mh-openedition.h: Added -DLE370 definition.
423
0aab2795
ME
4242000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
425
426 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
427 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
428 Cast program to 'char *' in errmsg_arg assignment.
429 (PWAIT_ERROR): Define.
430 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
431 to DJGPP's WIF* macros.
432
c2f275e4
RB
4332000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
434 Jeff Law <law@cygnus.com>
435
73aa9564
RB
436 * getcwd.c: Include string.h, stdlib.h for prototypes
437
c2f275e4 438 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
439 * rename.c: Include config.h, unistd.h
440 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 441
ccbc3eb7
HPN
4422000-07-24 Hans-Peter Nilsson <hp@axis.com>
443
444 * cplus-dem.c (work_stuff_copy_to_from): New.
445 (delete_non_B_K_work_stuff): New.
446 (delete_work_stuff): New.
447 (mop_up): Break out work_stuff partly destruction to
448 delete_non_B_K_work_stuff.
449 (iterate_demangle_function): New.
450 (demangle_prefix): Call iterate_demangle_function instead of
451 demangle_function_name. Leave handling of name-signature
452 __-delimiters to iterate_demangle_function.
453 (demangle_integral_value): Strip an optional
454 following underscore cautiously. Handle negative numbers.
455
3388651c
DB
4562000-07-24 Daniel Berlin <dberlin@redhat.com>
457
d1209685 458 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
459 if (AUTO_DEMANGLING || GNU_DEMANGLING)
460
0fac482e
AS
4612000-07-21 Alex Samuel <samuel@codesourcery.com>
462
463 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
464 allocating ctor mangling.
465 (demangle_array_type): Handle empty and non-constant array length.
466
8502a100 4672000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
468 Jeff Law <law@cygnus.com>
469
c6451ce1
MS
470 * configure.in (AC_CHECK_HEADERS): Add time.h.
471 (AC_HEADER_TIME): Add check.
472 * configure, config.in: Regenerate.
473 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
474
cd447360
MS
475 * configure.in (AC_CHECK_HEADERS): Add limits.h.
476 * configure, config.in: Regenerate.
477 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
478 * strtol.c, strtoul.c: #include "config.h". Portably #include
479 <limits.h> and/or <sys/param.h>.
480 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 481
3b58c099
MS
482 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
483 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
484 * configure, config.in: Regenerate.
485 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
486
8502a100
MS
487 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
488
da0c7743
MS
4892000-07-21 Mike Stump <mrs@wrs.com>
490
491 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 492 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 493
838f8562
KG
4942000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
495
496 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
497
498 * setenv.c (setenv): Initialize variable `ep'.
499
500 * sigsetmask.c (abort): Prototype.
501
502 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
503 __STDC__ for stdarg.h include.
504 (int_vasprintf): Prototype.
505 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
506 definition. Cast `global_total_width' in comparison.
507 (main): Prototype. Return a value.
508
509 * vfork.c (fork): Prototype.
510
511 * xexit.c: Include config.h.
512
e9958132
JM
5132000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
514
515 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
516 and print it with %u.
517
39a6492f
HPN
5182000-07-17 Hans-Peter Nilsson <hp@axis.com>
519
520 * testsuite/regress-demangle (failed test): Show result and
521 expected output.
522
6d0be369
AH
5232000-07-07 Andrew Haley <aph@cygnus.com>
524
525 * cplus-dem.c (main): fflush() after emitting last char before
526 waiting for input.
527
bece74bd
AS
5282000-06-28 Alex Samuel <samuel@codesourcery.com>
529
530 * cp-demangle.c (demangle_encoding): Accept no substitutions.
531 (demangle_name): Handle <substitution> followed by
532 <unqualified-template-name>.
533 (demangle_type): Follow special substitutions with
534 <class-enum-type>
535 (demangle_subtitution): Set template_p for special substitutions.
536 (main): Fix typos.
d1209685 537
229b8ec7
AS
5382000-06-27 Alex Samuel <samuel@codesourcery.com>
539
540 * cp-demangle.c (demangle_special_name): Swap base and derived
541 class when demangling construction vtables.
542
051664b0
AS
5432000-06-21 Alex Samuel <samuel@codesourcery.com>
544
545 * cp-demangle.c: Don't include ctype.h.
546 (IS_DIGIT): New macro.
547 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
548 instead of isdigit and isalpanum.
549 (demangling_def): Make name and next const pointers.
550 (STATUS_ALLOCATION_FAILED): New status code.
551 (dyn_string_append_space): Handle failure in
552 dyn_string_append_char.
553 (int_to_dyn_string): Likewise. Change return value to status_t.
554 (string_list_new): Handle failure of dyn_string_init.
555 (result_close_template_list): Change return type to status_t.
556 Handle failure in dyn_string_append.
557 (result_push): Change return value to status_t. Handle failure in
558 string_list_new. Handle failure of result_push throughout.
559 (substitution_add): Change return value to status_t. Handle
560 dyn_string failures. Handle failure of substitution_add
561 throughout.
562 (template_arg_list_new): Return NULL on allocation failure.
563 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
564 Handle error result throughout.
565 (result_append): Likewise.
566 (result_append_char): Likewise.
567 (result_append_space): Likewise.
568 (demangling_new): Make argument a const pointer. Handle
569 allocation failures.
570 (demangle_template_args): Handle failure in template_arg_list_new
571 and result_close_template_list.
572 (demangle_discriminator): Return if int_to_dyn_string fails.
573 (cp_demangle): Likewise.
574 (cp_demangle_type): New function.
575 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
576 memory allocation failure.
577 (main): Likewise.
578 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
579 IN_LIBGCC2.
580 (dyn_string_init): Change return value to int. Handle
581 RETURN_ON_ALLOCATION_FAILURE case.
582 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
583 (dyn_string_release): Delete the dyn_string.
584 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
585 (dyn_string_copy): Change return type to int.
586 (dyn_string_copy_cstr): Likewise.
587 (dyn_string_prepend): Likewise.
588 (dyn_string_prepend_cstr): Likewise.
589 (dyn_string_insert): Likewise.
590 (dyn_string_insert_cstr): Likewise.
591 (dyn_string_append): Likewise.
592 (dyn_string_append_cstr): Likewise.
593 (dyn_string_append_char): Likewise.
594 (dyn_string_substring): Likewise.
d1209685 595
fe06b696
ZW
5962000-06-09 Zack Weinberg <zack@wolery.cumb.org>
597
598 * cp-demangle.c (demangle_operator_name): Add spaces before
599 names beginning with a letter: delete, delete[], new, new[],
600 sizeof.
601 (demangle_special_name): Handle TF <type> and TJ <type>.
602
6223e158
PDM
603Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
604
605 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
606
48f3e29b
PDM
607Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
608
609 * cp-demangle.c (stdio.h): File included unconditionaly.
610 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
611 * dyn-string.c (stdio.h): File included.
612 * partition.c (partition_print): No `&' needed to take the address of
613 a function.
614
69197e7e
KG
6152000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
616
617 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 618
69197e7e
KG
619 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
620
621 * cp-demangle.c (demangle_char): Change parameter from char to int.
622 (demangle_expression, demangle_expr_primary): Remove extra
623 semi-colon in prototype.
624
625 * dyn-string.c (dyn_string_append_char): Change parameter from
626 char to int.
627
628 * memcmp.c (memcmp): Constify.
629
630 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
631 __extension__.
632
633 * partition.c (elem_compare): Prototype. Don't cast away
634 const-ness.
635
636 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 637
7eb23b1f
KG
6382000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
639
640 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
641
642 * cp-demangle.c: Include demangle.h.
643 (template_arg_list_new): DeANSIfy.
644 (cp_demangle): Make static and add prototype.
645 (operator_code, operators): Constify.
646 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
647
3faa108c
AS
6482000-06-05 Alex Samuel <samuel@codesourcery.com>
649
650 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
651 unsigned char.
652 (demangle_unqualified_name): Likewise.
653 (demangle_number_literally): Likewise.
654 (demangle_type): Likewise.
655 (demangle_substitution): Likewise.
656 (is_mangled_char): Likewise, for isalnum.
657
69afa80d
AS
6582000-06-04 Alex Samuel <samuel@codesourcery.com>
659
660 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
661 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
662 (cp-demangle.o): New dependency.
663 (dyn-string.o): Likewise.
664
665 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
666
667 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
668 demangler.
669 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
670 demangling mode.
671 (gnu_new_abi_symbol_characters): New function.
672 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
673 file.
674 * cp-demangle.c: New file.
d1209685 675
0b72c3df
AC
676Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
677
678 * floatformat.c: Add name to each floatformat field.
679
270cea06
JL
680Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
681
682 * Makefile.in (objalloc.o): Depend on config.h
683
d11ec6f0
ZW
6842000-05-29 Zack Weinberg <zack@wolery.cumb.org>
685
686 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
687 if HAVE_STRING_H.
688 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
689 * objalloc.c: Include config.h. Include stdlib.h and don't
690 declare malloc or free if HAVE_STDLIB_H.
691 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
692 else declare malloc without prototype. Include string.h if
693 HAVE_STRING_H, else declare memset without prototype. Don't
694 include stddef.h.
695
f8e2da56
MS
6962000-05-23 Mike Stump <mrs@wrs.com>
697
698 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
699 -j3.
700
650f3068
DA
7012000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
702
703 * xmalloc.c: Include config.h for HAVE_SBRK definition.
704
1d2da2e1
HB
7052000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
706
d1209685 707 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
708 probably zero, also eliminate a warning on alpha.
709
47668d0a
DE
7102000-05-15 David Edelsohn <edelsohn@gnu.org>
711
c7a79a32 712 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
713 on $(enable_shared).
714
36348eab
JJ
7152000-05-10 Jakub Jelinek <jakub@redhat.com>
716
717 * config.table: Use mh-sparcpic for sparc*-*-*.
718
209bbe34
NC
7192000-05-08 Nick Clifton <nickc@cygnus.com>
720
721 * Makefile.in (CFILES): Add strncmp.c.
722 (NEEDED): Add strncmp.
723
a85a47fb
KG
7242000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
725
726 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
727 Cast the arguments to `islower' to `unsigned char'.
728 (print_demangler_list): Prototype.
729
4aef973c
PDM
730Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
731
732 * sort.c (UCHAR_MAX): Provide fallback definition.
733
3b94497c
AO
7342000-04-29 Alexandre Oliva <aoliva@cygnus.com>
735
736 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
737 SUBDIRS.
738
24eaa47a
KB
7392000-04-28 Kenneth Block <block@zk3.dec.com>
740 Jason Merrill <jason@casey.cygnus.com>
741
d1209685
ZW
742 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
743 (cplus_demangle_set_style): New function for setting style.
744 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 745
a9266bfa
KG
7462000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
747
748 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
749
750 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
751 (libiberty_AC_FUNC_STRNCMP): Invoke.
752
753 * strncmp.c: New file.
754
8e02c4d0
JH
755Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
756
757 * hashtab.c (htab_expand): Add prototype.
758 (find_empty_slot_for_expand): Likewise.
759
4feeaae3
KG
7602000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
761
762 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
763 match prototype.
764 (htab_expand): Cast the return value of xcalloc.
765
18a94a2f
MM
7662000-04-24 Mark Mitchell <mark@codesourcery.com>
767
768 * hashtab.c (hash_pointer): New function.
769 (eq_pointer): Likewise.
770 (htab_hash_pointer): New variable.
771 (htab_eq_pointer): Likewise.
772
eeb0656f
MM
7732000-04-23 Mark Mitchell <mark@codesourcery.com>
774
b51024fc
MM
775 * sort.c (sort_pointers): Fix endianness bugs.
776
eeb0656f
MM
777 * sort.c: New file.
778 * Makefile.in (CFILES): Add sort.c
779 (REQUIRED_OFILES): Add sort.o.
780 (sort.o): New target.
781
7277f72d
MS
7822000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
783
784 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
785 4.3BSD systems.
786
e38992e8
RK
787Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
788
789 * hashtab.c: Various minor cleanups.
790 (htab_find_slot_with_hash): INSERT is now enum insert_option.
791 (htab_find_slot): Likewise.
792
498e1ab1
DP
7932000-04-16 Dave Pitts <dpitts@cozx.com>
794
795 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 796
dc17cc7b
RH
7972000-04-05 Richard Henderson <rth@cygnus.com>
798
799 * splay-tree.c (splay_tree_remove): New.
800
b13eb66b
MM
8012000-03-30 Mark Mitchell <mark@codesourcery.com>
802
803 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
804 codes.
805 (htab_find_with_hash): Likewise.
806 (htab_find_slot_with_hash): Likewise.
d1209685 807
0194e877
ZW
8082000-03-29 Zack Weinberg <zack@wolery.cumb.org>
809
810 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
811 unless it will be used. Rearrange loop for better
812 optimization.
813 (higher_prime_number): Add static prototype.
814
abc61fd4
JL
815Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
816
817 * Makefile.in (partition.o): Depend on config.h
818
8c5d513f
BS
8192000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
820
821 * hashtab.c (find_empty_slot_for_expand): New function.
822 (htab_expand): Use it instead of htab_find_slot.
823 (htab_find_with_hash): Renamed from htab_find; now accepts extra
824 argument HASH.
825 (htab_find_slot_with_hash): Likewise for htab_find_slot.
826 (htab_find): New wrapper function.
827 (htab_find_slot): Likewise.
828 (htab_traverse): Pass slot, not entry, to called function.
829
d9d4fb43
AS
8302000-03-09 Alex Samuel <samuel@codesourcery.com>
831
832 * Makefile.in (CFILES): Add partition.c.
833 (REQUIRED_OFILES): Add partition.o.
834 (partition.o): New rule.
835 * partition.c: New file.
d1209685 836
5dc9cffd
ZW
8372000-03-09 Zack Weinberg <zack@wolery.cumb.org>
838
839 * hashtab.c (htab_create): Set del_f.
840 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
841 Use it.
842
5194cf08
ZW
8432000-03-08 Zack Weinberg <zack@wolery.cumb.org>
844
845 * hashtab.c: Remove debugging variables (all_searches,
846 all_collisions, all_expansions). Delete
847 all_hash_table_collisions.
848 (create_hash_table, delete_hash_table, empty_hash_table,
849 find_hash_table_entry, remove_element_from_hash_table_entry,
850 clear_hash_table_slot, traverse_hash_table, hash_table_size,
851 hash_table_elements_number, hash_table_collisions): Rename to:
852 htab_create, htab_delete, htab_empty, htab_find_slot,
853 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
854 htab_elements, htab_collisions.
855 (htab_find): New function, handles common case where you don't
856 plan to add or delete an entry.
857 (htab_expand): Don't create a whole new table, just a new
858 entry vector.
859 (htab_find_slot): Simplify logic.
860
5ad5a984
ILT
8611999-08-03 Ian Lance Taylor <ian@zembu.com>
862
863 * floatformat.c: Add casts to avoid signed/unsigned warnings.
864 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
865
866 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
867 $(TARGETLIB)n so it works on MSDOS.
868 (install_to_tooldir): Likewise.
869
8701999-07-21 Ian Lance Taylor <ian@zembu.com>
871
872 From Mark Elbrecht:
873 * makefile.dos: Remove; obsolete.
874 * configure.bat: Remove; obsolete.
875
8761999-07-11 Ian Lance Taylor <ian@zembu.com>
877
878 * splay-tree.c (splay_tree_insert): Add initialization to avoid
879 warning.
880
aeecce42
MK
8812000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
882
883 * pexecute.c: Conditionally include string.h.
5194cf08 884 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 885
1eaf7d9c
KG
8862000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
887
888 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
889 we're using gcc.
890
891 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
892
0fadedb2
GK
8931999-12-27 Geoff Keating <geoffk@cygnus.com>
894
895 * vasprintf.c (int_vasprintf): Don't re-read the format character
896 as this mishandles strings like '%%s'.
897
08230f26
MM
8981999-12-05 Mark Mitchell <mark@codesourcery.com>
899
900 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
901 rather than struct splay_tree_node.
902 (splay_tree_insert): Use struct splay_tree_s rather than struct
903 splay_tree.
904
6de9b8ff
PDM
905Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
906
907 * hashtab.c (sys/types.h): File included.
908
f3636679
JM
9091999-11-22 Jason Merrill <jason@casey.cygnus.com>
910
911 * strtoul.c, strtol.c, random.c: Remove advertising clause from
912 BSD license, pursuant with
913
914 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
915
36dd3a44
JL
916Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
917
918 * hashtab.c: Include stdio.h.
919
6e300472
JL
920Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
921
922 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
923
df548dfc
PDM
924Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
925
926 * xstrdup (sys/types.h): Include this file.
927
2c375143
NS
9281999-10-28 Nathan Sidwell <nathan@acm.org>
929
930 * Makefile.in (SUBDIRS): New macro.
931 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
932 avoid multiple subdirectory cleaning.
933 (*-subdir): Use SUBDIRS.
934
a82cecda
JK
9351999-10-25 Jim Kingdon <http://developer.redhat.com/>
936
937 * cplus-dem.c: Move declarations of standard_symbol_characters and
938 hp_symbol_characters inside #ifdef MAIN to avoid compiler
939 warnings.
940
ed38f5d5
ZW
9411999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
942
943 * hashtab.c (find_hash_table_entry): When returning a
944 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
945 (clear_hash_table_slot): New function which deletes an entry
946 by its position in the table, not its value.
947 (traverse_hash_table): New function which calls a hook
948 function for every live entry in the table.
949
b60fe4a7
MM
9501999-10-19 Mark Mitchell <mark@codesourcery.com>
951
952 * cplus-dem.c (INTBUF_SIZE): New macro.
953 (string_append_template_idx): New function.
954 (demangle_expression): Likewise.
955 (demangle_integral_value): Use it.
956 (demangle_real_value): New function, split out from ...
957 (demangle_template_value_parm): ... here. Use
958 string_append_template_idx. Use demangle_real_value.
959 (demangle_template): Use string_append_template_idx.
960 (demangle_qualified): Use consume_count_with_underscores.
961 (get_count): Tweak formatting.
962 (do_type): Use string_append_template_idx.
5194cf08 963
3da5522a
KG
9641999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
965
966 * calloc.c: Add a public domain notice.
967
d7d36ea8
PDM
968Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
969
970 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
971
a2f945c6
VM
972Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
973
974 * Makefile.in (CFILES): Add hashtab.c
975 (REQUIRED_OFILES): Add hashtab.o
976 (hashtab.o): Add dependencies.
977 * hashtab.c: New file
978
7f22ec2e
MK
979Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
980
981 * basename.c (DIR_SEPARATOR): New macro.
982 (DIR_SEPARATOR_2): Likewise.
983 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
984 (IS_DIR_SEPARATOR): Likewise.
985 (main): Handle MSDOS style pathname.
986
7c56a6ce
MM
9871999-10-11 Mark Mitchell <mark@codesourcery.com>
988
989 * cplus-dem.c (do_type): Handle pointer to member types whose
990 enclosing classes have namespace scope.
991
cd32188b
ME
992Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
993
994 * config.table: Provide a backup shell for executing move-if-change.
995
fc232f7a
MM
9961999-10-02 Mark Mitchell <mark@codesourcery.com>
997
998 * xmalloc.c (xmalloc): Fix spelling error.
999 (xcalloc, xrealloc): Likewise.
1000
2a138827
KG
10011999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1002
1003 * cplus-dem.c (fancy_abort, demangle_integral_value,
1004 demangle_arm_hp_template, recursively_demangle,
1005 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1006 (program_name, program_version, fatal): Constify a char*.
1007 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1008 (main): Call return, not exit.
1009
5a657fc3
KG
10101999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1011
1012 * choose-temp.c: Remove obsolete comment about gcc.
1013 (make_temp_file): Constify a char*.
1014
33c5ddcd
KG
1015Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1016
1017 * xmemdup.c: Include sys/types.h.
1018
b10647f1
JG
10191999-09-07 Jeff Garzik <jgarzik@pobox.com>
1020
1021 * xmemdup.c: New xmemdup function.
1022 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1023
3dd6c3af
LV
1024Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1025
5194cf08 1026 * config.table: Add openedition target.
3dd6c3af
LV
1027 * config/mh-openedition: New file.
1028
19e28e2a
ME
1029Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1030
1031 * pexecute.c (pexecute): Fill in temp_base when needed.
1032
4dfeccf9
RH
10331999-08-31 Richard Henderson <rth@cygnus.com>
1034
1035 * getpwd.c: Check HAVE_GETCWD before defining it away.
1036
4ac3cb83
KG
10371999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1038
1039 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1040 (REQUIRED_OFILES): Add getpwd.o.
1041 (getpwd.o): Add target.
1042
1043 * configure.in (AC_PREREQ): Bump to 2.13.
1044 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1045
1046 * getpwd.c: New file, moved here from gcc.
1047
e797ff70
KG
10481999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1049
1050 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1051 comparing against a signed quantity.
1052 (arm_special): Likewise.
1053 (demangle_fund_type): Likewise.
1054 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 1055 ATTRIBUTE_UNUSED.
e797ff70
KG
1056 (main): Constify variable `valid_symbols'.
1057
55247fce
PDM
1058Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1059
1060 * strtoul.c (strtoul): Add parentheses around && within ||.
1061
76632dd0
DJ
1062Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1063
1064 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1065 libdir, libsubdir and tooldir.
1066
d080bbfa
MM
10671999-08-01 Mark Mitchell <mark@codesourcery.com>
1068
1069 * splay-tree.c (splay_tree_insert): Return the new node.
1070
a81c752a
RH
10711999-07-14 Richard Henderson <rth@cygnus.com>
1072
5194cf08 1073 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
1074 prototyping directly.
1075 * choose-temp.c: Conditionally include string.h.
1076
8f1824d9
JM
10771999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1078
1079 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1080
652374d3
ILT
10811999-07-11 Ian Lance Taylor <ian@zembu.com>
1082
1083 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1084 warning.
1085
a4494286
JM
10861999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1087
1088 * Makefile.in (needed-list): Only include stuff we actually need
1089 for libstdc++.
1090
90e72e20
AS
10911999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1092
1093 * configure.in (checkfuncs): Add gettimeofday.
1094 * config.in, configure: Regenerated.
1095
b569200e
MK
1096Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1097
1098 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1099 the test fails.
1100 * configure: Regenerate.
1101
73919448
MS
11021999-06-10 Mike Stump <mrs@wrs.com>
1103
1104 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1105 parallel builds.
1106
fee9125c
KG
11071999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1108
1109 * putenv.c: Include ansidecl.h to define `const'.
1110 * setenv.c: Likewise.
1111
71cce721
MN
1112Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1113
a7c9637f
JL
1114 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1115 * configure.in (funcs): Add putenv and setenv.
1116 (AC_CHECK_FUNCS): Check for putenv and setenv.
1117 * configure: Rebuilt.
1118 * putenv.c setenv.c: New files.
1119
71cce721
MN
1120 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1121 bytes of space using malloc.
1122
53504016
SG
1123Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1124
1125 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1126 the *mangled pointer beyond the end of the string. Clean up code to
1127 match prevailing coding style.
1128
34842539
MH
11291999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1130
1131 * tmpnam.c (L_tmpnam): Fix typo.
1132
3a08531d
ME
1133Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1134
1135 * cplus-dem.c (standard_symbol_characters): Renamed from
1136 standard_symbol_alphabet. No longer modify TABLE.
1137 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1138 modify TABLE.
1139 (main): Corresponding changes. Use strchr to determine if a
1140 character is valid.
1141
8db9d08b
JB
11421999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1143
1144 * cplus-dem.c (main): Use table lookup to distinguish identifier
1145 characters from non-identifier characters.
1146 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1147
6a071f4a
FF
1148Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1149
1150 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1151 * getruntime.c: Only attempt to include sys/resource.h and
1152 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1153 are defined.
1154
7dd88617
DT
1155Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1156
1157 * configure.in (alloca detection): Handle alloca directly for interix.
1158 * configure: Rebuilt.
1159
7a1528bc
MK
1160Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1161
1162 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1163
76409268
JB
11641999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1165
1166 Fix from Dale Hawkins:
5194cf08 1167 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
1168 reallocated properly if we use it again.
1169
1170 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1171 stricter about syntax. Always null-terminate string.
1172
acbbd80a
MK
1173Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1174
1175 * configure.in (checkfuncs): Check for sbrk.
1176 * config.in: Rebuilt.
1177 * configure: Likewise.
1178 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1179
92523551
JB
11801999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1181
1182 Fix from Marcus Daniels:
1183 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1184 identifier looking for another underscore.
1185
36eb4217
MK
1186Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1187
1188 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1189 * xmalloc.c: Likewise.
1190 (xcalloc): UWIN has sbrk.
1191 (xrealloc): Fix guard macro.
1192
2c45d1a0
RH
11931999-04-11 Richard Henderson <rth@cygnus.com>
1194
1195 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1196 or <alloca.h>.
1197 * clock.c (GNU_HZ): New definition.
1198 (clock): Use it.
1199 * getruntime.c: Likewise.
1200
1201 * config.table: Use mh-beos.
1202 * config/mh-beos: New file.
1203
391cdef0
MM
12041999-04-11 Mark Mitchell <mark@codesourcery.com>
1205
1206 * cplus-dem.c (demangle_template_value_parm): Handle
1207 pointers-to-members.
1208 (do_type): Handle template parameters as qualifiers.
1209
9d229989
JB
12101999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1211
1212 * cplus-dem.c: Attempt to handle overflows in counts with some
1213 semblance of grace.
1214 (consume_count): Detect overflows. Return -1 to indicate errors,
1215 instead of zero.
1216 (demangle_template_value_parm, demangle_template): Handle change
1217 to consume_count's return convention.
1218
7c72138a
TT
12191999-04-05 Tom Tromey <tromey@cygnus.com>
1220
1221 * testsuite/regress-demangle: New file.
1222 * testsuite/demangle-expected: New file.
1223
1224 * Makefile.in (all, check, installcheck, info, install-info,
1225 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1226 distclean, maintainer-clean, realclean): Depend on corresponding
1227 `-subdir' target.
1228 (all-subdir check-subdir installcheck-subdir info-subdir
1229 install-info-subdir clean-info-subdir dvi-subdir
1230 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1231 distclean-subdir maintainer-clean-subdir): New target.
1232 * testsuite/Makefile.in: New file.
1233 * configure: Rebuilt.
1234 * configure.in: Create testsuite/Makefile.
1235
ae7f7270
MM
12361999-04-02 Mark Mitchell <mark@codesourcery.com>
1237
1238 * splay-tree.h (splay_tree_compare_pointers): Define.
1239
30f72379
MM
12401999-03-30 Mark Mitchell <mark@codesourcery.com>
1241
1242 * splay-tree.c (splay_tree_compare_ints): Define.
1243
4cc48683
TT
12441999-03-30 Tom Tromey <tromey@cygnus.com>
1245
1246 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1247 don't advance input pointer.
1248 (demangle_class_name): If consume_count didn't find a count, do
1249 nothing. Don't bother with `strlen' sanity check; consume_count
1250 does it for us.
1251
3510075c
JL
12521999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1253
1254 From Art Haas <ahaas@neosoft.com>:
1255 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1256 when doing arm or hp style.
1257 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 1258
89f602a7
MK
1259Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1260
1261 * pexecute.c (__CYGWIN32__): Rename to
1262 (__CYGWIN__): this.
1263 * xmalloc.c: Likewise.
1264
1265 Changes to support i386-pc-uwin.
1266 * configure.in (*-*-uwin*): Workaround for vfork bug.
1267 * configure: Regenerate.
1268 * pexecute.c (pexecute): Be like standard Unix.
1269 (pwait): Likewise.
1270 * xmalloc.c (first_break): Define.
1271 (xmalloc_set_program_name): Use.
1272 (xmalloc): Use.
1273
9346c824
FS
1274Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1275
1276 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1277
3510075c
JL
1278Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1279
1280 * config.table: Check cygwin*, not cygwin32*.
1281
8ec65f13
DB
1282Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1283
1284 * Makefile.in: Change mkstemp -> mkstemps.
1285
687361c8
ME
1286Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1287
1288 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1289 * configure.in (funcs): Check for and conditionally add mkstemps to
1290 the list of functions libiberty will provide.
1291 * configure: Rebuilt.
5194cf08 1292
b207e09c
MK
1293Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1294
5194cf08 1295 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
1296 platforms that don't have HZ.
1297 * getruntime.c (HZ): Likewise.
1298
16b4c15e
RH
1299Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1300
1301 * Makefile.in (xstrdup.o): Depend on config.h.
1302
38beb75c
UD
1303Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1304
1305 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1306 freeing it.
1307
7e4311a3
KG
1308Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1309
1310 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1311
3510075c
JL
1312Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1313
1314 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1315 splay-tree.o.
1316
13171999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1318
1319 * configure.in: Require autoconf 2.12.1 or higher.
1320
fb9939b8
MM
13211998-12-30 Michael Meissner <meissner@cygnus.com>
1322
1323 * random.c (NULL): Don't redefine NULL if it is already defined.
1324
087aa398
KG
1325Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1326
1327 * argv.c (buildargv): Cast the result of alloca in assignment.
1328
1329 * choose-temp.c: Include stdlib.h.
38beb75c 1330
087aa398
KG
1331 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1332 (snarf_numeric_literal): Constify first parameter.
1333 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1334 int, not a char.
1335 (demangle_qualifier): Likewise.
1336 (demangle_signature): Cast the argument of a ctype function to
1337 unsigned char.
1338 (arm_pt): Add parens around assignment used as truth value.
1339 (demangle_arm_hp_template): Constify variable `args'.
1340 (do_hpacc_template_const_value): Cast the argument of a ctype
1341 function to unsigned char.
1342 (do_hpacc_template_literal): Remove unused variable `i'.
1343 (snarf_numeric_literal): Constify parameter `args'.
1344 Cast the argument of a ctype function to unsigned char.
1345
1346 * floatformat.c (floatformat_to_double): Add explicit braces to
1347 avoid ambiguous `else'.
38beb75c 1348
087aa398
KG
1349 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1350 `cstart' and `cend' to unsigned char. Cast the argument of macro
1351 `FOLD', which uses ctype functions, to unsigned char.
1352
1353 * objalloc.c (free): Add prototype.
1354
21f2174d
HPN
1355Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1356
1357 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1358
3510075c
JL
1359Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1360
1361 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1362 doesn't exist.
1363 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 1364
e8fc8222
AM
1365Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1366
1367 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1368 bumping the pointer we read from. Also prepend these codes,
1369 as we do in other places.
1370
3510075c
JL
13711998-12-18 Nick Clifton <nickc@cygnus.com>
1372
1373 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1374 'const char *' in order to match its usage when calling siblings.
1375 (snarf_numeric_literal): Make first arg 'const char **' in order
1376 to match usage.
11a0bb74 1377
f4f30aa1
JL
1378Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1379
11a0bb74
KG
1380 * choose-temp.c: Don't check IN_GCC anymore.
1381
1382 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1383 * memchr.c (memchr): Likewise.
1384 * memcpy.c (memcpy): Likewise.
1385 * memmove.c (memmove): Likewise.
38beb75c 1386
11a0bb74
KG
1387 * mkstemp.c: Don't check IN_GCC anymore.
1388 * pexecute.c: Likewise.
1389 * splay-tree.c: Likewise.
38beb75c 1390
11a0bb74
KG
1391 * strchr.c (strchr): Use `const', not `CONST'.
1392 * strrchr.c (strrchr): Likewise.
1393 * strtol.c (strtol): Likewise.
1394 * strtoul.c (strtoul): Likewise.
1395
70d5ccef
DT
1396Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1397 Elena Zannoni <ezannoni@cygnus.com>
1398 Stan Shebs <shebs@cygnus.com>
1399 Edith Epstein <eepstein@cygnus.com>
1400 Andres MacLeod <amacleod@cygnus.com>
1401 Satish Pai <pai@apollo.hp.com>
1402
1403 * HP aCC demangling support.
1404 * cplus-dem.c
1405 (main): Remove default to HP style demangling, set to EDG
1406 demangling correctly when -edg specified; set the demangling style
1407 when user specifies 'edg'. Set strip_underscore to
1408 prepends_underscore, if not HPUXHPPA. Set
1409 current_demangling_style to hp_demangling if HPUXHPPA. Set
1410 current demangling style correctly if the switch is hp. Read
1411 label correctly also in the HP style case.
1412 (work_stuff): add temp_start field; add field for volatile member
1413 function.
1414 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1415 style for this case is the same as ARM.
1416 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1417 (demangle_arm_hp_template): new function. (It was
1418 demangle_arm_pt.); check and set value of temp_start field in
1419 multiple places. Also, when ceching for end of template args,
1420 check to see if at end of static member of template class.
1421 (demangle_class): new local variable : save_class_name_end Don't
1422 include template args in string defining class.
1423 (demangle_class_name): use demangel_arm_hp_template.
1424 (demangle_function_name): handle case where demangling style is
1425 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1426 Handle EDG_DEMANGLING style. Handle constructor and destructor
1427 ops for HP style.
1428 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1429 styles. global destructor and constructor for HP style are same
1430 as for ARM style. Same for local variables.
1431 (demangle_qualified): handle EDG_DEMANGLING style.
1432 (demangle_signature): add case for volatile member function. For
1433 cases '1' - '9' : initialize the temp_start field to -1 and handle
1434 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1435 and AUTO_DEMANGLING styles. If expecting a function and managed
1436 to demangle the funct args, then handle the LUCID_DEMANGLING,
1437 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1438 class name after "Lnnn_ in HP style case. HP style too needs to
1439 forget types. _nnn is OK for HP style, so don't report failure.
1440 (do_hpacc_template_const_value): new function. Handle template's
1441 value param for HP/aCC.
1442 (do_hpacc_template_literal): new function. Handle a template's
1443 literal parameter for HP aCC.
1444 (recursively_demangle): new function
1445 (snarf_numeric_literal): new function.
1446 (usage): add 'edg' to the list of demangling styles; add hp switch
1447 to message.
1448
8d525fa8
CF
1449Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1450
1451 * pexecute.c: Remove obsolete ifdefed cygwin code.
1452
9b1a92d8
KG
1453Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1454
1455 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1456 * cplus-dem.c: Likewise. Conform to libiberty.h.
1457 * pexecute.c: Likewise.
1458 * splay-tree.c: Likewise.
1459
c85c3232
MS
14601998-11-25 Mike Stump <mrs@wrs.com>
1461
1462 * Makefile.in (splay-tree.o): Add config.h dependency.
1463
35a6cd99
KG
1464Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1465
1466 * configure.in: Use AC_PREREQ(2.12.1).
1467
6e6e34b7
BK
14681998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1469
5194cf08 1470 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 1471
59b67c11
JL
1472Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1473
1474 * mpw.c (mpw_access): Add missing parens.
1475
a6458d1d
KG
1476Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1477
1478 * configure.in: Call AC_HEADER_SYS_WAIT.
1479
1480 * pexecute.c: Include sys/wait.h when !IN_GCC.
1481
3510075c
JL
1482Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1483
1484 * pexecute.c: revert back to checking old Cygwin
1485 preprocessor symbol until some time has passed.
1486
1487Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1488
1489 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1490 since it will now support similar constructs.
1491
a9acf741
KG
1492Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1493
1494 * configure.in: Check for calloc.
1495
1496 * calloc.c: New file.
1497
1498 * xmalloc.c (xcalloc): New function.
1499
a49fb37a
AM
1500Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1501
1502 *cplus-dem.c (demangle_prefix): Use the last "__"
1503 in the mangled name when looking for the signature. This allows
1504 template names to begin with "__".
1505
0e714131
MM
15061998-11-08 Mark Mitchell <mark@markmitchell.com>
1507
ec2288ff
MM
1508 * cplus-dem.c (type_kind_t): Add tk_reference.
1509 (demangle_template_value_parm): Handle it.
1510 (do_type): Use it for references, instead of tk_pointer.
1511
0e714131
MM
1512 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1513 not internal_cplus_demangle.
1514
2931b6d4
KG
1515Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1516
1517 * choose-temp.c: Don't include gansidecl.h.
1518 * mkstemp.c: Likewise.
1519 * pexecute.c: Likewise.
1520
dd8f3ed5
GN
1521Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1522
5194cf08
ZW
1523 * configure.in: detect cygwin* instead of cygwin32*
1524 * configure: regenerate
dd8f3ed5 1525
c5f7c445
KG
1526Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1527
1528 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1529 whether to include config.h. Possibly include unistd.h in the
1530 !IN_GCC case. Define VFORK_STRING as a printable function call
1531 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1532 defined, include vfork.h. If VMS is defined, define vfork()
1533 appropriately. Remove vfork check on USG, we're using autoconf.
1534 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1535 locally what string to use.
1536
ad3ef78e
MM
15371998-10-26 Mark Mitchell <mark@markmitchell.com>
1538
1539 * splay-tree.c: Tweak include directives to make sure declarations of
1540 xmalloc and free are available.
1541
224301c1
MM
15421998-10-25 Mark Mitchell <mark@markmitchell.com>
1543
1544 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1545 anonymous namespaces.
38beb75c 1546
d9db46fd
MM
15471998-10-23 Mark Mitchell <mark@markmitchell.com>
1548
1549 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1550 with type_quals.
1551 (TYPE_UNQUALIFIED): New macro.
1552 (TYPE_QUAL_CONST): Likewise.
1553 (TYPE_QUAL_VOLATILE): Likewise.
1554 (TYPE_QUAL_RESTRICT): Likewise.
1555 (code_for_qualifier): New function.
1556 (qualifier_string): Likewise.
1557 (demangle_qualifier): Likewise.
1558 (internal_cplus_demangle): Use them.
1559 (demangle_signature): Likewise.
1560 (demangle_template_value_parm): Likewise.
1561 (do_type): Likewise.
1562 (demangle_fund_type)): Likewise.
224301c1 1563
b056ad1c
KG
1564Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1565
1566 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1567 to match prototype.
1568
ed87f9c8
MM
15691998-10-21 Mark Mitchell <mark@markmitchell.com>
1570
1571 * splay-tree.c: New file.
1572 * Makefile.in (CFILES): Add it.
1573 (REQUIRED_OFILES): Likewise.
1574 (splay-tree.o): Add dependencies.
1575
e0c13971
AS
1576Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1577
1578 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1579 range of 'K' index.
1580
91e0f659
KG
1581Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1582
1583 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1584
1585 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1586 `unsigned char'.
1587 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1588 comparing against one.
1589 (cplus_mangle_opname): Likewise.
1590 (demangle_integral_value): Cast argument of ctype macro to
1591 `unsigned char'.
1592 (demangle_template_value_parm): Likewise.
1593 (demangle_template): Initialize variable `bindex'. Cast the
1594 result of `strlen' to (int) when comparing against one. Remove
1595 unused variable `start_of_value_parm'.
1596 (demangle_class_name): Cast the result of `strlen' to (int) when
1597 comparing against one.
1598 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1599 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1600 when comparing against one.
1601 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1602 (get_count): Likewise.
1603 (do_type): Likewise. Cast the result of `strlen' to (int) when
1604 comparing against one.
1605 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1606 (demangle_function_name): Cast the result of `strlen' to (int)
1607 when comparing against one.
1608
1609 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1610 comparing against one.
1611
73aeb2ff
JL
1612Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1613
5194cf08
ZW
1614 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1615 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1616 * config.in, configure: Rebuilt.
ae76f1be 1617
73aeb2ff
JL
1618 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1619 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1620 * config.in, configure: Rebuilt.
1621
dd8f3ed5
GN
1622Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1623
5194cf08 1624 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 1625
f77d8413
MT
1626Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1627
1628 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1629
ca6b370d
JL
1630Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1631
1632 * Merge egcs & devo libiberty.
1633
ab4856b1
ML
1634