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