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