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