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