Commit | Line | Data |
---|---|---|
2ed78d1b HPN |
1 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> |
2 | ||
3 | * testsuite/regress-demangle (failed test): Show result and | |
4 | expected output. | |
5 | ||
0473bdf7 AH |
6 | 2000-07-07 Andrew Haley <aph@cygnus.com> |
7 | ||
8 | * cplus-dem.c (main): fflush() after emitting last char before | |
9 | waiting for input. | |
10 | ||
03d5f569 JM |
11 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> |
12 | ||
13 | * cp-demangle.c (demangle_encoding): Accept no substitutions. | |
14 | (demangle_name): Handle <substitution> followed by | |
15 | <unqualified-template-name>. | |
16 | (demangle_type): Follow special substitutions with | |
17 | <class-enum-type> | |
18 | (demangle_subtitution): Set template_p for special substitutions. | |
19 | (main): Fix typos. | |
20 | ||
21 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> | |
22 | ||
23 | * cp-demangle.c (demangle_special_name): Swap base and derived | |
24 | class when demangling construction vtables. | |
25 | ||
26 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> | |
27 | ||
28 | * cp-demangle.c: Don't include ctype.h. | |
29 | (IS_DIGIT): New macro. | |
30 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout | |
31 | instead of isdigit and isalpanum. | |
32 | (demangling_def): Make name and next const pointers. | |
33 | (STATUS_ALLOCATION_FAILED): New status code. | |
34 | (dyn_string_append_space): Handle failure in | |
35 | dyn_string_append_char. | |
36 | (int_to_dyn_string): Likewise. Change return value to status_t. | |
37 | (string_list_new): Handle failure of dyn_string_init. | |
38 | (result_close_template_list): Change return type to status_t. | |
39 | Handle failure in dyn_string_append. | |
40 | (result_push): Change return value to status_t. Handle failure in | |
41 | string_list_new. Handle failure of result_push throughout. | |
42 | (substitution_add): Change return value to status_t. Handle | |
43 | dyn_string failures. Handle failure of substitution_add | |
44 | throughout. | |
45 | (template_arg_list_new): Return NULL on allocation failure. | |
46 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. | |
47 | Handle error result throughout. | |
48 | (result_append): Likewise. | |
49 | (result_append_char): Likewise. | |
50 | (result_append_space): Likewise. | |
51 | (demangling_new): Make argument a const pointer. Handle | |
52 | allocation failures. | |
53 | (demangle_template_args): Handle failure in template_arg_list_new | |
54 | and result_close_template_list. | |
55 | (demangle_discriminator): Return if int_to_dyn_string fails. | |
56 | (cp_demangle): Likewise. | |
57 | (cp_demangle_type): New function. | |
58 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on | |
59 | memory allocation failure. | |
60 | (main): Likewise. | |
61 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if | |
62 | IN_LIBGCC2. | |
63 | (dyn_string_init): Change return value to int. Handle | |
64 | RETURN_ON_ALLOCATION_FAILURE case. | |
65 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
66 | (dyn_string_release): Delete the dyn_string. | |
67 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
68 | (dyn_string_copy): Change return type to int. | |
69 | (dyn_string_copy_cstr): Likewise. | |
70 | (dyn_string_prepend): Likewise. | |
71 | (dyn_string_prepend_cstr): Likewise. | |
72 | (dyn_string_insert): Likewise. | |
73 | (dyn_string_insert_cstr): Likewise. | |
74 | (dyn_string_append): Likewise. | |
75 | (dyn_string_append_cstr): Likewise. | |
76 | (dyn_string_append_char): Likewise. | |
77 | (dyn_string_substring): Likewise. | |
78 | ||
eb383413 | 79 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> |
9cc28cc8 | 80 | |
eb383413 L |
81 | * cp-demangle.c (demangle_operator_name): Add spaces before |
82 | names beginning with a letter: delete, delete[], new, new[], | |
83 | sizeof. | |
84 | (demangle_special_name): Handle TF <type> and TJ <type>. | |
9cc28cc8 | 85 | |
eb383413 L |
86 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> |
87 | ||
88 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. | |
89 | ||
90 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> | |
91 | ||
92 | * cp-demangle.c (stdio.h): File included unconditionaly. | |
93 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). | |
94 | * dyn-string.c (stdio.h): File included. | |
95 | * partition.c (partition_print): No `&' needed to take the address of | |
96 | a function. | |
97 | ||
98 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
99 | ||
100 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. | |
101 | ||
102 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. | |
103 | ||
104 | * cp-demangle.c (demangle_char): Change parameter from char to int. | |
105 | (demangle_expression, demangle_expr_primary): Remove extra | |
106 | semi-colon in prototype. | |
107 | ||
108 | * dyn-string.c (dyn_string_append_char): Change parameter from | |
109 | char to int. | |
110 | ||
111 | * memcmp.c (memcmp): Constify. | |
112 | ||
113 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with | |
114 | __extension__. | |
115 | ||
116 | * partition.c (elem_compare): Prototype. Don't cast away | |
117 | const-ness. | |
118 | ||
119 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. | |
120 | ||
121 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
122 | ||
123 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. | |
124 | ||
125 | * cp-demangle.c: Include demangle.h. | |
126 | (template_arg_list_new): DeANSIfy. | |
127 | (cp_demangle): Make static and add prototype. | |
128 | (operator_code, operators): Constify. | |
129 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. | |
130 | ||
131 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> | |
132 | ||
133 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to | |
134 | unsigned char. | |
135 | (demangle_unqualified_name): Likewise. | |
136 | (demangle_number_literally): Likewise. | |
137 | (demangle_type): Likewise. | |
138 | (demangle_substitution): Likewise. | |
139 | (is_mangled_char): Likewise, for isalnum. | |
140 | ||
141 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> | |
142 | ||
143 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. | |
144 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. | |
145 | (cp-demangle.o): New dependency. | |
146 | (dyn-string.o): Likewise. | |
147 | ||
148 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. | |
149 | ||
150 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI | |
151 | demangler. | |
152 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI | |
153 | demangling mode. | |
154 | (gnu_new_abi_symbol_characters): New function. | |
155 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New | |
156 | file. | |
157 | * cp-demangle.c: New file. | |
158 | ||
f03aa80d AC |
159 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
160 | ||
161 | * floatformat.c: Add name to each floatformat field. | |
162 | ||
77bfb694 JL |
163 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
164 | ||
165 | * Makefile.in (objalloc.o): Depend on config.h | |
166 | ||
5c82d20a ZW |
167 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
168 | ||
eb383413 | 169 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h |
5c82d20a ZW |
170 | if HAVE_STRING_H. |
171 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. | |
172 | * objalloc.c: Include config.h. Include stdlib.h and don't | |
173 | declare malloc or free if HAVE_STDLIB_H. | |
174 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, | |
175 | else declare malloc without prototype. Include string.h if | |
176 | HAVE_STRING_H, else declare memset without prototype. Don't | |
177 | include stddef.h. | |
178 | ||
eb383413 L |
179 | 2000-05-23 Mike Stump <mrs@wrs.com> |
180 | ||
181 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make | |
182 | -j3. | |
183 | ||
184 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> | |
185 | ||
186 | * xmalloc.c: Include config.h for HAVE_SBRK definition. | |
187 | ||
188 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> | |
189 | ||
190 | * hashtab.c (hash_pointer): Delete low-order bits which are | |
191 | probably zero, also eliminate a warning on alpha. | |
192 | ||
193 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> | |
194 | ||
195 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not | |
196 | on $(enable_shared). | |
197 | ||
198 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> | |
199 | ||
200 | * config.table: Use mh-sparcpic for sparc*-*-*. | |
201 | ||
202 | 2000-05-08 Nick Clifton <nickc@cygnus.com> | |
203 | ||
204 | * Makefile.in (CFILES): Add strncmp.c. | |
205 | (NEEDED): Add strncmp. | |
206 | ||
207 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
5c82d20a | 208 | |
eb383413 L |
209 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): |
210 | Cast the arguments to `islower' to `unsigned char'. | |
211 | (print_demangler_list): Prototype. | |
212 | ||
213 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> | |
214 | ||
215 | * sort.c (UCHAR_MAX): Provide fallback definition. | |
216 | ||
217 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
010c70e1 AO |
218 | |
219 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty | |
220 | SUBDIRS. | |
221 | ||
eb383413 L |
222 | 2000-04-28 Kenneth Block <block@zk3.dec.com> |
223 | Jason Merrill <jason@casey.cygnus.com> | |
224 | ||
225 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. | |
226 | (cplus_demangle_set_style): New function for setting style. | |
227 | (cplus_demangle_name_to_style): New function to translate name. | |
228 | ||
229 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
230 | ||
231 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. | |
232 | ||
233 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. | |
234 | (libiberty_AC_FUNC_STRNCMP): Invoke. | |
235 | ||
236 | * strncmp.c: New file. | |
237 | ||
238 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
239 | ||
240 | * hashtab.c (htab_expand): Add prototype. | |
241 | (find_empty_slot_for_expand): Likewise. | |
242 | ||
243 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
244 | ||
245 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to | |
246 | match prototype. | |
247 | (htab_expand): Cast the return value of xcalloc. | |
248 | ||
249 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> | |
250 | ||
251 | * hashtab.c (hash_pointer): New function. | |
252 | (eq_pointer): Likewise. | |
253 | (htab_hash_pointer): New variable. | |
254 | (htab_eq_pointer): Likewise. | |
255 | ||
256 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> | |
257 | ||
258 | * sort.c (sort_pointers): Fix endianness bugs. | |
259 | ||
260 | * sort.c: New file. | |
261 | * Makefile.in (CFILES): Add sort.c | |
262 | (REQUIRED_OFILES): Add sort.o. | |
263 | (sort.o): New target. | |
264 | ||
19be4303 JL |
265 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
266 | ||
267 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on | |
268 | 4.3BSD systems. | |
269 | ||
eb383413 L |
270 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
271 | ||
272 | * hashtab.c: Various minor cleanups. | |
273 | (htab_find_slot_with_hash): INSERT is now enum insert_option. | |
274 | (htab_find_slot): Likewise. | |
275 | ||
276 | 2000-04-16 Dave Pitts <dpitts@cozx.com> | |
277 | ||
278 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. | |
279 | ||
afe36a78 RH |
280 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
281 | ||
282 | * splay-tree.c (splay_tree_remove): New. | |
283 | ||
eb383413 L |
284 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> |
285 | ||
286 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash | |
287 | codes. | |
288 | (htab_find_with_hash): Likewise. | |
289 | (htab_find_slot_with_hash): Likewise. | |
290 | ||
291 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> | |
292 | ||
293 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 | |
294 | unless it will be used. Rearrange loop for better | |
295 | optimization. | |
296 | (higher_prime_number): Add static prototype. | |
297 | ||
b4fe2683 JM |
298 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
299 | ||
300 | * Makefile.in (partition.o): Depend on config.h | |
301 | ||
302 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> | |
303 | ||
304 | * hashtab.c (find_empty_slot_for_expand): New function. | |
305 | (htab_expand): Use it instead of htab_find_slot. | |
306 | (htab_find_with_hash): Renamed from htab_find; now accepts extra | |
307 | argument HASH. | |
308 | (htab_find_slot_with_hash): Likewise for htab_find_slot. | |
309 | (htab_find): New wrapper function. | |
310 | (htab_find_slot): Likewise. | |
311 | (htab_traverse): Pass slot, not entry, to called function. | |
312 | ||
313 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> | |
314 | ||
315 | * Makefile.in (CFILES): Add partition.c. | |
316 | (REQUIRED_OFILES): Add partition.o. | |
317 | (partition.o): New rule. | |
318 | * partition.c: New file. | |
319 | ||
320 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> | |
321 | ||
322 | * hashtab.c (htab_create): Set del_f. | |
323 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): | |
324 | Use it. | |
325 | ||
326 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> | |
327 | ||
328 | * hashtab.c: Remove debugging variables (all_searches, | |
329 | all_collisions, all_expansions). Delete | |
330 | all_hash_table_collisions. | |
331 | (create_hash_table, delete_hash_table, empty_hash_table, | |
332 | find_hash_table_entry, remove_element_from_hash_table_entry, | |
333 | clear_hash_table_slot, traverse_hash_table, hash_table_size, | |
334 | hash_table_elements_number, hash_table_collisions): Rename to: | |
335 | htab_create, htab_delete, htab_empty, htab_find_slot, | |
336 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, | |
337 | htab_elements, htab_collisions. | |
338 | (htab_find): New function, handles common case where you don't | |
339 | plan to add or delete an entry. | |
340 | (htab_expand): Don't create a whole new table, just a new | |
341 | entry vector. | |
342 | (htab_find_slot): Simplify logic. | |
343 | ||
08372f14 ILT |
344 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
345 | ||
346 | * floatformat.c: Add casts to avoid signed/unsigned warnings. | |
347 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. | |
348 | ||
349 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to | |
350 | $(TARGETLIB)n so it works on MSDOS. | |
351 | (install_to_tooldir): Likewise. | |
352 | ||
9c8ac5a9 ILT |
353 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
354 | ||
355 | From Mark Elbrecht: | |
356 | * makefile.dos: Remove; obsolete. | |
8f36e47c | 357 | * configure.bat: Remove; obsolete. |
9c8ac5a9 | 358 | |
0c0a36a4 ILT |
359 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
360 | ||
361 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
362 | warning. | |
363 | ||
364 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> | |
365 | ||
366 | * pexecute.c: Conditionally include string.h. | |
b4fe2683 | 367 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
0c0a36a4 ILT |
368 | |
369 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
370 | ||
371 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if | |
372 | we're using gcc. | |
373 | ||
374 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ | |
375 | ||
376 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> | |
377 | ||
378 | * vasprintf.c (int_vasprintf): Don't re-read the format character | |
379 | as this mishandles strings like '%%s'. | |
380 | ||
381 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> | |
382 | ||
383 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s | |
384 | rather than struct splay_tree_node. | |
385 | (splay_tree_insert): Use struct splay_tree_s rather than struct | |
386 | splay_tree. | |
387 | ||
388 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> | |
389 | ||
390 | * hashtab.c (sys/types.h): File included. | |
391 | ||
392 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> | |
393 | ||
394 | * strtoul.c, strtol.c, random.c: Remove advertising clause from | |
395 | BSD license, pursuant with | |
396 | ||
397 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change | |
398 | ||
399 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) | |
400 | ||
401 | * hashtab.c: Include stdio.h. | |
402 | ||
403 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) | |
404 | ||
405 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. | |
406 | ||
407 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> | |
408 | ||
409 | * xstrdup (sys/types.h): Include this file. | |
410 | ||
411 | 1999-10-28 Nathan Sidwell <nathan@acm.org> | |
412 | ||
413 | * Makefile.in (SUBDIRS): New macro. | |
414 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to | |
415 | avoid multiple subdirectory cleaning. | |
416 | (*-subdir): Use SUBDIRS. | |
417 | ||
418 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> | |
419 | ||
420 | * cplus-dem.c: Move declarations of standard_symbol_characters and | |
421 | hp_symbol_characters inside #ifdef MAIN to avoid compiler | |
422 | warnings. | |
423 | ||
424 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> | |
425 | ||
426 | * hashtab.c (find_hash_table_entry): When returning a | |
427 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. | |
428 | (clear_hash_table_slot): New function which deletes an entry | |
429 | by its position in the table, not its value. | |
430 | (traverse_hash_table): New function which calls a hook | |
431 | function for every live entry in the table. | |
432 | ||
433 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> | |
434 | ||
435 | * cplus-dem.c (INTBUF_SIZE): New macro. | |
436 | (string_append_template_idx): New function. | |
437 | (demangle_expression): Likewise. | |
438 | (demangle_integral_value): Use it. | |
439 | (demangle_real_value): New function, split out from ... | |
440 | (demangle_template_value_parm): ... here. Use | |
441 | string_append_template_idx. Use demangle_real_value. | |
442 | (demangle_template): Use string_append_template_idx. | |
443 | (demangle_qualified): Use consume_count_with_underscores. | |
444 | (get_count): Tweak formatting. | |
445 | (do_type): Use string_append_template_idx. | |
b4fe2683 | 446 | |
0c0a36a4 ILT |
447 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
448 | ||
449 | * calloc.c: Add a public domain notice. | |
450 | ||
451 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> | |
452 | ||
453 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. | |
454 | ||
455 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> | |
456 | ||
457 | * Makefile.in (CFILES): Add hashtab.c | |
458 | (REQUIRED_OFILES): Add hashtab.o | |
459 | (hashtab.o): Add dependencies. | |
460 | * hashtab.c: New file | |
461 | ||
462 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
463 | ||
464 | * basename.c (DIR_SEPARATOR): New macro. | |
465 | (DIR_SEPARATOR_2): Likewise. | |
466 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. | |
467 | (IS_DIR_SEPARATOR): Likewise. | |
468 | (main): Handle MSDOS style pathname. | |
469 | ||
470 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> | |
471 | ||
472 | * cplus-dem.c (do_type): Handle pointer to member types whose | |
473 | enclosing classes have namespace scope. | |
474 | ||
475 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> | |
476 | ||
477 | * config.table: Provide a backup shell for executing move-if-change. | |
478 | ||
479 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> | |
480 | ||
481 | * xmalloc.c (xmalloc): Fix spelling error. | |
482 | (xcalloc, xrealloc): Likewise. | |
483 | ||
484 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
485 | ||
486 | * cplus-dem.c (fancy_abort, demangle_integral_value, | |
487 | demangle_arm_hp_template, recursively_demangle, | |
488 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. | |
489 | (program_name, program_version, fatal): Constify a char*. | |
490 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. | |
491 | (main): Call return, not exit. | |
492 | ||
493 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
494 | ||
495 | * choose-temp.c: Remove obsolete comment about gcc. | |
496 | (make_temp_file): Constify a char*. | |
497 | ||
498 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
499 | ||
500 | * xmemdup.c: Include sys/types.h. | |
501 | ||
502 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> | |
503 | ||
504 | * xmemdup.c: New xmemdup function. | |
505 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. | |
506 | ||
507 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> | |
508 | ||
b4fe2683 | 509 | * config.table: Add openedition target. |
0c0a36a4 ILT |
510 | * config/mh-openedition: New file. |
511 | ||
512 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> | |
513 | ||
514 | * pexecute.c (pexecute): Fill in temp_base when needed. | |
515 | ||
516 | 1999-08-31 Richard Henderson <rth@cygnus.com> | |
517 | ||
518 | * getpwd.c: Check HAVE_GETCWD before defining it away. | |
519 | ||
520 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
521 | ||
522 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. | |
523 | (REQUIRED_OFILES): Add getpwd.o. | |
524 | (getpwd.o): Add target. | |
525 | ||
526 | * configure.in (AC_PREREQ): Bump to 2.13. | |
527 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. | |
528 | ||
529 | * getpwd.c: New file, moved here from gcc. | |
530 | ||
531 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
532 | ||
533 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when | |
534 | comparing against a signed quantity. | |
535 | (arm_special): Likewise. | |
536 | (demangle_fund_type): Likewise. | |
537 | (do_hpacc_template_const_value): Mark parameter `work' with | |
b4fe2683 | 538 | ATTRIBUTE_UNUSED. |
0c0a36a4 ILT |
539 | (main): Constify variable `valid_symbols'. |
540 | ||
541 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> | |
542 | ||
543 | * strtoul.c (strtoul): Add parentheses around && within ||. | |
544 | ||
545 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> | |
546 | ||
547 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, | |
548 | libdir, libsubdir and tooldir. | |
549 | ||
550 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> | |
551 | ||
552 | * splay-tree.c (splay_tree_insert): Return the new node. | |
553 | ||
35ca97ea RH |
554 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
555 | ||
b4fe2683 | 556 | * argv.c: Include stdlib.h and string.h instead of |
35ca97ea RH |
557 | prototyping directly. |
558 | * choose-temp.c: Conditionally include string.h. | |
559 | ||
0c0a36a4 ILT |
560 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
561 | ||
562 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. | |
563 | ||
af32ff69 ILT |
564 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
565 | ||
566 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
567 | warning. | |
568 | ||
0c0a36a4 ILT |
569 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
570 | ||
571 | * Makefile.in (needed-list): Only include stuff we actually need | |
572 | for libstdc++. | |
573 | ||
574 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
575 | ||
576 | * configure.in (checkfuncs): Add gettimeofday. | |
577 | * config.in, configure: Regenerated. | |
578 | ||
579 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
580 | ||
581 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if | |
582 | the test fails. | |
583 | * configure: Regenerate. | |
584 | ||
585 | 1999-06-10 Mike Stump <mrs@wrs.com> | |
586 | ||
587 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix | |
588 | parallel builds. | |
589 | ||
590 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
591 | ||
592 | * putenv.c: Include ansidecl.h to define `const'. | |
593 | * setenv.c: Likewise. | |
594 | ||
595 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> | |
596 | ||
597 | * Makefile.in (CFILES): Add putenv.c and setenv.c. | |
598 | * configure.in (funcs): Add putenv and setenv. | |
599 | (AC_CHECK_FUNCS): Check for putenv and setenv. | |
600 | * configure: Rebuilt. | |
601 | * putenv.c setenv.c: New files. | |
602 | ||
603 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE | |
604 | bytes of space using malloc. | |
605 | ||
606 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> | |
607 | ||
608 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance | |
609 | the *mangled pointer beyond the end of the string. Clean up code to | |
610 | match prevailing coding style. | |
611 | ||
612 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
613 | ||
614 | * tmpnam.c (L_tmpnam): Fix typo. | |
615 | ||
616 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> | |
617 | ||
618 | * cplus-dem.c (standard_symbol_characters): Renamed from | |
619 | standard_symbol_alphabet. No longer modify TABLE. | |
620 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer | |
621 | modify TABLE. | |
622 | (main): Corresponding changes. Use strchr to determine if a | |
623 | character is valid. | |
624 | ||
e9868447 JB |
625 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
626 | ||
627 | * cplus-dem.c (main): Use table lookup to distinguish identifier | |
628 | characters from non-identifier characters. | |
629 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. | |
630 | ||
33fbbfbc RH |
631 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
632 | ||
633 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. | |
634 | * getruntime.c: Only attempt to include sys/resource.h and | |
635 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H | |
636 | are defined. | |
637 | ||
0c0a36a4 ILT |
638 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
639 | ||
640 | * configure.in (alloca detection): Handle alloca directly for interix. | |
641 | * configure: Rebuilt. | |
642 | ||
643 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
644 | ||
645 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. | |
646 | ||
252b5132 RH |
647 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
648 | ||
649 | Fix from Dale Hawkins: | |
b4fe2683 | 650 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
252b5132 RH |
651 | reallocated properly if we use it again. |
652 | ||
653 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be | |
654 | stricter about syntax. Always null-terminate string. | |
655 | ||
c1687039 ILT |
656 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
657 | ||
658 | * configure.in (checkfuncs): Check for sbrk. | |
659 | * config.in: Rebuilt. | |
660 | * configure: Likewise. | |
661 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. | |
662 | ||
0c0a36a4 ILT |
663 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
664 | ||
665 | Fix from Marcus Daniels: | |
666 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the | |
667 | identifier looking for another underscore. | |
668 | ||
669 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
670 | ||
671 | * pexecute.c: Change all references to __UWIN__ to _UWIN. | |
672 | * xmalloc.c: Likewise. | |
673 | (xcalloc): UWIN has sbrk. | |
674 | (xrealloc): Fix guard macro. | |
675 | ||
252b5132 RH |
676 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
677 | ||
678 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin | |
679 | or <alloca.h>. | |
680 | * clock.c (GNU_HZ): New definition. | |
681 | (clock): Use it. | |
682 | * getruntime.c: Likewise. | |
683 | ||
684 | * config.table: Use mh-beos. | |
685 | * config/mh-beos: New file. | |
686 | ||
0c0a36a4 ILT |
687 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
688 | ||
689 | * cplus-dem.c (demangle_template_value_parm): Handle | |
690 | pointers-to-members. | |
691 | (do_type): Handle template parameters as qualifiers. | |
692 | ||
252b5132 RH |
693 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
694 | ||
695 | * cplus-dem.c: Attempt to handle overflows in counts with some | |
696 | semblance of grace. | |
697 | (consume_count): Detect overflows. Return -1 to indicate errors, | |
698 | instead of zero. | |
699 | (demangle_template_value_parm, demangle_template): Handle change | |
700 | to consume_count's return convention. | |
701 | ||
0c0a36a4 ILT |
702 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
703 | ||
704 | * testsuite/regress-demangle: New file. | |
705 | * testsuite/demangle-expected: New file. | |
252b5132 | 706 | |
0c0a36a4 ILT |
707 | * Makefile.in (all, check, installcheck, info, install-info, |
708 | clean-info, dvi, install, etags, tags, mostlyclean, clean, | |
709 | distclean, maintainer-clean, realclean): Depend on corresponding | |
710 | `-subdir' target. | |
711 | (all-subdir check-subdir installcheck-subdir info-subdir | |
712 | install-info-subdir clean-info-subdir dvi-subdir | |
713 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir | |
714 | distclean-subdir maintainer-clean-subdir): New target. | |
715 | * testsuite/Makefile.in: New file. | |
716 | * configure: Rebuilt. | |
717 | * configure.in: Create testsuite/Makefile. | |
252b5132 RH |
718 | |
719 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> | |
720 | ||
721 | * splay-tree.h (splay_tree_compare_pointers): Define. | |
722 | ||
723 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> | |
724 | ||
725 | * splay-tree.c (splay_tree_compare_ints): Define. | |
726 | ||
727 | 1999-03-30 Tom Tromey <tromey@cygnus.com> | |
728 | ||
729 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and | |
730 | don't advance input pointer. | |
731 | (demangle_class_name): If consume_count didn't find a count, do | |
732 | nothing. Don't bother with `strlen' sanity check; consume_count | |
733 | does it for us. | |
734 | ||
735 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> | |
736 | ||
737 | From Art Haas <ahaas@neosoft.com>: | |
738 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings | |
739 | when doing arm or hp style. | |
740 | (demangle_nested_args): Decr forgetting_types field when done. | |
b4fe2683 | 741 | |
252b5132 RH |
742 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
743 | ||
744 | * pexecute.c (__CYGWIN32__): Rename to | |
745 | (__CYGWIN__): this. | |
746 | * xmalloc.c: Likewise. | |
747 | ||
748 | Changes to support i386-pc-uwin. | |
749 | * configure.in (*-*-uwin*): Workaround for vfork bug. | |
750 | * configure: Regenerate. | |
751 | * pexecute.c (pexecute): Be like standard Unix. | |
752 | (pwait): Likewise. | |
753 | * xmalloc.c (first_break): Define. | |
754 | (xmalloc_set_program_name): Use. | |
755 | (xmalloc): Use. | |
756 | ||
757 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
758 | ||
759 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc | |
760 | ||
761 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> | |
762 | ||
763 | * config.table: Check cygwin*, not cygwin32*. | |
764 | ||
765 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> | |
766 | ||
767 | * Makefile.in: Change mkstemp -> mkstemps. | |
768 | ||
769 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> | |
770 | ||
771 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o | |
772 | * configure.in (funcs): Check for and conditionally add mkstemps to | |
773 | the list of functions libiberty will provide. | |
774 | * configure: Rebuilt. | |
b4fe2683 | 775 | |
252b5132 RH |
776 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
777 | ||
b4fe2683 | 778 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
252b5132 RH |
779 | platforms that don't have HZ. |
780 | * getruntime.c (HZ): Likewise. | |
781 | ||
782 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> | |
783 | ||
784 | * Makefile.in (xstrdup.o): Depend on config.h. | |
785 | ||
786 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) | |
787 | ||
788 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after | |
789 | freeing it. | |
790 | ||
791 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
792 | ||
793 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. | |
794 | ||
795 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
796 | ||
797 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of | |
798 | splay-tree.o. | |
799 | ||
800 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
801 | ||
802 | * configure.in: Require autoconf 2.12.1 or higher. | |
803 | ||
804 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
805 | ||
806 | * random.c (NULL): Don't redefine NULL if it is already defined. | |
807 | ||
808 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
809 | ||
810 | * argv.c (buildargv): Cast the result of alloca in assignment. | |
811 | ||
812 | * choose-temp.c: Include stdlib.h. | |
813 | ||
814 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. | |
815 | (snarf_numeric_literal): Constify first parameter. | |
816 | (code_for_qualifier): Avoid a gcc extension, make the parameter an | |
817 | int, not a char. | |
818 | (demangle_qualifier): Likewise. | |
819 | (demangle_signature): Cast the argument of a ctype function to | |
820 | unsigned char. | |
821 | (arm_pt): Add parens around assignment used as truth value. | |
822 | (demangle_arm_hp_template): Constify variable `args'. | |
823 | (do_hpacc_template_const_value): Cast the argument of a ctype | |
824 | function to unsigned char. | |
825 | (do_hpacc_template_literal): Remove unused variable `i'. | |
826 | (snarf_numeric_literal): Constify parameter `args'. | |
827 | Cast the argument of a ctype function to unsigned char. | |
828 | ||
829 | * floatformat.c (floatformat_to_double): Add explicit braces to | |
830 | avoid ambiguous `else'. | |
831 | ||
832 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', | |
833 | `cstart' and `cend' to unsigned char. Cast the argument of macro | |
834 | `FOLD', which uses ctype functions, to unsigned char. | |
835 | ||
836 | * objalloc.c (free): Add prototype. | |
837 | ||
838 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> | |
839 | ||
840 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o | |
841 | ||
842 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> | |
843 | ||
844 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function | |
845 | doesn't exist. | |
846 | (do_hpacc_template_literal): remove unused variable `i'. | |
b4fe2683 | 847 | |
252b5132 RH |
848 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
849 | ||
850 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before | |
851 | bumping the pointer we read from. Also prepend these codes, | |
852 | as we do in other places. | |
853 | ||
854 | 1998-12-18 Nick Clifton <nickc@cygnus.com> | |
855 | ||
856 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be | |
857 | 'const char *' in order to match its usage when calling siblings. | |
858 | (snarf_numeric_literal): Make first arg 'const char **' in order | |
859 | to match usage. | |
860 | ||
861 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
862 | ||
863 | * choose-temp.c: Don't check IN_GCC anymore. | |
864 | ||
865 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. | |
866 | * memchr.c (memchr): Likewise. | |
867 | * memcpy.c (memcpy): Likewise. | |
868 | * memmove.c (memmove): Likewise. | |
869 | ||
870 | * mkstemp.c: Don't check IN_GCC anymore. | |
871 | * pexecute.c: Likewise. | |
872 | * splay-tree.c: Likewise. | |
873 | ||
874 | * strchr.c (strchr): Use `const', not `CONST'. | |
875 | * strrchr.c (strrchr): Likewise. | |
876 | * strtol.c (strtol): Likewise. | |
877 | * strtoul.c (strtoul): Likewise. | |
878 | ||
879 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> | |
880 | Elena Zannoni <ezannoni@cygnus.com> | |
881 | Stan Shebs <shebs@cygnus.com> | |
882 | Edith Epstein <eepstein@cygnus.com> | |
883 | Andres MacLeod <amacleod@cygnus.com> | |
884 | Satish Pai <pai@apollo.hp.com> | |
885 | ||
886 | * HP aCC demangling support. | |
887 | * cplus-dem.c | |
888 | (main): Remove default to HP style demangling, set to EDG | |
889 | demangling correctly when -edg specified; set the demangling style | |
890 | when user specifies 'edg'. Set strip_underscore to | |
891 | prepends_underscore, if not HPUXHPPA. Set | |
892 | current_demangling_style to hp_demangling if HPUXHPPA. Set | |
893 | current demangling style correctly if the switch is hp. Read | |
894 | label correctly also in the HP style case. | |
895 | (work_stuff): add temp_start field; add field for volatile member | |
896 | function. | |
897 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP | |
898 | style for this case is the same as ARM. | |
899 | (demangle_args): handle EDG_DEMANGLING style; support HP style. | |
900 | (demangle_arm_hp_template): new function. (It was | |
901 | demangle_arm_pt.); check and set value of temp_start field in | |
902 | multiple places. Also, when ceching for end of template args, | |
903 | check to see if at end of static member of template class. | |
904 | (demangle_class): new local variable : save_class_name_end Don't | |
905 | include template args in string defining class. | |
906 | (demangle_class_name): use demangel_arm_hp_template. | |
907 | (demangle_function_name): handle case where demangling style is | |
908 | HP_DEMANGLING and currently point at an 'X' in the mangled name. | |
909 | Handle EDG_DEMANGLING style. Handle constructor and destructor | |
910 | ops for HP style. | |
911 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING | |
912 | styles. global destructor and constructor for HP style are same | |
913 | as for ARM style. Same for local variables. | |
914 | (demangle_qualified): handle EDG_DEMANGLING style. | |
915 | (demangle_signature): add case for volatile member function. For | |
916 | cases '1' - '9' : initialize the temp_start field to -1 and handle | |
917 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING | |
918 | and AUTO_DEMANGLING styles. If expecting a function and managed | |
919 | to demangle the funct args, then handle the LUCID_DEMANGLING, | |
920 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local | |
921 | class name after "Lnnn_ in HP style case. HP style too needs to | |
922 | forget types. _nnn is OK for HP style, so don't report failure. | |
923 | (do_hpacc_template_const_value): new function. Handle template's | |
924 | value param for HP/aCC. | |
925 | (do_hpacc_template_literal): new function. Handle a template's | |
926 | literal parameter for HP aCC. | |
927 | (recursively_demangle): new function | |
928 | (snarf_numeric_literal): new function. | |
929 | (usage): add 'edg' to the list of demangling styles; add hp switch | |
930 | to message. | |
931 | ||
932 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> | |
933 | ||
934 | * pexecute.c: Remove obsolete ifdefed cygwin code. | |
935 | ||
936 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
937 | ||
938 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. | |
939 | * cplus-dem.c: Likewise. Conform to libiberty.h. | |
940 | * pexecute.c: Likewise. | |
941 | * splay-tree.c: Likewise. | |
942 | ||
943 | 1998-11-25 Mike Stump <mrs@wrs.com> | |
944 | ||
945 | * Makefile.in (splay-tree.o): Add config.h dependency. | |
946 | ||
947 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
948 | ||
949 | * configure.in: Use AC_PREREQ(2.12.1). | |
950 | ||
951 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> | |
952 | ||
b4fe2683 | 953 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
252b5132 RH |
954 | |
955 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) | |
956 | ||
957 | * mpw.c (mpw_access): Add missing parens. | |
958 | ||
959 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
960 | ||
961 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
962 | ||
963 | * pexecute.c: Include sys/wait.h when !IN_GCC. | |
964 | ||
965 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> | |
966 | ||
967 | * pexecute.c: revert back to checking old Cygwin | |
968 | preprocessor symbol until some time has passed. | |
969 | ||
970 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> | |
971 | ||
972 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin | |
973 | since it will now support similar constructs. | |
974 | ||
975 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
976 | ||
977 | * configure.in: Check for calloc. | |
978 | ||
979 | * calloc.c: New file. | |
980 | ||
981 | * xmalloc.c (xcalloc): New function. | |
982 | ||
983 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
984 | ||
985 | *cplus-dem.c (demangle_prefix): Use the last "__" | |
986 | in the mangled name when looking for the signature. This allows | |
987 | template names to begin with "__". | |
988 | ||
989 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> | |
990 | ||
991 | * cplus-dem.c (type_kind_t): Add tk_reference. | |
992 | (demangle_template_value_parm): Handle it. | |
993 | (do_type): Use it for references, instead of tk_pointer. | |
994 | ||
995 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, | |
996 | not internal_cplus_demangle. | |
997 | ||
998 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
999 | ||
1000 | * choose-temp.c: Don't include gansidecl.h. | |
1001 | * mkstemp.c: Likewise. | |
1002 | * pexecute.c: Likewise. | |
1003 | ||
1004 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> | |
1005 | ||
b4fe2683 JM |
1006 | * configure.in: detect cygwin* instead of cygwin32* |
1007 | * configure: regenerate | |
252b5132 RH |
1008 | |
1009 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1010 | ||
1011 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining | |
1012 | whether to include config.h. Possibly include unistd.h in the | |
1013 | !IN_GCC case. Define VFORK_STRING as a printable function call | |
1014 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is | |
1015 | defined, include vfork.h. If VMS is defined, define vfork() | |
1016 | appropriately. Remove vfork check on USG, we're using autoconf. | |
1017 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking | |
1018 | locally what string to use. | |
1019 | ||
1020 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> | |
1021 | ||
1022 | * splay-tree.c: Tweak include directives to make sure declarations of | |
1023 | xmalloc and free are available. | |
1024 | ||
1025 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> | |
1026 | ||
1027 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in | |
1028 | anonymous namespaces. | |
1029 | ||
1030 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> | |
1031 | ||
1032 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type | |
1033 | with type_quals. | |
1034 | (TYPE_UNQUALIFIED): New macro. | |
1035 | (TYPE_QUAL_CONST): Likewise. | |
1036 | (TYPE_QUAL_VOLATILE): Likewise. | |
1037 | (TYPE_QUAL_RESTRICT): Likewise. | |
1038 | (code_for_qualifier): New function. | |
1039 | (qualifier_string): Likewise. | |
1040 | (demangle_qualifier): Likewise. | |
1041 | (internal_cplus_demangle): Use them. | |
1042 | (demangle_signature): Likewise. | |
1043 | (demangle_template_value_parm): Likewise. | |
1044 | (do_type): Likewise. | |
1045 | (demangle_fund_type)): Likewise. | |
1046 | ||
1047 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1048 | ||
1049 | * splay-tree.c (splay_tree_foreach_helper): Make definition static | |
1050 | to match prototype. | |
1051 | ||
1052 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> | |
1053 | ||
1054 | * splay-tree.c: New file. | |
1055 | * Makefile.in (CFILES): Add it. | |
1056 | (REQUIRED_OFILES): Likewise. | |
1057 | (splay-tree.o): Add dependencies. | |
1058 | ||
1059 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1060 | ||
1061 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking | |
1062 | range of 'K' index. | |
1063 | ||
1064 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1065 | ||
1066 | * choose-temp.c: Prototype mkstemps() when IN_GCC. | |
1067 | ||
1068 | * cplus-dem.c (consume_count): Cast argument of ctype macro to | |
1069 | `unsigned char'. | |
1070 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when | |
1071 | comparing against one. | |
1072 | (cplus_mangle_opname): Likewise. | |
1073 | (demangle_integral_value): Cast argument of ctype macro to | |
1074 | `unsigned char'. | |
1075 | (demangle_template_value_parm): Likewise. | |
1076 | (demangle_template): Initialize variable `bindex'. Cast the | |
1077 | result of `strlen' to (int) when comparing against one. Remove | |
1078 | unused variable `start_of_value_parm'. | |
1079 | (demangle_class_name): Cast the result of `strlen' to (int) when | |
1080 | comparing against one. | |
1081 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. | |
1082 | (gnu_special): Likewise. Cast the result of `strlen' to (int) | |
1083 | when comparing against one. | |
1084 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. | |
1085 | (get_count): Likewise. | |
1086 | (do_type): Likewise. Cast the result of `strlen' to (int) when | |
1087 | comparing against one. | |
1088 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. | |
1089 | (demangle_function_name): Cast the result of `strlen' to (int) | |
1090 | when comparing against one. | |
1091 | ||
1092 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when | |
1093 | comparing against one. | |
1094 | ||
1095 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) | |
1096 | ||
b4fe2683 JM |
1097 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
1098 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. | |
1099 | * config.in, configure: Rebuilt. | |
252b5132 RH |
1100 | |
1101 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. | |
1102 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. | |
1103 | * config.in, configure: Rebuilt. | |
1104 | ||
1105 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> | |
1106 | ||
b4fe2683 | 1107 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
252b5132 RH |
1108 | |
1109 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> | |
1110 | ||
1111 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. | |
1112 | ||
1113 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) | |
1114 | ||
1115 | * Merge egcs & devo libiberty. | |
1116 |