Commit | Line | Data |
---|---|---|
77bfb694 JL |
1 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
2 | ||
3 | * Makefile.in (objalloc.o): Depend on config.h | |
4 | ||
5c82d20a ZW |
5 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
6 | ||
7 | * hashtab.c, partition.c, xmemdup.c: Include string.h | |
8 | if HAVE_STRING_H. | |
9 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. | |
10 | * objalloc.c: Include config.h. Include stdlib.h and don't | |
11 | declare malloc or free if HAVE_STDLIB_H. | |
12 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, | |
13 | else declare malloc without prototype. Include string.h if | |
14 | HAVE_STRING_H, else declare memset without prototype. Don't | |
15 | include stddef.h. | |
16 | ||
17 | * sort.c: Bring over from GCC. | |
18 | ||
010c70e1 AO |
19 | 2000-05-26 Alexandre Oliva <aoliva@cygnus.com> |
20 | ||
21 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty | |
22 | SUBDIRS. | |
23 | ||
19be4303 JL |
24 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
25 | ||
26 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on | |
27 | 4.3BSD systems. | |
28 | ||
afe36a78 RH |
29 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
30 | ||
31 | * splay-tree.c (splay_tree_remove): New. | |
32 | ||
b4fe2683 JM |
33 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
34 | ||
35 | * Makefile.in (partition.o): Depend on config.h | |
36 | ||
37 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> | |
38 | ||
39 | * hashtab.c (find_empty_slot_for_expand): New function. | |
40 | (htab_expand): Use it instead of htab_find_slot. | |
41 | (htab_find_with_hash): Renamed from htab_find; now accepts extra | |
42 | argument HASH. | |
43 | (htab_find_slot_with_hash): Likewise for htab_find_slot. | |
44 | (htab_find): New wrapper function. | |
45 | (htab_find_slot): Likewise. | |
46 | (htab_traverse): Pass slot, not entry, to called function. | |
47 | ||
48 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> | |
49 | ||
50 | * Makefile.in (CFILES): Add partition.c. | |
51 | (REQUIRED_OFILES): Add partition.o. | |
52 | (partition.o): New rule. | |
53 | * partition.c: New file. | |
54 | ||
55 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> | |
56 | ||
57 | * hashtab.c (htab_create): Set del_f. | |
58 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): | |
59 | Use it. | |
60 | ||
61 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> | |
62 | ||
63 | * hashtab.c: Remove debugging variables (all_searches, | |
64 | all_collisions, all_expansions). Delete | |
65 | all_hash_table_collisions. | |
66 | (create_hash_table, delete_hash_table, empty_hash_table, | |
67 | find_hash_table_entry, remove_element_from_hash_table_entry, | |
68 | clear_hash_table_slot, traverse_hash_table, hash_table_size, | |
69 | hash_table_elements_number, hash_table_collisions): Rename to: | |
70 | htab_create, htab_delete, htab_empty, htab_find_slot, | |
71 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, | |
72 | htab_elements, htab_collisions. | |
73 | (htab_find): New function, handles common case where you don't | |
74 | plan to add or delete an entry. | |
75 | (htab_expand): Don't create a whole new table, just a new | |
76 | entry vector. | |
77 | (htab_find_slot): Simplify logic. | |
78 | ||
08372f14 ILT |
79 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
80 | ||
81 | * floatformat.c: Add casts to avoid signed/unsigned warnings. | |
82 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. | |
83 | ||
84 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to | |
85 | $(TARGETLIB)n so it works on MSDOS. | |
86 | (install_to_tooldir): Likewise. | |
87 | ||
9c8ac5a9 ILT |
88 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
89 | ||
90 | From Mark Elbrecht: | |
91 | * makefile.dos: Remove; obsolete. | |
8f36e47c | 92 | * configure.bat: Remove; obsolete. |
9c8ac5a9 | 93 | |
0c0a36a4 ILT |
94 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
95 | ||
96 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
97 | warning. | |
98 | ||
99 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> | |
100 | ||
101 | * pexecute.c: Conditionally include string.h. | |
b4fe2683 | 102 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
0c0a36a4 ILT |
103 | |
104 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
105 | ||
106 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if | |
107 | we're using gcc. | |
108 | ||
109 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ | |
110 | ||
111 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> | |
112 | ||
113 | * vasprintf.c (int_vasprintf): Don't re-read the format character | |
114 | as this mishandles strings like '%%s'. | |
115 | ||
116 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> | |
117 | ||
118 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s | |
119 | rather than struct splay_tree_node. | |
120 | (splay_tree_insert): Use struct splay_tree_s rather than struct | |
121 | splay_tree. | |
122 | ||
123 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> | |
124 | ||
125 | * hashtab.c (sys/types.h): File included. | |
126 | ||
127 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> | |
128 | ||
129 | * strtoul.c, strtol.c, random.c: Remove advertising clause from | |
130 | BSD license, pursuant with | |
131 | ||
132 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change | |
133 | ||
134 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) | |
135 | ||
136 | * hashtab.c: Include stdio.h. | |
137 | ||
138 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) | |
139 | ||
140 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. | |
141 | ||
142 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> | |
143 | ||
144 | * xstrdup (sys/types.h): Include this file. | |
145 | ||
146 | 1999-10-28 Nathan Sidwell <nathan@acm.org> | |
147 | ||
148 | * Makefile.in (SUBDIRS): New macro. | |
149 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to | |
150 | avoid multiple subdirectory cleaning. | |
151 | (*-subdir): Use SUBDIRS. | |
152 | ||
153 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> | |
154 | ||
155 | * cplus-dem.c: Move declarations of standard_symbol_characters and | |
156 | hp_symbol_characters inside #ifdef MAIN to avoid compiler | |
157 | warnings. | |
158 | ||
159 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> | |
160 | ||
161 | * hashtab.c (find_hash_table_entry): When returning a | |
162 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. | |
163 | (clear_hash_table_slot): New function which deletes an entry | |
164 | by its position in the table, not its value. | |
165 | (traverse_hash_table): New function which calls a hook | |
166 | function for every live entry in the table. | |
167 | ||
168 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> | |
169 | ||
170 | * cplus-dem.c (INTBUF_SIZE): New macro. | |
171 | (string_append_template_idx): New function. | |
172 | (demangle_expression): Likewise. | |
173 | (demangle_integral_value): Use it. | |
174 | (demangle_real_value): New function, split out from ... | |
175 | (demangle_template_value_parm): ... here. Use | |
176 | string_append_template_idx. Use demangle_real_value. | |
177 | (demangle_template): Use string_append_template_idx. | |
178 | (demangle_qualified): Use consume_count_with_underscores. | |
179 | (get_count): Tweak formatting. | |
180 | (do_type): Use string_append_template_idx. | |
b4fe2683 | 181 | |
0c0a36a4 ILT |
182 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
183 | ||
184 | * calloc.c: Add a public domain notice. | |
185 | ||
186 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> | |
187 | ||
188 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. | |
189 | ||
190 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> | |
191 | ||
192 | * Makefile.in (CFILES): Add hashtab.c | |
193 | (REQUIRED_OFILES): Add hashtab.o | |
194 | (hashtab.o): Add dependencies. | |
195 | * hashtab.c: New file | |
196 | ||
197 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
198 | ||
199 | * basename.c (DIR_SEPARATOR): New macro. | |
200 | (DIR_SEPARATOR_2): Likewise. | |
201 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. | |
202 | (IS_DIR_SEPARATOR): Likewise. | |
203 | (main): Handle MSDOS style pathname. | |
204 | ||
205 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> | |
206 | ||
207 | * cplus-dem.c (do_type): Handle pointer to member types whose | |
208 | enclosing classes have namespace scope. | |
209 | ||
210 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> | |
211 | ||
212 | * config.table: Provide a backup shell for executing move-if-change. | |
213 | ||
214 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> | |
215 | ||
216 | * xmalloc.c (xmalloc): Fix spelling error. | |
217 | (xcalloc, xrealloc): Likewise. | |
218 | ||
219 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
220 | ||
221 | * cplus-dem.c (fancy_abort, demangle_integral_value, | |
222 | demangle_arm_hp_template, recursively_demangle, | |
223 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. | |
224 | (program_name, program_version, fatal): Constify a char*. | |
225 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. | |
226 | (main): Call return, not exit. | |
227 | ||
228 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
229 | ||
230 | * choose-temp.c: Remove obsolete comment about gcc. | |
231 | (make_temp_file): Constify a char*. | |
232 | ||
233 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
234 | ||
235 | * xmemdup.c: Include sys/types.h. | |
236 | ||
237 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> | |
238 | ||
239 | * xmemdup.c: New xmemdup function. | |
240 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. | |
241 | ||
242 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> | |
243 | ||
b4fe2683 | 244 | * config.table: Add openedition target. |
0c0a36a4 ILT |
245 | * config/mh-openedition: New file. |
246 | ||
247 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> | |
248 | ||
249 | * pexecute.c (pexecute): Fill in temp_base when needed. | |
250 | ||
251 | 1999-08-31 Richard Henderson <rth@cygnus.com> | |
252 | ||
253 | * getpwd.c: Check HAVE_GETCWD before defining it away. | |
254 | ||
255 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
256 | ||
257 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. | |
258 | (REQUIRED_OFILES): Add getpwd.o. | |
259 | (getpwd.o): Add target. | |
260 | ||
261 | * configure.in (AC_PREREQ): Bump to 2.13. | |
262 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. | |
263 | ||
264 | * getpwd.c: New file, moved here from gcc. | |
265 | ||
266 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
267 | ||
268 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when | |
269 | comparing against a signed quantity. | |
270 | (arm_special): Likewise. | |
271 | (demangle_fund_type): Likewise. | |
272 | (do_hpacc_template_const_value): Mark parameter `work' with | |
b4fe2683 | 273 | ATTRIBUTE_UNUSED. |
0c0a36a4 ILT |
274 | (main): Constify variable `valid_symbols'. |
275 | ||
276 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> | |
277 | ||
278 | * strtoul.c (strtoul): Add parentheses around && within ||. | |
279 | ||
280 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> | |
281 | ||
282 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, | |
283 | libdir, libsubdir and tooldir. | |
284 | ||
285 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> | |
286 | ||
287 | * splay-tree.c (splay_tree_insert): Return the new node. | |
288 | ||
35ca97ea RH |
289 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
290 | ||
b4fe2683 | 291 | * argv.c: Include stdlib.h and string.h instead of |
35ca97ea RH |
292 | prototyping directly. |
293 | * choose-temp.c: Conditionally include string.h. | |
294 | ||
0c0a36a4 ILT |
295 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
296 | ||
297 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. | |
298 | ||
af32ff69 ILT |
299 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
300 | ||
301 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
302 | warning. | |
303 | ||
0c0a36a4 ILT |
304 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
305 | ||
306 | * Makefile.in (needed-list): Only include stuff we actually need | |
307 | for libstdc++. | |
308 | ||
309 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
310 | ||
311 | * configure.in (checkfuncs): Add gettimeofday. | |
312 | * config.in, configure: Regenerated. | |
313 | ||
314 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
315 | ||
316 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if | |
317 | the test fails. | |
318 | * configure: Regenerate. | |
319 | ||
320 | 1999-06-10 Mike Stump <mrs@wrs.com> | |
321 | ||
322 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix | |
323 | parallel builds. | |
324 | ||
325 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
326 | ||
327 | * putenv.c: Include ansidecl.h to define `const'. | |
328 | * setenv.c: Likewise. | |
329 | ||
330 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> | |
331 | ||
332 | * Makefile.in (CFILES): Add putenv.c and setenv.c. | |
333 | * configure.in (funcs): Add putenv and setenv. | |
334 | (AC_CHECK_FUNCS): Check for putenv and setenv. | |
335 | * configure: Rebuilt. | |
336 | * putenv.c setenv.c: New files. | |
337 | ||
338 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE | |
339 | bytes of space using malloc. | |
340 | ||
341 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> | |
342 | ||
343 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance | |
344 | the *mangled pointer beyond the end of the string. Clean up code to | |
345 | match prevailing coding style. | |
346 | ||
347 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
348 | ||
349 | * tmpnam.c (L_tmpnam): Fix typo. | |
350 | ||
351 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> | |
352 | ||
353 | * cplus-dem.c (standard_symbol_characters): Renamed from | |
354 | standard_symbol_alphabet. No longer modify TABLE. | |
355 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer | |
356 | modify TABLE. | |
357 | (main): Corresponding changes. Use strchr to determine if a | |
358 | character is valid. | |
359 | ||
e9868447 JB |
360 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
361 | ||
362 | * cplus-dem.c (main): Use table lookup to distinguish identifier | |
363 | characters from non-identifier characters. | |
364 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. | |
365 | ||
33fbbfbc RH |
366 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
367 | ||
368 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. | |
369 | * getruntime.c: Only attempt to include sys/resource.h and | |
370 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H | |
371 | are defined. | |
372 | ||
0c0a36a4 ILT |
373 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
374 | ||
375 | * configure.in (alloca detection): Handle alloca directly for interix. | |
376 | * configure: Rebuilt. | |
377 | ||
378 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
379 | ||
380 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. | |
381 | ||
252b5132 RH |
382 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
383 | ||
384 | Fix from Dale Hawkins: | |
b4fe2683 | 385 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
252b5132 RH |
386 | reallocated properly if we use it again. |
387 | ||
388 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be | |
389 | stricter about syntax. Always null-terminate string. | |
390 | ||
c1687039 ILT |
391 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
392 | ||
393 | * configure.in (checkfuncs): Check for sbrk. | |
394 | * config.in: Rebuilt. | |
395 | * configure: Likewise. | |
396 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. | |
397 | ||
0c0a36a4 ILT |
398 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
399 | ||
400 | Fix from Marcus Daniels: | |
401 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the | |
402 | identifier looking for another underscore. | |
403 | ||
404 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
405 | ||
406 | * pexecute.c: Change all references to __UWIN__ to _UWIN. | |
407 | * xmalloc.c: Likewise. | |
408 | (xcalloc): UWIN has sbrk. | |
409 | (xrealloc): Fix guard macro. | |
410 | ||
252b5132 RH |
411 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
412 | ||
413 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin | |
414 | or <alloca.h>. | |
415 | * clock.c (GNU_HZ): New definition. | |
416 | (clock): Use it. | |
417 | * getruntime.c: Likewise. | |
418 | ||
419 | * config.table: Use mh-beos. | |
420 | * config/mh-beos: New file. | |
421 | ||
0c0a36a4 ILT |
422 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
423 | ||
424 | * cplus-dem.c (demangle_template_value_parm): Handle | |
425 | pointers-to-members. | |
426 | (do_type): Handle template parameters as qualifiers. | |
427 | ||
252b5132 RH |
428 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
429 | ||
430 | * cplus-dem.c: Attempt to handle overflows in counts with some | |
431 | semblance of grace. | |
432 | (consume_count): Detect overflows. Return -1 to indicate errors, | |
433 | instead of zero. | |
434 | (demangle_template_value_parm, demangle_template): Handle change | |
435 | to consume_count's return convention. | |
436 | ||
0c0a36a4 ILT |
437 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
438 | ||
439 | * testsuite/regress-demangle: New file. | |
440 | * testsuite/demangle-expected: New file. | |
252b5132 | 441 | |
0c0a36a4 ILT |
442 | * Makefile.in (all, check, installcheck, info, install-info, |
443 | clean-info, dvi, install, etags, tags, mostlyclean, clean, | |
444 | distclean, maintainer-clean, realclean): Depend on corresponding | |
445 | `-subdir' target. | |
446 | (all-subdir check-subdir installcheck-subdir info-subdir | |
447 | install-info-subdir clean-info-subdir dvi-subdir | |
448 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir | |
449 | distclean-subdir maintainer-clean-subdir): New target. | |
450 | * testsuite/Makefile.in: New file. | |
451 | * configure: Rebuilt. | |
452 | * configure.in: Create testsuite/Makefile. | |
252b5132 RH |
453 | |
454 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> | |
455 | ||
456 | * splay-tree.h (splay_tree_compare_pointers): Define. | |
457 | ||
458 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> | |
459 | ||
460 | * splay-tree.c (splay_tree_compare_ints): Define. | |
461 | ||
462 | 1999-03-30 Tom Tromey <tromey@cygnus.com> | |
463 | ||
464 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and | |
465 | don't advance input pointer. | |
466 | (demangle_class_name): If consume_count didn't find a count, do | |
467 | nothing. Don't bother with `strlen' sanity check; consume_count | |
468 | does it for us. | |
469 | ||
470 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> | |
471 | ||
472 | From Art Haas <ahaas@neosoft.com>: | |
473 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings | |
474 | when doing arm or hp style. | |
475 | (demangle_nested_args): Decr forgetting_types field when done. | |
b4fe2683 | 476 | |
252b5132 RH |
477 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
478 | ||
479 | * pexecute.c (__CYGWIN32__): Rename to | |
480 | (__CYGWIN__): this. | |
481 | * xmalloc.c: Likewise. | |
482 | ||
483 | Changes to support i386-pc-uwin. | |
484 | * configure.in (*-*-uwin*): Workaround for vfork bug. | |
485 | * configure: Regenerate. | |
486 | * pexecute.c (pexecute): Be like standard Unix. | |
487 | (pwait): Likewise. | |
488 | * xmalloc.c (first_break): Define. | |
489 | (xmalloc_set_program_name): Use. | |
490 | (xmalloc): Use. | |
491 | ||
492 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
493 | ||
494 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc | |
495 | ||
496 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> | |
497 | ||
498 | * config.table: Check cygwin*, not cygwin32*. | |
499 | ||
500 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> | |
501 | ||
502 | * Makefile.in: Change mkstemp -> mkstemps. | |
503 | ||
504 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> | |
505 | ||
506 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o | |
507 | * configure.in (funcs): Check for and conditionally add mkstemps to | |
508 | the list of functions libiberty will provide. | |
509 | * configure: Rebuilt. | |
b4fe2683 | 510 | |
252b5132 RH |
511 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
512 | ||
b4fe2683 | 513 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
252b5132 RH |
514 | platforms that don't have HZ. |
515 | * getruntime.c (HZ): Likewise. | |
516 | ||
517 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> | |
518 | ||
519 | * Makefile.in (xstrdup.o): Depend on config.h. | |
520 | ||
521 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) | |
522 | ||
523 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after | |
524 | freeing it. | |
525 | ||
526 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
527 | ||
528 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. | |
529 | ||
530 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
531 | ||
532 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of | |
533 | splay-tree.o. | |
534 | ||
535 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
536 | ||
537 | * configure.in: Require autoconf 2.12.1 or higher. | |
538 | ||
539 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
540 | ||
541 | * random.c (NULL): Don't redefine NULL if it is already defined. | |
542 | ||
543 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
544 | ||
545 | * argv.c (buildargv): Cast the result of alloca in assignment. | |
546 | ||
547 | * choose-temp.c: Include stdlib.h. | |
548 | ||
549 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. | |
550 | (snarf_numeric_literal): Constify first parameter. | |
551 | (code_for_qualifier): Avoid a gcc extension, make the parameter an | |
552 | int, not a char. | |
553 | (demangle_qualifier): Likewise. | |
554 | (demangle_signature): Cast the argument of a ctype function to | |
555 | unsigned char. | |
556 | (arm_pt): Add parens around assignment used as truth value. | |
557 | (demangle_arm_hp_template): Constify variable `args'. | |
558 | (do_hpacc_template_const_value): Cast the argument of a ctype | |
559 | function to unsigned char. | |
560 | (do_hpacc_template_literal): Remove unused variable `i'. | |
561 | (snarf_numeric_literal): Constify parameter `args'. | |
562 | Cast the argument of a ctype function to unsigned char. | |
563 | ||
564 | * floatformat.c (floatformat_to_double): Add explicit braces to | |
565 | avoid ambiguous `else'. | |
566 | ||
567 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', | |
568 | `cstart' and `cend' to unsigned char. Cast the argument of macro | |
569 | `FOLD', which uses ctype functions, to unsigned char. | |
570 | ||
571 | * objalloc.c (free): Add prototype. | |
572 | ||
573 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> | |
574 | ||
575 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o | |
576 | ||
577 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> | |
578 | ||
579 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function | |
580 | doesn't exist. | |
581 | (do_hpacc_template_literal): remove unused variable `i'. | |
b4fe2683 | 582 | |
252b5132 RH |
583 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
584 | ||
585 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before | |
586 | bumping the pointer we read from. Also prepend these codes, | |
587 | as we do in other places. | |
588 | ||
589 | 1998-12-18 Nick Clifton <nickc@cygnus.com> | |
590 | ||
591 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be | |
592 | 'const char *' in order to match its usage when calling siblings. | |
593 | (snarf_numeric_literal): Make first arg 'const char **' in order | |
594 | to match usage. | |
595 | ||
596 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
597 | ||
598 | * choose-temp.c: Don't check IN_GCC anymore. | |
599 | ||
600 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. | |
601 | * memchr.c (memchr): Likewise. | |
602 | * memcpy.c (memcpy): Likewise. | |
603 | * memmove.c (memmove): Likewise. | |
604 | ||
605 | * mkstemp.c: Don't check IN_GCC anymore. | |
606 | * pexecute.c: Likewise. | |
607 | * splay-tree.c: Likewise. | |
608 | ||
609 | * strchr.c (strchr): Use `const', not `CONST'. | |
610 | * strrchr.c (strrchr): Likewise. | |
611 | * strtol.c (strtol): Likewise. | |
612 | * strtoul.c (strtoul): Likewise. | |
613 | ||
614 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> | |
615 | Elena Zannoni <ezannoni@cygnus.com> | |
616 | Stan Shebs <shebs@cygnus.com> | |
617 | Edith Epstein <eepstein@cygnus.com> | |
618 | Andres MacLeod <amacleod@cygnus.com> | |
619 | Satish Pai <pai@apollo.hp.com> | |
620 | ||
621 | * HP aCC demangling support. | |
622 | * cplus-dem.c | |
623 | (main): Remove default to HP style demangling, set to EDG | |
624 | demangling correctly when -edg specified; set the demangling style | |
625 | when user specifies 'edg'. Set strip_underscore to | |
626 | prepends_underscore, if not HPUXHPPA. Set | |
627 | current_demangling_style to hp_demangling if HPUXHPPA. Set | |
628 | current demangling style correctly if the switch is hp. Read | |
629 | label correctly also in the HP style case. | |
630 | (work_stuff): add temp_start field; add field for volatile member | |
631 | function. | |
632 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP | |
633 | style for this case is the same as ARM. | |
634 | (demangle_args): handle EDG_DEMANGLING style; support HP style. | |
635 | (demangle_arm_hp_template): new function. (It was | |
636 | demangle_arm_pt.); check and set value of temp_start field in | |
637 | multiple places. Also, when ceching for end of template args, | |
638 | check to see if at end of static member of template class. | |
639 | (demangle_class): new local variable : save_class_name_end Don't | |
640 | include template args in string defining class. | |
641 | (demangle_class_name): use demangel_arm_hp_template. | |
642 | (demangle_function_name): handle case where demangling style is | |
643 | HP_DEMANGLING and currently point at an 'X' in the mangled name. | |
644 | Handle EDG_DEMANGLING style. Handle constructor and destructor | |
645 | ops for HP style. | |
646 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING | |
647 | styles. global destructor and constructor for HP style are same | |
648 | as for ARM style. Same for local variables. | |
649 | (demangle_qualified): handle EDG_DEMANGLING style. | |
650 | (demangle_signature): add case for volatile member function. For | |
651 | cases '1' - '9' : initialize the temp_start field to -1 and handle | |
652 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING | |
653 | and AUTO_DEMANGLING styles. If expecting a function and managed | |
654 | to demangle the funct args, then handle the LUCID_DEMANGLING, | |
655 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local | |
656 | class name after "Lnnn_ in HP style case. HP style too needs to | |
657 | forget types. _nnn is OK for HP style, so don't report failure. | |
658 | (do_hpacc_template_const_value): new function. Handle template's | |
659 | value param for HP/aCC. | |
660 | (do_hpacc_template_literal): new function. Handle a template's | |
661 | literal parameter for HP aCC. | |
662 | (recursively_demangle): new function | |
663 | (snarf_numeric_literal): new function. | |
664 | (usage): add 'edg' to the list of demangling styles; add hp switch | |
665 | to message. | |
666 | ||
667 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> | |
668 | ||
669 | * pexecute.c: Remove obsolete ifdefed cygwin code. | |
670 | ||
671 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
672 | ||
673 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. | |
674 | * cplus-dem.c: Likewise. Conform to libiberty.h. | |
675 | * pexecute.c: Likewise. | |
676 | * splay-tree.c: Likewise. | |
677 | ||
678 | 1998-11-25 Mike Stump <mrs@wrs.com> | |
679 | ||
680 | * Makefile.in (splay-tree.o): Add config.h dependency. | |
681 | ||
682 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
683 | ||
684 | * configure.in: Use AC_PREREQ(2.12.1). | |
685 | ||
686 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> | |
687 | ||
b4fe2683 | 688 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
252b5132 RH |
689 | |
690 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) | |
691 | ||
692 | * mpw.c (mpw_access): Add missing parens. | |
693 | ||
694 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
695 | ||
696 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
697 | ||
698 | * pexecute.c: Include sys/wait.h when !IN_GCC. | |
699 | ||
700 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> | |
701 | ||
702 | * pexecute.c: revert back to checking old Cygwin | |
703 | preprocessor symbol until some time has passed. | |
704 | ||
705 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> | |
706 | ||
707 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin | |
708 | since it will now support similar constructs. | |
709 | ||
710 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
711 | ||
712 | * configure.in: Check for calloc. | |
713 | ||
714 | * calloc.c: New file. | |
715 | ||
716 | * xmalloc.c (xcalloc): New function. | |
717 | ||
718 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
719 | ||
720 | *cplus-dem.c (demangle_prefix): Use the last "__" | |
721 | in the mangled name when looking for the signature. This allows | |
722 | template names to begin with "__". | |
723 | ||
724 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> | |
725 | ||
726 | * cplus-dem.c (type_kind_t): Add tk_reference. | |
727 | (demangle_template_value_parm): Handle it. | |
728 | (do_type): Use it for references, instead of tk_pointer. | |
729 | ||
730 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, | |
731 | not internal_cplus_demangle. | |
732 | ||
733 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
734 | ||
735 | * choose-temp.c: Don't include gansidecl.h. | |
736 | * mkstemp.c: Likewise. | |
737 | * pexecute.c: Likewise. | |
738 | ||
739 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> | |
740 | ||
b4fe2683 JM |
741 | * configure.in: detect cygwin* instead of cygwin32* |
742 | * configure: regenerate | |
252b5132 RH |
743 | |
744 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
745 | ||
746 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining | |
747 | whether to include config.h. Possibly include unistd.h in the | |
748 | !IN_GCC case. Define VFORK_STRING as a printable function call | |
749 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is | |
750 | defined, include vfork.h. If VMS is defined, define vfork() | |
751 | appropriately. Remove vfork check on USG, we're using autoconf. | |
752 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking | |
753 | locally what string to use. | |
754 | ||
755 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> | |
756 | ||
757 | * splay-tree.c: Tweak include directives to make sure declarations of | |
758 | xmalloc and free are available. | |
759 | ||
760 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> | |
761 | ||
762 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in | |
763 | anonymous namespaces. | |
764 | ||
765 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> | |
766 | ||
767 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type | |
768 | with type_quals. | |
769 | (TYPE_UNQUALIFIED): New macro. | |
770 | (TYPE_QUAL_CONST): Likewise. | |
771 | (TYPE_QUAL_VOLATILE): Likewise. | |
772 | (TYPE_QUAL_RESTRICT): Likewise. | |
773 | (code_for_qualifier): New function. | |
774 | (qualifier_string): Likewise. | |
775 | (demangle_qualifier): Likewise. | |
776 | (internal_cplus_demangle): Use them. | |
777 | (demangle_signature): Likewise. | |
778 | (demangle_template_value_parm): Likewise. | |
779 | (do_type): Likewise. | |
780 | (demangle_fund_type)): Likewise. | |
781 | ||
782 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
783 | ||
784 | * splay-tree.c (splay_tree_foreach_helper): Make definition static | |
785 | to match prototype. | |
786 | ||
787 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> | |
788 | ||
789 | * splay-tree.c: New file. | |
790 | * Makefile.in (CFILES): Add it. | |
791 | (REQUIRED_OFILES): Likewise. | |
792 | (splay-tree.o): Add dependencies. | |
793 | ||
794 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
795 | ||
796 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking | |
797 | range of 'K' index. | |
798 | ||
799 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
800 | ||
801 | * choose-temp.c: Prototype mkstemps() when IN_GCC. | |
802 | ||
803 | * cplus-dem.c (consume_count): Cast argument of ctype macro to | |
804 | `unsigned char'. | |
805 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when | |
806 | comparing against one. | |
807 | (cplus_mangle_opname): Likewise. | |
808 | (demangle_integral_value): Cast argument of ctype macro to | |
809 | `unsigned char'. | |
810 | (demangle_template_value_parm): Likewise. | |
811 | (demangle_template): Initialize variable `bindex'. Cast the | |
812 | result of `strlen' to (int) when comparing against one. Remove | |
813 | unused variable `start_of_value_parm'. | |
814 | (demangle_class_name): Cast the result of `strlen' to (int) when | |
815 | comparing against one. | |
816 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. | |
817 | (gnu_special): Likewise. Cast the result of `strlen' to (int) | |
818 | when comparing against one. | |
819 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. | |
820 | (get_count): Likewise. | |
821 | (do_type): Likewise. Cast the result of `strlen' to (int) when | |
822 | comparing against one. | |
823 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. | |
824 | (demangle_function_name): Cast the result of `strlen' to (int) | |
825 | when comparing against one. | |
826 | ||
827 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when | |
828 | comparing against one. | |
829 | ||
830 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) | |
831 | ||
b4fe2683 JM |
832 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
833 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. | |
834 | * config.in, configure: Rebuilt. | |
252b5132 RH |
835 | |
836 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. | |
837 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. | |
838 | * config.in, configure: Rebuilt. | |
839 | ||
840 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> | |
841 | ||
b4fe2683 | 842 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
252b5132 RH |
843 | |
844 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> | |
845 | ||
846 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. | |
847 | ||
848 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) | |
849 | ||
850 | * Merge egcs & devo libiberty. | |
851 |