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