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