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