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