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