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