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