Commit | Line | Data |
---|---|---|
33fbbfbc RH |
1 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
2 | ||
3 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. | |
4 | * getruntime.c: Only attempt to include sys/resource.h and | |
5 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H | |
6 | are defined. | |
7 | ||
252b5132 RH |
8 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
9 | ||
10 | Fix from Dale Hawkins: | |
11 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be | |
12 | reallocated properly if we use it again. | |
13 | ||
14 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be | |
15 | stricter about syntax. Always null-terminate string. | |
16 | ||
17 | Fix from Marcus Daniels: | |
18 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the | |
19 | identifier looking for another underscore. | |
20 | ||
21 | 1999-04-11 Richard Henderson <rth@cygnus.com> | |
22 | ||
23 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin | |
24 | or <alloca.h>. | |
25 | * clock.c (GNU_HZ): New definition. | |
26 | (clock): Use it. | |
27 | * getruntime.c: Likewise. | |
28 | ||
29 | * config.table: Use mh-beos. | |
30 | * config/mh-beos: New file. | |
31 | ||
32 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> | |
33 | ||
34 | * cplus-dem.c: Attempt to handle overflows in counts with some | |
35 | semblance of grace. | |
36 | (consume_count): Detect overflows. Return -1 to indicate errors, | |
37 | instead of zero. | |
38 | (demangle_template_value_parm, demangle_template): Handle change | |
39 | to consume_count's return convention. | |
40 | ||
41 | Thu Apr 8 14:43:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
42 | ||
43 | * xmalloc.c, pexecute.c: Define __CYGWIN__ when being compiled | |
44 | with old __CYGWIN32__ compiler. | |
45 | ||
46 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> | |
47 | ||
48 | * splay-tree.h (splay_tree_compare_pointers): Define. | |
49 | ||
50 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> | |
51 | ||
52 | * splay-tree.c (splay_tree_compare_ints): Define. | |
53 | ||
54 | 1999-03-30 Tom Tromey <tromey@cygnus.com> | |
55 | ||
56 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and | |
57 | don't advance input pointer. | |
58 | (demangle_class_name): If consume_count didn't find a count, do | |
59 | nothing. Don't bother with `strlen' sanity check; consume_count | |
60 | does it for us. | |
61 | ||
62 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> | |
63 | ||
64 | From Art Haas <ahaas@neosoft.com>: | |
65 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings | |
66 | when doing arm or hp style. | |
67 | (demangle_nested_args): Decr forgetting_types field when done. | |
68 | ||
69 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
70 | ||
71 | * pexecute.c (__CYGWIN32__): Rename to | |
72 | (__CYGWIN__): this. | |
73 | * xmalloc.c: Likewise. | |
74 | ||
75 | Changes to support i386-pc-uwin. | |
76 | * configure.in (*-*-uwin*): Workaround for vfork bug. | |
77 | * configure: Regenerate. | |
78 | * pexecute.c (pexecute): Be like standard Unix. | |
79 | (pwait): Likewise. | |
80 | * xmalloc.c (first_break): Define. | |
81 | (xmalloc_set_program_name): Use. | |
82 | (xmalloc): Use. | |
83 | ||
84 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
85 | ||
86 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc | |
87 | ||
88 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> | |
89 | ||
90 | * config.table: Check cygwin*, not cygwin32*. | |
91 | ||
92 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> | |
93 | ||
94 | * Makefile.in: Change mkstemp -> mkstemps. | |
95 | ||
96 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> | |
97 | ||
98 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o | |
99 | * configure.in (funcs): Check for and conditionally add mkstemps to | |
100 | the list of functions libiberty will provide. | |
101 | * configure: Rebuilt. | |
102 | ||
103 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
104 | ||
105 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on | |
106 | platforms that don't have HZ. | |
107 | * getruntime.c (HZ): Likewise. | |
108 | ||
109 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> | |
110 | ||
111 | * Makefile.in (xstrdup.o): Depend on config.h. | |
112 | ||
113 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) | |
114 | ||
115 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after | |
116 | freeing it. | |
117 | ||
118 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
119 | ||
120 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. | |
121 | ||
122 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
123 | ||
124 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of | |
125 | splay-tree.o. | |
126 | ||
127 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
128 | ||
129 | * configure.in: Require autoconf 2.12.1 or higher. | |
130 | ||
131 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
132 | ||
133 | * random.c (NULL): Don't redefine NULL if it is already defined. | |
134 | ||
135 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
136 | ||
137 | * argv.c (buildargv): Cast the result of alloca in assignment. | |
138 | ||
139 | * choose-temp.c: Include stdlib.h. | |
140 | ||
141 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. | |
142 | (snarf_numeric_literal): Constify first parameter. | |
143 | (code_for_qualifier): Avoid a gcc extension, make the parameter an | |
144 | int, not a char. | |
145 | (demangle_qualifier): Likewise. | |
146 | (demangle_signature): Cast the argument of a ctype function to | |
147 | unsigned char. | |
148 | (arm_pt): Add parens around assignment used as truth value. | |
149 | (demangle_arm_hp_template): Constify variable `args'. | |
150 | (do_hpacc_template_const_value): Cast the argument of a ctype | |
151 | function to unsigned char. | |
152 | (do_hpacc_template_literal): Remove unused variable `i'. | |
153 | (snarf_numeric_literal): Constify parameter `args'. | |
154 | Cast the argument of a ctype function to unsigned char. | |
155 | ||
156 | * floatformat.c (floatformat_to_double): Add explicit braces to | |
157 | avoid ambiguous `else'. | |
158 | ||
159 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', | |
160 | `cstart' and `cend' to unsigned char. Cast the argument of macro | |
161 | `FOLD', which uses ctype functions, to unsigned char. | |
162 | ||
163 | * objalloc.c (free): Add prototype. | |
164 | ||
165 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> | |
166 | ||
167 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o | |
168 | ||
169 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> | |
170 | ||
171 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function | |
172 | doesn't exist. | |
173 | (do_hpacc_template_literal): remove unused variable `i'. | |
174 | ||
175 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
176 | ||
177 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before | |
178 | bumping the pointer we read from. Also prepend these codes, | |
179 | as we do in other places. | |
180 | ||
181 | 1998-12-18 Nick Clifton <nickc@cygnus.com> | |
182 | ||
183 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be | |
184 | 'const char *' in order to match its usage when calling siblings. | |
185 | (snarf_numeric_literal): Make first arg 'const char **' in order | |
186 | to match usage. | |
187 | ||
188 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
189 | ||
190 | * choose-temp.c: Don't check IN_GCC anymore. | |
191 | ||
192 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. | |
193 | * memchr.c (memchr): Likewise. | |
194 | * memcpy.c (memcpy): Likewise. | |
195 | * memmove.c (memmove): Likewise. | |
196 | ||
197 | * mkstemp.c: Don't check IN_GCC anymore. | |
198 | * pexecute.c: Likewise. | |
199 | * splay-tree.c: Likewise. | |
200 | ||
201 | * strchr.c (strchr): Use `const', not `CONST'. | |
202 | * strrchr.c (strrchr): Likewise. | |
203 | * strtol.c (strtol): Likewise. | |
204 | * strtoul.c (strtoul): Likewise. | |
205 | ||
206 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> | |
207 | Elena Zannoni <ezannoni@cygnus.com> | |
208 | Stan Shebs <shebs@cygnus.com> | |
209 | Edith Epstein <eepstein@cygnus.com> | |
210 | Andres MacLeod <amacleod@cygnus.com> | |
211 | Satish Pai <pai@apollo.hp.com> | |
212 | ||
213 | * HP aCC demangling support. | |
214 | * cplus-dem.c | |
215 | (main): Remove default to HP style demangling, set to EDG | |
216 | demangling correctly when -edg specified; set the demangling style | |
217 | when user specifies 'edg'. Set strip_underscore to | |
218 | prepends_underscore, if not HPUXHPPA. Set | |
219 | current_demangling_style to hp_demangling if HPUXHPPA. Set | |
220 | current demangling style correctly if the switch is hp. Read | |
221 | label correctly also in the HP style case. | |
222 | (work_stuff): add temp_start field; add field for volatile member | |
223 | function. | |
224 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP | |
225 | style for this case is the same as ARM. | |
226 | (demangle_args): handle EDG_DEMANGLING style; support HP style. | |
227 | (demangle_arm_hp_template): new function. (It was | |
228 | demangle_arm_pt.); check and set value of temp_start field in | |
229 | multiple places. Also, when ceching for end of template args, | |
230 | check to see if at end of static member of template class. | |
231 | (demangle_class): new local variable : save_class_name_end Don't | |
232 | include template args in string defining class. | |
233 | (demangle_class_name): use demangel_arm_hp_template. | |
234 | (demangle_function_name): handle case where demangling style is | |
235 | HP_DEMANGLING and currently point at an 'X' in the mangled name. | |
236 | Handle EDG_DEMANGLING style. Handle constructor and destructor | |
237 | ops for HP style. | |
238 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING | |
239 | styles. global destructor and constructor for HP style are same | |
240 | as for ARM style. Same for local variables. | |
241 | (demangle_qualified): handle EDG_DEMANGLING style. | |
242 | (demangle_signature): add case for volatile member function. For | |
243 | cases '1' - '9' : initialize the temp_start field to -1 and handle | |
244 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING | |
245 | and AUTO_DEMANGLING styles. If expecting a function and managed | |
246 | to demangle the funct args, then handle the LUCID_DEMANGLING, | |
247 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local | |
248 | class name after "Lnnn_ in HP style case. HP style too needs to | |
249 | forget types. _nnn is OK for HP style, so don't report failure. | |
250 | (do_hpacc_template_const_value): new function. Handle template's | |
251 | value param for HP/aCC. | |
252 | (do_hpacc_template_literal): new function. Handle a template's | |
253 | literal parameter for HP aCC. | |
254 | (recursively_demangle): new function | |
255 | (snarf_numeric_literal): new function. | |
256 | (usage): add 'edg' to the list of demangling styles; add hp switch | |
257 | to message. | |
258 | ||
259 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> | |
260 | ||
261 | * pexecute.c: Remove obsolete ifdefed cygwin code. | |
262 | ||
263 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
264 | ||
265 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. | |
266 | * cplus-dem.c: Likewise. Conform to libiberty.h. | |
267 | * pexecute.c: Likewise. | |
268 | * splay-tree.c: Likewise. | |
269 | ||
270 | 1998-11-25 Mike Stump <mrs@wrs.com> | |
271 | ||
272 | * Makefile.in (splay-tree.o): Add config.h dependency. | |
273 | ||
274 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
275 | ||
276 | * configure.in: Use AC_PREREQ(2.12.1). | |
277 | ||
278 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> | |
279 | ||
280 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. | |
281 | ||
282 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) | |
283 | ||
284 | * mpw.c (mpw_access): Add missing parens. | |
285 | ||
286 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
287 | ||
288 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
289 | ||
290 | * pexecute.c: Include sys/wait.h when !IN_GCC. | |
291 | ||
292 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> | |
293 | ||
294 | * pexecute.c: revert back to checking old Cygwin | |
295 | preprocessor symbol until some time has passed. | |
296 | ||
297 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> | |
298 | ||
299 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin | |
300 | since it will now support similar constructs. | |
301 | ||
302 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
303 | ||
304 | * configure.in: Check for calloc. | |
305 | ||
306 | * calloc.c: New file. | |
307 | ||
308 | * xmalloc.c (xcalloc): New function. | |
309 | ||
310 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
311 | ||
312 | *cplus-dem.c (demangle_prefix): Use the last "__" | |
313 | in the mangled name when looking for the signature. This allows | |
314 | template names to begin with "__". | |
315 | ||
316 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> | |
317 | ||
318 | * cplus-dem.c (type_kind_t): Add tk_reference. | |
319 | (demangle_template_value_parm): Handle it. | |
320 | (do_type): Use it for references, instead of tk_pointer. | |
321 | ||
322 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, | |
323 | not internal_cplus_demangle. | |
324 | ||
325 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
326 | ||
327 | * choose-temp.c: Don't include gansidecl.h. | |
328 | * mkstemp.c: Likewise. | |
329 | * pexecute.c: Likewise. | |
330 | ||
331 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> | |
332 | ||
333 | * configure.in: detect cygwin* instead of cygwin32* | |
334 | * configure: regenerate | |
335 | ||
336 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
337 | ||
338 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining | |
339 | whether to include config.h. Possibly include unistd.h in the | |
340 | !IN_GCC case. Define VFORK_STRING as a printable function call | |
341 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is | |
342 | defined, include vfork.h. If VMS is defined, define vfork() | |
343 | appropriately. Remove vfork check on USG, we're using autoconf. | |
344 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking | |
345 | locally what string to use. | |
346 | ||
347 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> | |
348 | ||
349 | * splay-tree.c: Tweak include directives to make sure declarations of | |
350 | xmalloc and free are available. | |
351 | ||
352 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> | |
353 | ||
354 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in | |
355 | anonymous namespaces. | |
356 | ||
357 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> | |
358 | ||
359 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type | |
360 | with type_quals. | |
361 | (TYPE_UNQUALIFIED): New macro. | |
362 | (TYPE_QUAL_CONST): Likewise. | |
363 | (TYPE_QUAL_VOLATILE): Likewise. | |
364 | (TYPE_QUAL_RESTRICT): Likewise. | |
365 | (code_for_qualifier): New function. | |
366 | (qualifier_string): Likewise. | |
367 | (demangle_qualifier): Likewise. | |
368 | (internal_cplus_demangle): Use them. | |
369 | (demangle_signature): Likewise. | |
370 | (demangle_template_value_parm): Likewise. | |
371 | (do_type): Likewise. | |
372 | (demangle_fund_type)): Likewise. | |
373 | ||
374 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
375 | ||
376 | * splay-tree.c (splay_tree_foreach_helper): Make definition static | |
377 | to match prototype. | |
378 | ||
379 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> | |
380 | ||
381 | * splay-tree.c: New file. | |
382 | * Makefile.in (CFILES): Add it. | |
383 | (REQUIRED_OFILES): Likewise. | |
384 | (splay-tree.o): Add dependencies. | |
385 | ||
386 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
387 | ||
388 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking | |
389 | range of 'K' index. | |
390 | ||
391 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
392 | ||
393 | * choose-temp.c: Prototype mkstemps() when IN_GCC. | |
394 | ||
395 | * cplus-dem.c (consume_count): Cast argument of ctype macro to | |
396 | `unsigned char'. | |
397 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when | |
398 | comparing against one. | |
399 | (cplus_mangle_opname): Likewise. | |
400 | (demangle_integral_value): Cast argument of ctype macro to | |
401 | `unsigned char'. | |
402 | (demangle_template_value_parm): Likewise. | |
403 | (demangle_template): Initialize variable `bindex'. Cast the | |
404 | result of `strlen' to (int) when comparing against one. Remove | |
405 | unused variable `start_of_value_parm'. | |
406 | (demangle_class_name): Cast the result of `strlen' to (int) when | |
407 | comparing against one. | |
408 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. | |
409 | (gnu_special): Likewise. Cast the result of `strlen' to (int) | |
410 | when comparing against one. | |
411 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. | |
412 | (get_count): Likewise. | |
413 | (do_type): Likewise. Cast the result of `strlen' to (int) when | |
414 | comparing against one. | |
415 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. | |
416 | (demangle_function_name): Cast the result of `strlen' to (int) | |
417 | when comparing against one. | |
418 | ||
419 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when | |
420 | comparing against one. | |
421 | ||
422 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) | |
423 | ||
424 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h | |
425 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. | |
426 | * config.in, configure: Rebuilt. | |
427 | ||
428 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. | |
429 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. | |
430 | * config.in, configure: Rebuilt. | |
431 | ||
432 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> | |
433 | ||
434 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT | |
435 | ||
436 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> | |
437 | ||
438 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. | |
439 | ||
440 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) | |
441 | ||
442 | * Merge egcs & devo libiberty. | |
443 |