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