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