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