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