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