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