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