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