]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
* splay-tree.h (splay_tree_remove): Declare.
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
b4fe2683
JM
1Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2
3 * Makefile.in (partition.o): Depend on config.h
4
52000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
6
7 * hashtab.c (find_empty_slot_for_expand): New function.
8 (htab_expand): Use it instead of htab_find_slot.
9 (htab_find_with_hash): Renamed from htab_find; now accepts extra
10 argument HASH.
11 (htab_find_slot_with_hash): Likewise for htab_find_slot.
12 (htab_find): New wrapper function.
13 (htab_find_slot): Likewise.
14 (htab_traverse): Pass slot, not entry, to called function.
15
162000-03-09 Alex Samuel <samuel@codesourcery.com>
17
18 * Makefile.in (CFILES): Add partition.c.
19 (REQUIRED_OFILES): Add partition.o.
20 (partition.o): New rule.
21 * partition.c: New file.
22
232000-03-09 Zack Weinberg <zack@wolery.cumb.org>
24
25 * hashtab.c (htab_create): Set del_f.
26 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
27 Use it.
28
292000-03-08 Zack Weinberg <zack@wolery.cumb.org>
30
31 * hashtab.c: Remove debugging variables (all_searches,
32 all_collisions, all_expansions). Delete
33 all_hash_table_collisions.
34 (create_hash_table, delete_hash_table, empty_hash_table,
35 find_hash_table_entry, remove_element_from_hash_table_entry,
36 clear_hash_table_slot, traverse_hash_table, hash_table_size,
37 hash_table_elements_number, hash_table_collisions): Rename to:
38 htab_create, htab_delete, htab_empty, htab_find_slot,
39 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
40 htab_elements, htab_collisions.
41 (htab_find): New function, handles common case where you don't
42 plan to add or delete an entry.
43 (htab_expand): Don't create a whole new table, just a new
44 entry vector.
45 (htab_find_slot): Simplify logic.
46
08372f14
ILT
471999-08-03 Ian Lance Taylor <ian@zembu.com>
48
49 * floatformat.c: Add casts to avoid signed/unsigned warnings.
50 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
51
52 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
53 $(TARGETLIB)n so it works on MSDOS.
54 (install_to_tooldir): Likewise.
55
9c8ac5a9
ILT
561999-07-21 Ian Lance Taylor <ian@zembu.com>
57
58 From Mark Elbrecht:
59 * makefile.dos: Remove; obsolete.
8f36e47c 60 * configure.bat: Remove; obsolete.
9c8ac5a9 61
0c0a36a4
ILT
621999-07-11 Ian Lance Taylor <ian@zembu.com>
63
64 * splay-tree.c (splay_tree_insert): Add initialization to avoid
65 warning.
66
672000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
68
69 * pexecute.c: Conditionally include string.h.
b4fe2683 70 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
71
722000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
73
74 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
75 we're using gcc.
76
77 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
78
791999-12-27 Geoff Keating <geoffk@cygnus.com>
80
81 * vasprintf.c (int_vasprintf): Don't re-read the format character
82 as this mishandles strings like '%%s'.
83
841999-12-05 Mark Mitchell <mark@codesourcery.com>
85
86 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
87 rather than struct splay_tree_node.
88 (splay_tree_insert): Use struct splay_tree_s rather than struct
89 splay_tree.
90
91Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
92
93 * hashtab.c (sys/types.h): File included.
94
951999-11-22 Jason Merrill <jason@casey.cygnus.com>
96
97 * strtoul.c, strtol.c, random.c: Remove advertising clause from
98 BSD license, pursuant with
99
100 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
101
102Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
103
104 * hashtab.c: Include stdio.h.
105
106Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
107
108 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
109
110Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
111
112 * xstrdup (sys/types.h): Include this file.
113
1141999-10-28 Nathan Sidwell <nathan@acm.org>
115
116 * Makefile.in (SUBDIRS): New macro.
117 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
118 avoid multiple subdirectory cleaning.
119 (*-subdir): Use SUBDIRS.
120
1211999-10-25 Jim Kingdon <http://developer.redhat.com/>
122
123 * cplus-dem.c: Move declarations of standard_symbol_characters and
124 hp_symbol_characters inside #ifdef MAIN to avoid compiler
125 warnings.
126
1271999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
128
129 * hashtab.c (find_hash_table_entry): When returning a
130 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
131 (clear_hash_table_slot): New function which deletes an entry
132 by its position in the table, not its value.
133 (traverse_hash_table): New function which calls a hook
134 function for every live entry in the table.
135
1361999-10-19 Mark Mitchell <mark@codesourcery.com>
137
138 * cplus-dem.c (INTBUF_SIZE): New macro.
139 (string_append_template_idx): New function.
140 (demangle_expression): Likewise.
141 (demangle_integral_value): Use it.
142 (demangle_real_value): New function, split out from ...
143 (demangle_template_value_parm): ... here. Use
144 string_append_template_idx. Use demangle_real_value.
145 (demangle_template): Use string_append_template_idx.
146 (demangle_qualified): Use consume_count_with_underscores.
147 (get_count): Tweak formatting.
148 (do_type): Use string_append_template_idx.
b4fe2683 149
0c0a36a4
ILT
1501999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
151
152 * calloc.c: Add a public domain notice.
153
154Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
155
156 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
157
158Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
159
160 * Makefile.in (CFILES): Add hashtab.c
161 (REQUIRED_OFILES): Add hashtab.o
162 (hashtab.o): Add dependencies.
163 * hashtab.c: New file
164
165Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
166
167 * basename.c (DIR_SEPARATOR): New macro.
168 (DIR_SEPARATOR_2): Likewise.
169 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
170 (IS_DIR_SEPARATOR): Likewise.
171 (main): Handle MSDOS style pathname.
172
1731999-10-11 Mark Mitchell <mark@codesourcery.com>
174
175 * cplus-dem.c (do_type): Handle pointer to member types whose
176 enclosing classes have namespace scope.
177
178Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
179
180 * config.table: Provide a backup shell for executing move-if-change.
181
1821999-10-02 Mark Mitchell <mark@codesourcery.com>
183
184 * xmalloc.c (xmalloc): Fix spelling error.
185 (xcalloc, xrealloc): Likewise.
186
1871999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
188
189 * cplus-dem.c (fancy_abort, demangle_integral_value,
190 demangle_arm_hp_template, recursively_demangle,
191 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
192 (program_name, program_version, fatal): Constify a char*.
193 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
194 (main): Call return, not exit.
195
1961999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197
198 * choose-temp.c: Remove obsolete comment about gcc.
199 (make_temp_file): Constify a char*.
200
201Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
202
203 * xmemdup.c: Include sys/types.h.
204
2051999-09-07 Jeff Garzik <jgarzik@pobox.com>
206
207 * xmemdup.c: New xmemdup function.
208 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
209
210Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
211
b4fe2683 212 * config.table: Add openedition target.
0c0a36a4
ILT
213 * config/mh-openedition: New file.
214
215Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
216
217 * pexecute.c (pexecute): Fill in temp_base when needed.
218
2191999-08-31 Richard Henderson <rth@cygnus.com>
220
221 * getpwd.c: Check HAVE_GETCWD before defining it away.
222
2231999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224
225 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
226 (REQUIRED_OFILES): Add getpwd.o.
227 (getpwd.o): Add target.
228
229 * configure.in (AC_PREREQ): Bump to 2.13.
230 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
231
232 * getpwd.c: New file, moved here from gcc.
233
2341999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
235
236 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
237 comparing against a signed quantity.
238 (arm_special): Likewise.
239 (demangle_fund_type): Likewise.
240 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 241 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
242 (main): Constify variable `valid_symbols'.
243
244Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
245
246 * strtoul.c (strtoul): Add parentheses around && within ||.
247
248Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
249
250 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
251 libdir, libsubdir and tooldir.
252
2531999-08-01 Mark Mitchell <mark@codesourcery.com>
254
255 * splay-tree.c (splay_tree_insert): Return the new node.
256
35ca97ea
RH
2571999-07-14 Richard Henderson <rth@cygnus.com>
258
b4fe2683 259 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
260 prototyping directly.
261 * choose-temp.c: Conditionally include string.h.
262
0c0a36a4
ILT
2631999-07-12 Jason Merrill <jason@yorick.cygnus.com>
264
265 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
266
af32ff69
ILT
2671999-07-11 Ian Lance Taylor <ian@zembu.com>
268
269 * splay-tree.c (splay_tree_insert): Add initialization to avoid
270 warning.
271
0c0a36a4
ILT
2721999-07-07 Jason Merrill <jason@yorick.cygnus.com>
273
274 * Makefile.in (needed-list): Only include stuff we actually need
275 for libstdc++.
276
2771999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
278
279 * configure.in (checkfuncs): Add gettimeofday.
280 * config.in, configure: Regenerated.
281
282Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
283
284 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
285 the test fails.
286 * configure: Regenerate.
287
2881999-06-10 Mike Stump <mrs@wrs.com>
289
290 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
291 parallel builds.
292
2931999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
294
295 * putenv.c: Include ansidecl.h to define `const'.
296 * setenv.c: Likewise.
297
298Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
299
300 * Makefile.in (CFILES): Add putenv.c and setenv.c.
301 * configure.in (funcs): Add putenv and setenv.
302 (AC_CHECK_FUNCS): Check for putenv and setenv.
303 * configure: Rebuilt.
304 * putenv.c setenv.c: New files.
305
306 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
307 bytes of space using malloc.
308
309Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
310
311 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
312 the *mangled pointer beyond the end of the string. Clean up code to
313 match prevailing coding style.
314
3151999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
316
317 * tmpnam.c (L_tmpnam): Fix typo.
318
319Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
320
321 * cplus-dem.c (standard_symbol_characters): Renamed from
322 standard_symbol_alphabet. No longer modify TABLE.
323 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
324 modify TABLE.
325 (main): Corresponding changes. Use strchr to determine if a
326 character is valid.
327
e9868447
JB
3281999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
329
330 * cplus-dem.c (main): Use table lookup to distinguish identifier
331 characters from non-identifier characters.
332 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
333
33fbbfbc
RH
334Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
335
336 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
337 * getruntime.c: Only attempt to include sys/resource.h and
338 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
339 are defined.
340
0c0a36a4
ILT
341Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
342
343 * configure.in (alloca detection): Handle alloca directly for interix.
344 * configure: Rebuilt.
345
346Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
347
348 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
349
252b5132
RH
3501999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
351
352 Fix from Dale Hawkins:
b4fe2683 353 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
354 reallocated properly if we use it again.
355
356 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
357 stricter about syntax. Always null-terminate string.
358
c1687039
ILT
359Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
360
361 * configure.in (checkfuncs): Check for sbrk.
362 * config.in: Rebuilt.
363 * configure: Likewise.
364 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
365
0c0a36a4
ILT
3661999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
367
368 Fix from Marcus Daniels:
369 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
370 identifier looking for another underscore.
371
372Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
373
374 * pexecute.c: Change all references to __UWIN__ to _UWIN.
375 * xmalloc.c: Likewise.
376 (xcalloc): UWIN has sbrk.
377 (xrealloc): Fix guard macro.
378
252b5132
RH
3791999-04-11 Richard Henderson <rth@cygnus.com>
380
381 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
382 or <alloca.h>.
383 * clock.c (GNU_HZ): New definition.
384 (clock): Use it.
385 * getruntime.c: Likewise.
386
387 * config.table: Use mh-beos.
388 * config/mh-beos: New file.
389
0c0a36a4
ILT
3901999-04-11 Mark Mitchell <mark@codesourcery.com>
391
392 * cplus-dem.c (demangle_template_value_parm): Handle
393 pointers-to-members.
394 (do_type): Handle template parameters as qualifiers.
395
252b5132
RH
3961999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
397
398 * cplus-dem.c: Attempt to handle overflows in counts with some
399 semblance of grace.
400 (consume_count): Detect overflows. Return -1 to indicate errors,
401 instead of zero.
402 (demangle_template_value_parm, demangle_template): Handle change
403 to consume_count's return convention.
404
0c0a36a4
ILT
4051999-04-05 Tom Tromey <tromey@cygnus.com>
406
407 * testsuite/regress-demangle: New file.
408 * testsuite/demangle-expected: New file.
252b5132 409
0c0a36a4
ILT
410 * Makefile.in (all, check, installcheck, info, install-info,
411 clean-info, dvi, install, etags, tags, mostlyclean, clean,
412 distclean, maintainer-clean, realclean): Depend on corresponding
413 `-subdir' target.
414 (all-subdir check-subdir installcheck-subdir info-subdir
415 install-info-subdir clean-info-subdir dvi-subdir
416 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
417 distclean-subdir maintainer-clean-subdir): New target.
418 * testsuite/Makefile.in: New file.
419 * configure: Rebuilt.
420 * configure.in: Create testsuite/Makefile.
252b5132
RH
421
4221999-04-02 Mark Mitchell <mark@codesourcery.com>
423
424 * splay-tree.h (splay_tree_compare_pointers): Define.
425
4261999-03-30 Mark Mitchell <mark@codesourcery.com>
427
428 * splay-tree.c (splay_tree_compare_ints): Define.
429
4301999-03-30 Tom Tromey <tromey@cygnus.com>
431
432 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
433 don't advance input pointer.
434 (demangle_class_name): If consume_count didn't find a count, do
435 nothing. Don't bother with `strlen' sanity check; consume_count
436 does it for us.
437
4381999-03-16 Stan Shebs <shebs@andros.cygnus.com>
439
440 From Art Haas <ahaas@neosoft.com>:
441 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
442 when doing arm or hp style.
443 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 444
252b5132
RH
445Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
446
447 * pexecute.c (__CYGWIN32__): Rename to
448 (__CYGWIN__): this.
449 * xmalloc.c: Likewise.
450
451 Changes to support i386-pc-uwin.
452 * configure.in (*-*-uwin*): Workaround for vfork bug.
453 * configure: Regenerate.
454 * pexecute.c (pexecute): Be like standard Unix.
455 (pwait): Likewise.
456 * xmalloc.c (first_break): Define.
457 (xmalloc_set_program_name): Use.
458 (xmalloc): Use.
459
460Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
461
462 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
463
464Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
465
466 * config.table: Check cygwin*, not cygwin32*.
467
468Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
469
470 * Makefile.in: Change mkstemp -> mkstemps.
471
472Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
473
474 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
475 * configure.in (funcs): Check for and conditionally add mkstemps to
476 the list of functions libiberty will provide.
477 * configure: Rebuilt.
b4fe2683 478
252b5132
RH
479Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
480
b4fe2683 481 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
482 platforms that don't have HZ.
483 * getruntime.c (HZ): Likewise.
484
485Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
486
487 * Makefile.in (xstrdup.o): Depend on config.h.
488
489Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
490
491 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
492 freeing it.
493
494Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
495
496 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
497
498Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
499
500 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
501 splay-tree.o.
502
5031999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
504
505 * configure.in: Require autoconf 2.12.1 or higher.
506
5071998-12-30 Michael Meissner <meissner@cygnus.com>
508
509 * random.c (NULL): Don't redefine NULL if it is already defined.
510
511Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
512
513 * argv.c (buildargv): Cast the result of alloca in assignment.
514
515 * choose-temp.c: Include stdlib.h.
516
517 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
518 (snarf_numeric_literal): Constify first parameter.
519 (code_for_qualifier): Avoid a gcc extension, make the parameter an
520 int, not a char.
521 (demangle_qualifier): Likewise.
522 (demangle_signature): Cast the argument of a ctype function to
523 unsigned char.
524 (arm_pt): Add parens around assignment used as truth value.
525 (demangle_arm_hp_template): Constify variable `args'.
526 (do_hpacc_template_const_value): Cast the argument of a ctype
527 function to unsigned char.
528 (do_hpacc_template_literal): Remove unused variable `i'.
529 (snarf_numeric_literal): Constify parameter `args'.
530 Cast the argument of a ctype function to unsigned char.
531
532 * floatformat.c (floatformat_to_double): Add explicit braces to
533 avoid ambiguous `else'.
534
535 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
536 `cstart' and `cend' to unsigned char. Cast the argument of macro
537 `FOLD', which uses ctype functions, to unsigned char.
538
539 * objalloc.c (free): Add prototype.
540
541Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
542
543 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
544
545Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
546
547 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
548 doesn't exist.
549 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 550
252b5132
RH
551Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
552
553 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
554 bumping the pointer we read from. Also prepend these codes,
555 as we do in other places.
556
5571998-12-18 Nick Clifton <nickc@cygnus.com>
558
559 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
560 'const char *' in order to match its usage when calling siblings.
561 (snarf_numeric_literal): Make first arg 'const char **' in order
562 to match usage.
563
564Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
565
566 * choose-temp.c: Don't check IN_GCC anymore.
567
568 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
569 * memchr.c (memchr): Likewise.
570 * memcpy.c (memcpy): Likewise.
571 * memmove.c (memmove): Likewise.
572
573 * mkstemp.c: Don't check IN_GCC anymore.
574 * pexecute.c: Likewise.
575 * splay-tree.c: Likewise.
576
577 * strchr.c (strchr): Use `const', not `CONST'.
578 * strrchr.c (strrchr): Likewise.
579 * strtol.c (strtol): Likewise.
580 * strtoul.c (strtoul): Likewise.
581
582Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
583 Elena Zannoni <ezannoni@cygnus.com>
584 Stan Shebs <shebs@cygnus.com>
585 Edith Epstein <eepstein@cygnus.com>
586 Andres MacLeod <amacleod@cygnus.com>
587 Satish Pai <pai@apollo.hp.com>
588
589 * HP aCC demangling support.
590 * cplus-dem.c
591 (main): Remove default to HP style demangling, set to EDG
592 demangling correctly when -edg specified; set the demangling style
593 when user specifies 'edg'. Set strip_underscore to
594 prepends_underscore, if not HPUXHPPA. Set
595 current_demangling_style to hp_demangling if HPUXHPPA. Set
596 current demangling style correctly if the switch is hp. Read
597 label correctly also in the HP style case.
598 (work_stuff): add temp_start field; add field for volatile member
599 function.
600 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
601 style for this case is the same as ARM.
602 (demangle_args): handle EDG_DEMANGLING style; support HP style.
603 (demangle_arm_hp_template): new function. (It was
604 demangle_arm_pt.); check and set value of temp_start field in
605 multiple places. Also, when ceching for end of template args,
606 check to see if at end of static member of template class.
607 (demangle_class): new local variable : save_class_name_end Don't
608 include template args in string defining class.
609 (demangle_class_name): use demangel_arm_hp_template.
610 (demangle_function_name): handle case where demangling style is
611 HP_DEMANGLING and currently point at an 'X' in the mangled name.
612 Handle EDG_DEMANGLING style. Handle constructor and destructor
613 ops for HP style.
614 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
615 styles. global destructor and constructor for HP style are same
616 as for ARM style. Same for local variables.
617 (demangle_qualified): handle EDG_DEMANGLING style.
618 (demangle_signature): add case for volatile member function. For
619 cases '1' - '9' : initialize the temp_start field to -1 and handle
620 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
621 and AUTO_DEMANGLING styles. If expecting a function and managed
622 to demangle the funct args, then handle the LUCID_DEMANGLING,
623 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
624 class name after "Lnnn_ in HP style case. HP style too needs to
625 forget types. _nnn is OK for HP style, so don't report failure.
626 (do_hpacc_template_const_value): new function. Handle template's
627 value param for HP/aCC.
628 (do_hpacc_template_literal): new function. Handle a template's
629 literal parameter for HP aCC.
630 (recursively_demangle): new function
631 (snarf_numeric_literal): new function.
632 (usage): add 'edg' to the list of demangling styles; add hp switch
633 to message.
634
635Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
636
637 * pexecute.c: Remove obsolete ifdefed cygwin code.
638
639Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
640
641 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
642 * cplus-dem.c: Likewise. Conform to libiberty.h.
643 * pexecute.c: Likewise.
644 * splay-tree.c: Likewise.
645
6461998-11-25 Mike Stump <mrs@wrs.com>
647
648 * Makefile.in (splay-tree.o): Add config.h dependency.
649
650Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
651
652 * configure.in: Use AC_PREREQ(2.12.1).
653
6541998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
655
b4fe2683 656 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
657
658Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
659
660 * mpw.c (mpw_access): Add missing parens.
661
662Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
663
664 * configure.in: Call AC_HEADER_SYS_WAIT.
665
666 * pexecute.c: Include sys/wait.h when !IN_GCC.
667
668Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
669
670 * pexecute.c: revert back to checking old Cygwin
671 preprocessor symbol until some time has passed.
672
673Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
674
675 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
676 since it will now support similar constructs.
677
678Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
679
680 * configure.in: Check for calloc.
681
682 * calloc.c: New file.
683
684 * xmalloc.c (xcalloc): New function.
685
686Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
687
688 *cplus-dem.c (demangle_prefix): Use the last "__"
689 in the mangled name when looking for the signature. This allows
690 template names to begin with "__".
691
6921998-11-08 Mark Mitchell <mark@markmitchell.com>
693
694 * cplus-dem.c (type_kind_t): Add tk_reference.
695 (demangle_template_value_parm): Handle it.
696 (do_type): Use it for references, instead of tk_pointer.
697
698 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
699 not internal_cplus_demangle.
700
701Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
702
703 * choose-temp.c: Don't include gansidecl.h.
704 * mkstemp.c: Likewise.
705 * pexecute.c: Likewise.
706
707Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
708
b4fe2683
JM
709 * configure.in: detect cygwin* instead of cygwin32*
710 * configure: regenerate
252b5132
RH
711
712Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
713
714 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
715 whether to include config.h. Possibly include unistd.h in the
716 !IN_GCC case. Define VFORK_STRING as a printable function call
717 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
718 defined, include vfork.h. If VMS is defined, define vfork()
719 appropriately. Remove vfork check on USG, we're using autoconf.
720 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
721 locally what string to use.
722
7231998-10-26 Mark Mitchell <mark@markmitchell.com>
724
725 * splay-tree.c: Tweak include directives to make sure declarations of
726 xmalloc and free are available.
727
7281998-10-25 Mark Mitchell <mark@markmitchell.com>
729
730 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
731 anonymous namespaces.
732
7331998-10-23 Mark Mitchell <mark@markmitchell.com>
734
735 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
736 with type_quals.
737 (TYPE_UNQUALIFIED): New macro.
738 (TYPE_QUAL_CONST): Likewise.
739 (TYPE_QUAL_VOLATILE): Likewise.
740 (TYPE_QUAL_RESTRICT): Likewise.
741 (code_for_qualifier): New function.
742 (qualifier_string): Likewise.
743 (demangle_qualifier): Likewise.
744 (internal_cplus_demangle): Use them.
745 (demangle_signature): Likewise.
746 (demangle_template_value_parm): Likewise.
747 (do_type): Likewise.
748 (demangle_fund_type)): Likewise.
749
750Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
751
752 * splay-tree.c (splay_tree_foreach_helper): Make definition static
753 to match prototype.
754
7551998-10-21 Mark Mitchell <mark@markmitchell.com>
756
757 * splay-tree.c: New file.
758 * Makefile.in (CFILES): Add it.
759 (REQUIRED_OFILES): Likewise.
760 (splay-tree.o): Add dependencies.
761
762Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
763
764 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
765 range of 'K' index.
766
767Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
768
769 * choose-temp.c: Prototype mkstemps() when IN_GCC.
770
771 * cplus-dem.c (consume_count): Cast argument of ctype macro to
772 `unsigned char'.
773 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
774 comparing against one.
775 (cplus_mangle_opname): Likewise.
776 (demangle_integral_value): Cast argument of ctype macro to
777 `unsigned char'.
778 (demangle_template_value_parm): Likewise.
779 (demangle_template): Initialize variable `bindex'. Cast the
780 result of `strlen' to (int) when comparing against one. Remove
781 unused variable `start_of_value_parm'.
782 (demangle_class_name): Cast the result of `strlen' to (int) when
783 comparing against one.
784 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
785 (gnu_special): Likewise. Cast the result of `strlen' to (int)
786 when comparing against one.
787 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
788 (get_count): Likewise.
789 (do_type): Likewise. Cast the result of `strlen' to (int) when
790 comparing against one.
791 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
792 (demangle_function_name): Cast the result of `strlen' to (int)
793 when comparing against one.
794
795 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
796 comparing against one.
797
798Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
799
b4fe2683
JM
800 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
801 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
802 * config.in, configure: Rebuilt.
252b5132
RH
803
804 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
805 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
806 * config.in, configure: Rebuilt.
807
808Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
809
b4fe2683 810 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
811
812Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
813
814 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
815
816Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
817
818 * Merge egcs & devo libiberty.
819
820