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