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