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