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