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