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