]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
cplus-dem.c (demangle_fund_type): Process CV and u codes before bumping the pointer...
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
e8fc8222
AM
1Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2
3 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
4 bumping the pointer we read from. Also prepend these codes,
5 as we do in other places.
6
11a0bb74
KG
7Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8
9 * choose-temp.c: Don't check IN_GCC anymore.
10
11 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
12 * memchr.c (memchr): Likewise.
13 * memcpy.c (memcpy): Likewise.
14 * memmove.c (memmove): Likewise.
15
16 * mkstemp.c: Don't check IN_GCC anymore.
17 * pexecute.c: Likewise.
18 * splay-tree.c: Likewise.
19
20 * strchr.c (strchr): Use `const', not `CONST'.
21 * strrchr.c (strrchr): Likewise.
22 * strtol.c (strtol): Likewise.
23 * strtoul.c (strtoul): Likewise.
24
70d5ccef
DT
25Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
26 Elena Zannoni <ezannoni@cygnus.com>
27 Stan Shebs <shebs@cygnus.com>
28 Edith Epstein <eepstein@cygnus.com>
29 Andres MacLeod <amacleod@cygnus.com>
30 Satish Pai <pai@apollo.hp.com>
31
32 * HP aCC demangling support.
33 * cplus-dem.c
34 (main): Remove default to HP style demangling, set to EDG
35 demangling correctly when -edg specified; set the demangling style
36 when user specifies 'edg'. Set strip_underscore to
37 prepends_underscore, if not HPUXHPPA. Set
38 current_demangling_style to hp_demangling if HPUXHPPA. Set
39 current demangling style correctly if the switch is hp. Read
40 label correctly also in the HP style case.
41 (work_stuff): add temp_start field; add field for volatile member
42 function.
43 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
44 style for this case is the same as ARM.
45 (demangle_args): handle EDG_DEMANGLING style; support HP style.
46 (demangle_arm_hp_template): new function. (It was
47 demangle_arm_pt.); check and set value of temp_start field in
48 multiple places. Also, when ceching for end of template args,
49 check to see if at end of static member of template class.
50 (demangle_class): new local variable : save_class_name_end Don't
51 include template args in string defining class.
52 (demangle_class_name): use demangel_arm_hp_template.
53 (demangle_function_name): handle case where demangling style is
54 HP_DEMANGLING and currently point at an 'X' in the mangled name.
55 Handle EDG_DEMANGLING style. Handle constructor and destructor
56 ops for HP style.
57 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
58 styles. global destructor and constructor for HP style are same
59 as for ARM style. Same for local variables.
60 (demangle_qualified): handle EDG_DEMANGLING style.
61 (demangle_signature): add case for volatile member function. For
62 cases '1' - '9' : initialize the temp_start field to -1 and handle
63 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
64 and AUTO_DEMANGLING styles. If expecting a function and managed
65 to demangle the funct args, then handle the LUCID_DEMANGLING,
66 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
67 class name after "Lnnn_ in HP style case. HP style too needs to
68 forget types. _nnn is OK for HP style, so don't report failure.
69 (do_hpacc_template_const_value): new function. Handle template's
70 value param for HP/aCC.
71 (do_hpacc_template_literal): new function. Handle a template's
72 literal parameter for HP aCC.
73 (recursively_demangle): new function
74 (snarf_numeric_literal): new function.
75 (usage): add 'edg' to the list of demangling styles; add hp switch
76 to message.
77
8d525fa8
CF
78Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
79
80 * pexecute.c: Remove obsolete ifdefed cygwin code.
81
9b1a92d8
KG
82Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
83
84 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
85 * cplus-dem.c: Likewise. Conform to libiberty.h.
86 * pexecute.c: Likewise.
87 * splay-tree.c: Likewise.
88
c85c3232
MS
891998-11-25 Mike Stump <mrs@wrs.com>
90
91 * Makefile.in (splay-tree.o): Add config.h dependency.
92
35a6cd99
KG
93Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
94
95 * configure.in: Use AC_PREREQ(2.12.1).
96
6e6e34b7
BK
971998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
98
99 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
100
59b67c11
JL
101Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
102
103 * mpw.c (mpw_access): Add missing parens.
104
a6458d1d
KG
105Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
106
107 * configure.in: Call AC_HEADER_SYS_WAIT.
108
109 * pexecute.c: Include sys/wait.h when !IN_GCC.
110
a9acf741
KG
111Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
112
113 * configure.in: Check for calloc.
114
115 * calloc.c: New file.
116
117 * xmalloc.c (xcalloc): New function.
118
a49fb37a
AM
119Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
120
121 *cplus-dem.c (demangle_prefix): Use the last "__"
122 in the mangled name when looking for the signature. This allows
123 template names to begin with "__".
124
0e714131
MM
1251998-11-08 Mark Mitchell <mark@markmitchell.com>
126
ec2288ff
MM
127 * cplus-dem.c (type_kind_t): Add tk_reference.
128 (demangle_template_value_parm): Handle it.
129 (do_type): Use it for references, instead of tk_pointer.
130
0e714131
MM
131 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
132 not internal_cplus_demangle.
133
2931b6d4
KG
134Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
135
136 * choose-temp.c: Don't include gansidecl.h.
137 * mkstemp.c: Likewise.
138 * pexecute.c: Likewise.
139
dd8f3ed5
GN
140Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
141
142 * configure.in: detect cygwin* instead of cygwin32*
143 * configure: regenerate
144
c5f7c445
KG
145Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
146
147 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
148 whether to include config.h. Possibly include unistd.h in the
149 !IN_GCC case. Define VFORK_STRING as a printable function call
150 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
151 defined, include vfork.h. If VMS is defined, define vfork()
152 appropriately. Remove vfork check on USG, we're using autoconf.
153 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
154 locally what string to use.
155
ad3ef78e
MM
1561998-10-26 Mark Mitchell <mark@markmitchell.com>
157
158 * splay-tree.c: Tweak include directives to make sure declarations of
159 xmalloc and free are available.
160
224301c1
MM
1611998-10-25 Mark Mitchell <mark@markmitchell.com>
162
163 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
164 anonymous namespaces.
165
d9db46fd
MM
1661998-10-23 Mark Mitchell <mark@markmitchell.com>
167
168 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
169 with type_quals.
170 (TYPE_UNQUALIFIED): New macro.
171 (TYPE_QUAL_CONST): Likewise.
172 (TYPE_QUAL_VOLATILE): Likewise.
173 (TYPE_QUAL_RESTRICT): Likewise.
174 (code_for_qualifier): New function.
175 (qualifier_string): Likewise.
176 (demangle_qualifier): Likewise.
177 (internal_cplus_demangle): Use them.
178 (demangle_signature): Likewise.
179 (demangle_template_value_parm): Likewise.
180 (do_type): Likewise.
181 (demangle_fund_type)): Likewise.
224301c1 182
b056ad1c
KG
183Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
184
185 * splay-tree.c (splay_tree_foreach_helper): Make definition static
186 to match prototype.
187
ed87f9c8
MM
1881998-10-21 Mark Mitchell <mark@markmitchell.com>
189
190 * splay-tree.c: New file.
191 * Makefile.in (CFILES): Add it.
192 (REQUIRED_OFILES): Likewise.
193 (splay-tree.o): Add dependencies.
194
e0c13971
AS
195Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
196
197 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
198 range of 'K' index.
199
91e0f659
KG
200Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201
202 * choose-temp.c: Prototype mkstemps() when IN_GCC.
203
204 * cplus-dem.c (consume_count): Cast argument of ctype macro to
205 `unsigned char'.
206 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
207 comparing against one.
208 (cplus_mangle_opname): Likewise.
209 (demangle_integral_value): Cast argument of ctype macro to
210 `unsigned char'.
211 (demangle_template_value_parm): Likewise.
212 (demangle_template): Initialize variable `bindex'. Cast the
213 result of `strlen' to (int) when comparing against one. Remove
214 unused variable `start_of_value_parm'.
215 (demangle_class_name): Cast the result of `strlen' to (int) when
216 comparing against one.
217 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
218 (gnu_special): Likewise. Cast the result of `strlen' to (int)
219 when comparing against one.
220 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
221 (get_count): Likewise.
222 (do_type): Likewise. Cast the result of `strlen' to (int) when
223 comparing against one.
224 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
225 (demangle_function_name): Cast the result of `strlen' to (int)
226 when comparing against one.
227
228 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
229 comparing against one.
230
73aeb2ff
JL
231Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
232
ae76f1be
JL
233 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
234 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
235 * config.in, configure: Rebuilt.
236
73aeb2ff
JL
237 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
238 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
239 * config.in, configure: Rebuilt.
240
dd8f3ed5
GN
241Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
242
243 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
244
f77d8413
MT
245Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
246
247 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
248
ca6b370d
JL
249Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
250
251 * Merge egcs & devo libiberty.
252
ab4856b1
ML
253