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