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