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