| 1 | 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> |
| 2 | Jeff Law <law@cygnus.com> |
| 3 | |
| 4 | * getcwd.c: Include string.h, stdlib.h for prototypes |
| 5 | |
| 6 | * Makefile.in (rename.o, waitpid.o): Depend on config.h |
| 7 | * rename.c: include config.h, unistd.h |
| 8 | * waitpid.c: include config.h, sys/wait.h |
| 9 | |
| 10 | 2000-07-24 Daniel Berlin <dberlin@redhat.com> |
| 11 | |
| 12 | * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to |
| 13 | if (AUTO_DEMANGLING || GNU_DEMANGLING) |
| 14 | |
| 15 | 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 16 | Jeff Law <law@cygnus.com> |
| 17 | |
| 18 | * configure.in (AC_CHECK_HEADERS): Add time.h. |
| 19 | (AC_HEADER_TIME): Add check. |
| 20 | * configure, config.in: Regenerate. |
| 21 | * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. |
| 22 | |
| 23 | * configure.in (AC_CHECK_HEADERS): Add limits.h. |
| 24 | * configure, config.in: Regenerate. |
| 25 | * sort.c: Portably #include <limits.h> and/or <sys/param.h>. |
| 26 | * strtol.c, strtoul.c: #include "config.h". Portably #include |
| 27 | <limits.h> and/or <sys/param.h>. |
| 28 | * Makefile.in (strtol.o, strtoul.o): Update dependencies. |
| 29 | |
| 30 | * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. |
| 31 | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. |
| 32 | * configure, config.in: Regenerate. |
| 33 | * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. |
| 34 | |
| 35 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. |
| 36 | |
| 37 | 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> |
| 38 | |
| 39 | * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, |
| 40 | and print it with %u. |
| 41 | |
| 42 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> |
| 43 | |
| 44 | * testsuite/regress-demangle (failed test): Show result and |
| 45 | expected output. |
| 46 | |
| 47 | 2000-07-07 Andrew Haley <aph@cygnus.com> |
| 48 | |
| 49 | * cplus-dem.c (main): fflush() after emitting last char before |
| 50 | waiting for input. |
| 51 | |
| 52 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> |
| 53 | |
| 54 | * cp-demangle.c (demangle_encoding): Accept no substitutions. |
| 55 | (demangle_name): Handle <substitution> followed by |
| 56 | <unqualified-template-name>. |
| 57 | (demangle_type): Follow special substitutions with |
| 58 | <class-enum-type> |
| 59 | (demangle_subtitution): Set template_p for special substitutions. |
| 60 | (main): Fix typos. |
| 61 | |
| 62 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> |
| 63 | |
| 64 | * cp-demangle.c (demangle_special_name): Swap base and derived |
| 65 | class when demangling construction vtables. |
| 66 | |
| 67 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> |
| 68 | |
| 69 | * cp-demangle.c: Don't include ctype.h. |
| 70 | (IS_DIGIT): New macro. |
| 71 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout |
| 72 | instead of isdigit and isalpanum. |
| 73 | (demangling_def): Make name and next const pointers. |
| 74 | (STATUS_ALLOCATION_FAILED): New status code. |
| 75 | (dyn_string_append_space): Handle failure in |
| 76 | dyn_string_append_char. |
| 77 | (int_to_dyn_string): Likewise. Change return value to status_t. |
| 78 | (string_list_new): Handle failure of dyn_string_init. |
| 79 | (result_close_template_list): Change return type to status_t. |
| 80 | Handle failure in dyn_string_append. |
| 81 | (result_push): Change return value to status_t. Handle failure in |
| 82 | string_list_new. Handle failure of result_push throughout. |
| 83 | (substitution_add): Change return value to status_t. Handle |
| 84 | dyn_string failures. Handle failure of substitution_add |
| 85 | throughout. |
| 86 | (template_arg_list_new): Return NULL on allocation failure. |
| 87 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. |
| 88 | Handle error result throughout. |
| 89 | (result_append): Likewise. |
| 90 | (result_append_char): Likewise. |
| 91 | (result_append_space): Likewise. |
| 92 | (demangling_new): Make argument a const pointer. Handle |
| 93 | allocation failures. |
| 94 | (demangle_template_args): Handle failure in template_arg_list_new |
| 95 | and result_close_template_list. |
| 96 | (demangle_discriminator): Return if int_to_dyn_string fails. |
| 97 | (cp_demangle): Likewise. |
| 98 | (cp_demangle_type): New function. |
| 99 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on |
| 100 | memory allocation failure. |
| 101 | (main): Likewise. |
| 102 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if |
| 103 | IN_LIBGCC2. |
| 104 | (dyn_string_init): Change return value to int. Handle |
| 105 | RETURN_ON_ALLOCATION_FAILURE case. |
| 106 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 107 | (dyn_string_release): Delete the dyn_string. |
| 108 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 109 | (dyn_string_copy): Change return type to int. |
| 110 | (dyn_string_copy_cstr): Likewise. |
| 111 | (dyn_string_prepend): Likewise. |
| 112 | (dyn_string_prepend_cstr): Likewise. |
| 113 | (dyn_string_insert): Likewise. |
| 114 | (dyn_string_insert_cstr): Likewise. |
| 115 | (dyn_string_append): Likewise. |
| 116 | (dyn_string_append_cstr): Likewise. |
| 117 | (dyn_string_append_char): Likewise. |
| 118 | (dyn_string_substring): Likewise. |
| 119 | |
| 120 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> |
| 121 | |
| 122 | * cp-demangle.c (demangle_operator_name): Add spaces before |
| 123 | names beginning with a letter: delete, delete[], new, new[], |
| 124 | sizeof. |
| 125 | (demangle_special_name): Handle TF <type> and TJ <type>. |
| 126 | |
| 127 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> |
| 128 | |
| 129 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. |
| 130 | |
| 131 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> |
| 132 | |
| 133 | * cp-demangle.c (stdio.h): File included unconditionaly. |
| 134 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). |
| 135 | * dyn-string.c (stdio.h): File included. |
| 136 | * partition.c (partition_print): No `&' needed to take the address of |
| 137 | a function. |
| 138 | |
| 139 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 140 | |
| 141 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. |
| 142 | |
| 143 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. |
| 144 | |
| 145 | * cp-demangle.c (demangle_char): Change parameter from char to int. |
| 146 | (demangle_expression, demangle_expr_primary): Remove extra |
| 147 | semi-colon in prototype. |
| 148 | |
| 149 | * dyn-string.c (dyn_string_append_char): Change parameter from |
| 150 | char to int. |
| 151 | |
| 152 | * memcmp.c (memcmp): Constify. |
| 153 | |
| 154 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with |
| 155 | __extension__. |
| 156 | |
| 157 | * partition.c (elem_compare): Prototype. Don't cast away |
| 158 | const-ness. |
| 159 | |
| 160 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. |
| 161 | |
| 162 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 163 | |
| 164 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. |
| 165 | |
| 166 | * cp-demangle.c: Include demangle.h. |
| 167 | (template_arg_list_new): DeANSIfy. |
| 168 | (cp_demangle): Make static and add prototype. |
| 169 | (operator_code, operators): Constify. |
| 170 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. |
| 171 | |
| 172 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> |
| 173 | |
| 174 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to |
| 175 | unsigned char. |
| 176 | (demangle_unqualified_name): Likewise. |
| 177 | (demangle_number_literally): Likewise. |
| 178 | (demangle_type): Likewise. |
| 179 | (demangle_substitution): Likewise. |
| 180 | (is_mangled_char): Likewise, for isalnum. |
| 181 | |
| 182 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> |
| 183 | |
| 184 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. |
| 185 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. |
| 186 | (cp-demangle.o): New dependency. |
| 187 | (dyn-string.o): Likewise. |
| 188 | |
| 189 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. |
| 190 | |
| 191 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI |
| 192 | demangler. |
| 193 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI |
| 194 | demangling mode. |
| 195 | (gnu_new_abi_symbol_characters): New function. |
| 196 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New |
| 197 | file. |
| 198 | * cp-demangle.c: New file. |
| 199 | |
| 200 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 201 | |
| 202 | * floatformat.c: Add name to each floatformat field. |
| 203 | |
| 204 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
| 205 | |
| 206 | * Makefile.in (objalloc.o): Depend on config.h |
| 207 | |
| 208 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
| 209 | |
| 210 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h |
| 211 | if HAVE_STRING_H. |
| 212 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. |
| 213 | * objalloc.c: Include config.h. Include stdlib.h and don't |
| 214 | declare malloc or free if HAVE_STDLIB_H. |
| 215 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, |
| 216 | else declare malloc without prototype. Include string.h if |
| 217 | HAVE_STRING_H, else declare memset without prototype. Don't |
| 218 | include stddef.h. |
| 219 | |
| 220 | 2000-05-23 Mike Stump <mrs@wrs.com> |
| 221 | |
| 222 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make |
| 223 | -j3. |
| 224 | |
| 225 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
| 226 | |
| 227 | * xmalloc.c: Include config.h for HAVE_SBRK definition. |
| 228 | |
| 229 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> |
| 230 | |
| 231 | * hashtab.c (hash_pointer): Delete low-order bits which are |
| 232 | probably zero, also eliminate a warning on alpha. |
| 233 | |
| 234 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> |
| 235 | |
| 236 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not |
| 237 | on $(enable_shared). |
| 238 | |
| 239 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> |
| 240 | |
| 241 | * config.table: Use mh-sparcpic for sparc*-*-*. |
| 242 | |
| 243 | 2000-05-08 Nick Clifton <nickc@cygnus.com> |
| 244 | |
| 245 | * Makefile.in (CFILES): Add strncmp.c. |
| 246 | (NEEDED): Add strncmp. |
| 247 | |
| 248 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 249 | |
| 250 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): |
| 251 | Cast the arguments to `islower' to `unsigned char'. |
| 252 | (print_demangler_list): Prototype. |
| 253 | |
| 254 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> |
| 255 | |
| 256 | * sort.c (UCHAR_MAX): Provide fallback definition. |
| 257 | |
| 258 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> |
| 259 | |
| 260 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty |
| 261 | SUBDIRS. |
| 262 | |
| 263 | 2000-04-28 Kenneth Block <block@zk3.dec.com> |
| 264 | Jason Merrill <jason@casey.cygnus.com> |
| 265 | |
| 266 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. |
| 267 | (cplus_demangle_set_style): New function for setting style. |
| 268 | (cplus_demangle_name_to_style): New function to translate name. |
| 269 | |
| 270 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 271 | |
| 272 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. |
| 273 | |
| 274 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. |
| 275 | (libiberty_AC_FUNC_STRNCMP): Invoke. |
| 276 | |
| 277 | * strncmp.c: New file. |
| 278 | |
| 279 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> |
| 280 | |
| 281 | * hashtab.c (htab_expand): Add prototype. |
| 282 | (find_empty_slot_for_expand): Likewise. |
| 283 | |
| 284 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 285 | |
| 286 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to |
| 287 | match prototype. |
| 288 | (htab_expand): Cast the return value of xcalloc. |
| 289 | |
| 290 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> |
| 291 | |
| 292 | * hashtab.c (hash_pointer): New function. |
| 293 | (eq_pointer): Likewise. |
| 294 | (htab_hash_pointer): New variable. |
| 295 | (htab_eq_pointer): Likewise. |
| 296 | |
| 297 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> |
| 298 | |
| 299 | * sort.c (sort_pointers): Fix endianness bugs. |
| 300 | |
| 301 | * sort.c: New file. |
| 302 | * Makefile.in (CFILES): Add sort.c |
| 303 | (REQUIRED_OFILES): Add sort.o. |
| 304 | (sort.o): New target. |
| 305 | |
| 306 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 307 | |
| 308 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on |
| 309 | 4.3BSD systems. |
| 310 | |
| 311 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
| 312 | |
| 313 | * hashtab.c: Various minor cleanups. |
| 314 | (htab_find_slot_with_hash): INSERT is now enum insert_option. |
| 315 | (htab_find_slot): Likewise. |
| 316 | |
| 317 | 2000-04-16 Dave Pitts <dpitts@cozx.com> |
| 318 | |
| 319 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. |
| 320 | |
| 321 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
| 322 | |
| 323 | * splay-tree.c (splay_tree_remove): New. |
| 324 | |
| 325 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> |
| 326 | |
| 327 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash |
| 328 | codes. |
| 329 | (htab_find_with_hash): Likewise. |
| 330 | (htab_find_slot_with_hash): Likewise. |
| 331 | |
| 332 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> |
| 333 | |
| 334 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 |
| 335 | unless it will be used. Rearrange loop for better |
| 336 | optimization. |
| 337 | (higher_prime_number): Add static prototype. |
| 338 | |
| 339 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
| 340 | |
| 341 | * Makefile.in (partition.o): Depend on config.h |
| 342 | |
| 343 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> |
| 344 | |
| 345 | * hashtab.c (find_empty_slot_for_expand): New function. |
| 346 | (htab_expand): Use it instead of htab_find_slot. |
| 347 | (htab_find_with_hash): Renamed from htab_find; now accepts extra |
| 348 | argument HASH. |
| 349 | (htab_find_slot_with_hash): Likewise for htab_find_slot. |
| 350 | (htab_find): New wrapper function. |
| 351 | (htab_find_slot): Likewise. |
| 352 | (htab_traverse): Pass slot, not entry, to called function. |
| 353 | |
| 354 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> |
| 355 | |
| 356 | * Makefile.in (CFILES): Add partition.c. |
| 357 | (REQUIRED_OFILES): Add partition.o. |
| 358 | (partition.o): New rule. |
| 359 | * partition.c: New file. |
| 360 | |
| 361 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> |
| 362 | |
| 363 | * hashtab.c (htab_create): Set del_f. |
| 364 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): |
| 365 | Use it. |
| 366 | |
| 367 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> |
| 368 | |
| 369 | * hashtab.c: Remove debugging variables (all_searches, |
| 370 | all_collisions, all_expansions). Delete |
| 371 | all_hash_table_collisions. |
| 372 | (create_hash_table, delete_hash_table, empty_hash_table, |
| 373 | find_hash_table_entry, remove_element_from_hash_table_entry, |
| 374 | clear_hash_table_slot, traverse_hash_table, hash_table_size, |
| 375 | hash_table_elements_number, hash_table_collisions): Rename to: |
| 376 | htab_create, htab_delete, htab_empty, htab_find_slot, |
| 377 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, |
| 378 | htab_elements, htab_collisions. |
| 379 | (htab_find): New function, handles common case where you don't |
| 380 | plan to add or delete an entry. |
| 381 | (htab_expand): Don't create a whole new table, just a new |
| 382 | entry vector. |
| 383 | (htab_find_slot): Simplify logic. |
| 384 | |
| 385 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
| 386 | |
| 387 | * floatformat.c: Add casts to avoid signed/unsigned warnings. |
| 388 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. |
| 389 | |
| 390 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to |
| 391 | $(TARGETLIB)n so it works on MSDOS. |
| 392 | (install_to_tooldir): Likewise. |
| 393 | |
| 394 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
| 395 | |
| 396 | From Mark Elbrecht: |
| 397 | * makefile.dos: Remove; obsolete. |
| 398 | * configure.bat: Remove; obsolete. |
| 399 | |
| 400 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 401 | |
| 402 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 403 | warning. |
| 404 | |
| 405 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
| 406 | |
| 407 | * pexecute.c: Conditionally include string.h. |
| 408 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
| 409 | |
| 410 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 411 | |
| 412 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if |
| 413 | we're using gcc. |
| 414 | |
| 415 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ |
| 416 | |
| 417 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> |
| 418 | |
| 419 | * vasprintf.c (int_vasprintf): Don't re-read the format character |
| 420 | as this mishandles strings like '%%s'. |
| 421 | |
| 422 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> |
| 423 | |
| 424 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s |
| 425 | rather than struct splay_tree_node. |
| 426 | (splay_tree_insert): Use struct splay_tree_s rather than struct |
| 427 | splay_tree. |
| 428 | |
| 429 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> |
| 430 | |
| 431 | * hashtab.c (sys/types.h): File included. |
| 432 | |
| 433 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> |
| 434 | |
| 435 | * strtoul.c, strtol.c, random.c: Remove advertising clause from |
| 436 | BSD license, pursuant with |
| 437 | |
| 438 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change |
| 439 | |
| 440 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) |
| 441 | |
| 442 | * hashtab.c: Include stdio.h. |
| 443 | |
| 444 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) |
| 445 | |
| 446 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. |
| 447 | |
| 448 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> |
| 449 | |
| 450 | * xstrdup (sys/types.h): Include this file. |
| 451 | |
| 452 | 1999-10-28 Nathan Sidwell <nathan@acm.org> |
| 453 | |
| 454 | * Makefile.in (SUBDIRS): New macro. |
| 455 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to |
| 456 | avoid multiple subdirectory cleaning. |
| 457 | (*-subdir): Use SUBDIRS. |
| 458 | |
| 459 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> |
| 460 | |
| 461 | * cplus-dem.c: Move declarations of standard_symbol_characters and |
| 462 | hp_symbol_characters inside #ifdef MAIN to avoid compiler |
| 463 | warnings. |
| 464 | |
| 465 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> |
| 466 | |
| 467 | * hashtab.c (find_hash_table_entry): When returning a |
| 468 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. |
| 469 | (clear_hash_table_slot): New function which deletes an entry |
| 470 | by its position in the table, not its value. |
| 471 | (traverse_hash_table): New function which calls a hook |
| 472 | function for every live entry in the table. |
| 473 | |
| 474 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> |
| 475 | |
| 476 | * cplus-dem.c (INTBUF_SIZE): New macro. |
| 477 | (string_append_template_idx): New function. |
| 478 | (demangle_expression): Likewise. |
| 479 | (demangle_integral_value): Use it. |
| 480 | (demangle_real_value): New function, split out from ... |
| 481 | (demangle_template_value_parm): ... here. Use |
| 482 | string_append_template_idx. Use demangle_real_value. |
| 483 | (demangle_template): Use string_append_template_idx. |
| 484 | (demangle_qualified): Use consume_count_with_underscores. |
| 485 | (get_count): Tweak formatting. |
| 486 | (do_type): Use string_append_template_idx. |
| 487 | |
| 488 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 489 | |
| 490 | * calloc.c: Add a public domain notice. |
| 491 | |
| 492 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> |
| 493 | |
| 494 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. |
| 495 | |
| 496 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> |
| 497 | |
| 498 | * Makefile.in (CFILES): Add hashtab.c |
| 499 | (REQUIRED_OFILES): Add hashtab.o |
| 500 | (hashtab.o): Add dependencies. |
| 501 | * hashtab.c: New file |
| 502 | |
| 503 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 504 | |
| 505 | * basename.c (DIR_SEPARATOR): New macro. |
| 506 | (DIR_SEPARATOR_2): Likewise. |
| 507 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. |
| 508 | (IS_DIR_SEPARATOR): Likewise. |
| 509 | (main): Handle MSDOS style pathname. |
| 510 | |
| 511 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> |
| 512 | |
| 513 | * cplus-dem.c (do_type): Handle pointer to member types whose |
| 514 | enclosing classes have namespace scope. |
| 515 | |
| 516 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> |
| 517 | |
| 518 | * config.table: Provide a backup shell for executing move-if-change. |
| 519 | |
| 520 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> |
| 521 | |
| 522 | * xmalloc.c (xmalloc): Fix spelling error. |
| 523 | (xcalloc, xrealloc): Likewise. |
| 524 | |
| 525 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 526 | |
| 527 | * cplus-dem.c (fancy_abort, demangle_integral_value, |
| 528 | demangle_arm_hp_template, recursively_demangle, |
| 529 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. |
| 530 | (program_name, program_version, fatal): Constify a char*. |
| 531 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. |
| 532 | (main): Call return, not exit. |
| 533 | |
| 534 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 535 | |
| 536 | * choose-temp.c: Remove obsolete comment about gcc. |
| 537 | (make_temp_file): Constify a char*. |
| 538 | |
| 539 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 540 | |
| 541 | * xmemdup.c: Include sys/types.h. |
| 542 | |
| 543 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> |
| 544 | |
| 545 | * xmemdup.c: New xmemdup function. |
| 546 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. |
| 547 | |
| 548 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> |
| 549 | |
| 550 | * config.table: Add openedition target. |
| 551 | * config/mh-openedition: New file. |
| 552 | |
| 553 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> |
| 554 | |
| 555 | * pexecute.c (pexecute): Fill in temp_base when needed. |
| 556 | |
| 557 | 1999-08-31 Richard Henderson <rth@cygnus.com> |
| 558 | |
| 559 | * getpwd.c: Check HAVE_GETCWD before defining it away. |
| 560 | |
| 561 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 562 | |
| 563 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. |
| 564 | (REQUIRED_OFILES): Add getpwd.o. |
| 565 | (getpwd.o): Add target. |
| 566 | |
| 567 | * configure.in (AC_PREREQ): Bump to 2.13. |
| 568 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. |
| 569 | |
| 570 | * getpwd.c: New file, moved here from gcc. |
| 571 | |
| 572 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 573 | |
| 574 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when |
| 575 | comparing against a signed quantity. |
| 576 | (arm_special): Likewise. |
| 577 | (demangle_fund_type): Likewise. |
| 578 | (do_hpacc_template_const_value): Mark parameter `work' with |
| 579 | ATTRIBUTE_UNUSED. |
| 580 | (main): Constify variable `valid_symbols'. |
| 581 | |
| 582 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> |
| 583 | |
| 584 | * strtoul.c (strtoul): Add parentheses around && within ||. |
| 585 | |
| 586 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> |
| 587 | |
| 588 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, |
| 589 | libdir, libsubdir and tooldir. |
| 590 | |
| 591 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> |
| 592 | |
| 593 | * splay-tree.c (splay_tree_insert): Return the new node. |
| 594 | |
| 595 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
| 596 | |
| 597 | * argv.c: Include stdlib.h and string.h instead of |
| 598 | prototyping directly. |
| 599 | * choose-temp.c: Conditionally include string.h. |
| 600 | |
| 601 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
| 602 | |
| 603 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. |
| 604 | |
| 605 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 606 | |
| 607 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 608 | warning. |
| 609 | |
| 610 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
| 611 | |
| 612 | * Makefile.in (needed-list): Only include stuff we actually need |
| 613 | for libstdc++. |
| 614 | |
| 615 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 616 | |
| 617 | * configure.in (checkfuncs): Add gettimeofday. |
| 618 | * config.in, configure: Regenerated. |
| 619 | |
| 620 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 621 | |
| 622 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if |
| 623 | the test fails. |
| 624 | * configure: Regenerate. |
| 625 | |
| 626 | 1999-06-10 Mike Stump <mrs@wrs.com> |
| 627 | |
| 628 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix |
| 629 | parallel builds. |
| 630 | |
| 631 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 632 | |
| 633 | * putenv.c: Include ansidecl.h to define `const'. |
| 634 | * setenv.c: Likewise. |
| 635 | |
| 636 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> |
| 637 | |
| 638 | * Makefile.in (CFILES): Add putenv.c and setenv.c. |
| 639 | * configure.in (funcs): Add putenv and setenv. |
| 640 | (AC_CHECK_FUNCS): Check for putenv and setenv. |
| 641 | * configure: Rebuilt. |
| 642 | * putenv.c setenv.c: New files. |
| 643 | |
| 644 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE |
| 645 | bytes of space using malloc. |
| 646 | |
| 647 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
| 648 | |
| 649 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance |
| 650 | the *mangled pointer beyond the end of the string. Clean up code to |
| 651 | match prevailing coding style. |
| 652 | |
| 653 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
| 654 | |
| 655 | * tmpnam.c (L_tmpnam): Fix typo. |
| 656 | |
| 657 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> |
| 658 | |
| 659 | * cplus-dem.c (standard_symbol_characters): Renamed from |
| 660 | standard_symbol_alphabet. No longer modify TABLE. |
| 661 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer |
| 662 | modify TABLE. |
| 663 | (main): Corresponding changes. Use strchr to determine if a |
| 664 | character is valid. |
| 665 | |
| 666 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
| 667 | |
| 668 | * cplus-dem.c (main): Use table lookup to distinguish identifier |
| 669 | characters from non-identifier characters. |
| 670 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. |
| 671 | |
| 672 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
| 673 | |
| 674 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. |
| 675 | * getruntime.c: Only attempt to include sys/resource.h and |
| 676 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H |
| 677 | are defined. |
| 678 | |
| 679 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
| 680 | |
| 681 | * configure.in (alloca detection): Handle alloca directly for interix. |
| 682 | * configure: Rebuilt. |
| 683 | |
| 684 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 685 | |
| 686 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. |
| 687 | |
| 688 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
| 689 | |
| 690 | Fix from Dale Hawkins: |
| 691 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
| 692 | reallocated properly if we use it again. |
| 693 | |
| 694 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be |
| 695 | stricter about syntax. Always null-terminate string. |
| 696 | |
| 697 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 698 | |
| 699 | * configure.in (checkfuncs): Check for sbrk. |
| 700 | * config.in: Rebuilt. |
| 701 | * configure: Likewise. |
| 702 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. |
| 703 | |
| 704 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
| 705 | |
| 706 | Fix from Marcus Daniels: |
| 707 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the |
| 708 | identifier looking for another underscore. |
| 709 | |
| 710 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 711 | |
| 712 | * pexecute.c: Change all references to __UWIN__ to _UWIN. |
| 713 | * xmalloc.c: Likewise. |
| 714 | (xcalloc): UWIN has sbrk. |
| 715 | (xrealloc): Fix guard macro. |
| 716 | |
| 717 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
| 718 | |
| 719 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin |
| 720 | or <alloca.h>. |
| 721 | * clock.c (GNU_HZ): New definition. |
| 722 | (clock): Use it. |
| 723 | * getruntime.c: Likewise. |
| 724 | |
| 725 | * config.table: Use mh-beos. |
| 726 | * config/mh-beos: New file. |
| 727 | |
| 728 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
| 729 | |
| 730 | * cplus-dem.c (demangle_template_value_parm): Handle |
| 731 | pointers-to-members. |
| 732 | (do_type): Handle template parameters as qualifiers. |
| 733 | |
| 734 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
| 735 | |
| 736 | * cplus-dem.c: Attempt to handle overflows in counts with some |
| 737 | semblance of grace. |
| 738 | (consume_count): Detect overflows. Return -1 to indicate errors, |
| 739 | instead of zero. |
| 740 | (demangle_template_value_parm, demangle_template): Handle change |
| 741 | to consume_count's return convention. |
| 742 | |
| 743 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
| 744 | |
| 745 | * testsuite/regress-demangle: New file. |
| 746 | * testsuite/demangle-expected: New file. |
| 747 | |
| 748 | * Makefile.in (all, check, installcheck, info, install-info, |
| 749 | clean-info, dvi, install, etags, tags, mostlyclean, clean, |
| 750 | distclean, maintainer-clean, realclean): Depend on corresponding |
| 751 | `-subdir' target. |
| 752 | (all-subdir check-subdir installcheck-subdir info-subdir |
| 753 | install-info-subdir clean-info-subdir dvi-subdir |
| 754 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir |
| 755 | distclean-subdir maintainer-clean-subdir): New target. |
| 756 | * testsuite/Makefile.in: New file. |
| 757 | * configure: Rebuilt. |
| 758 | * configure.in: Create testsuite/Makefile. |
| 759 | |
| 760 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> |
| 761 | |
| 762 | * splay-tree.h (splay_tree_compare_pointers): Define. |
| 763 | |
| 764 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> |
| 765 | |
| 766 | * splay-tree.c (splay_tree_compare_ints): Define. |
| 767 | |
| 768 | 1999-03-30 Tom Tromey <tromey@cygnus.com> |
| 769 | |
| 770 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and |
| 771 | don't advance input pointer. |
| 772 | (demangle_class_name): If consume_count didn't find a count, do |
| 773 | nothing. Don't bother with `strlen' sanity check; consume_count |
| 774 | does it for us. |
| 775 | |
| 776 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> |
| 777 | |
| 778 | From Art Haas <ahaas@neosoft.com>: |
| 779 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings |
| 780 | when doing arm or hp style. |
| 781 | (demangle_nested_args): Decr forgetting_types field when done. |
| 782 | |
| 783 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 784 | |
| 785 | * pexecute.c (__CYGWIN32__): Rename to |
| 786 | (__CYGWIN__): this. |
| 787 | * xmalloc.c: Likewise. |
| 788 | |
| 789 | Changes to support i386-pc-uwin. |
| 790 | * configure.in (*-*-uwin*): Workaround for vfork bug. |
| 791 | * configure: Regenerate. |
| 792 | * pexecute.c (pexecute): Be like standard Unix. |
| 793 | (pwait): Likewise. |
| 794 | * xmalloc.c (first_break): Define. |
| 795 | (xmalloc_set_program_name): Use. |
| 796 | (xmalloc): Use. |
| 797 | |
| 798 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 799 | |
| 800 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc |
| 801 | |
| 802 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> |
| 803 | |
| 804 | * config.table: Check cygwin*, not cygwin32*. |
| 805 | |
| 806 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> |
| 807 | |
| 808 | * Makefile.in: Change mkstemp -> mkstemps. |
| 809 | |
| 810 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> |
| 811 | |
| 812 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o |
| 813 | * configure.in (funcs): Check for and conditionally add mkstemps to |
| 814 | the list of functions libiberty will provide. |
| 815 | * configure: Rebuilt. |
| 816 | |
| 817 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 818 | |
| 819 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
| 820 | platforms that don't have HZ. |
| 821 | * getruntime.c (HZ): Likewise. |
| 822 | |
| 823 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> |
| 824 | |
| 825 | * Makefile.in (xstrdup.o): Depend on config.h. |
| 826 | |
| 827 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) |
| 828 | |
| 829 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after |
| 830 | freeing it. |
| 831 | |
| 832 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 833 | |
| 834 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. |
| 835 | |
| 836 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
| 837 | |
| 838 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of |
| 839 | splay-tree.o. |
| 840 | |
| 841 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) |
| 842 | |
| 843 | * configure.in: Require autoconf 2.12.1 or higher. |
| 844 | |
| 845 | 1998-12-30 Michael Meissner <meissner@cygnus.com> |
| 846 | |
| 847 | * random.c (NULL): Don't redefine NULL if it is already defined. |
| 848 | |
| 849 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 850 | |
| 851 | * argv.c (buildargv): Cast the result of alloca in assignment. |
| 852 | |
| 853 | * choose-temp.c: Include stdlib.h. |
| 854 | |
| 855 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. |
| 856 | (snarf_numeric_literal): Constify first parameter. |
| 857 | (code_for_qualifier): Avoid a gcc extension, make the parameter an |
| 858 | int, not a char. |
| 859 | (demangle_qualifier): Likewise. |
| 860 | (demangle_signature): Cast the argument of a ctype function to |
| 861 | unsigned char. |
| 862 | (arm_pt): Add parens around assignment used as truth value. |
| 863 | (demangle_arm_hp_template): Constify variable `args'. |
| 864 | (do_hpacc_template_const_value): Cast the argument of a ctype |
| 865 | function to unsigned char. |
| 866 | (do_hpacc_template_literal): Remove unused variable `i'. |
| 867 | (snarf_numeric_literal): Constify parameter `args'. |
| 868 | Cast the argument of a ctype function to unsigned char. |
| 869 | |
| 870 | * floatformat.c (floatformat_to_double): Add explicit braces to |
| 871 | avoid ambiguous `else'. |
| 872 | |
| 873 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', |
| 874 | `cstart' and `cend' to unsigned char. Cast the argument of macro |
| 875 | `FOLD', which uses ctype functions, to unsigned char. |
| 876 | |
| 877 | * objalloc.c (free): Add prototype. |
| 878 | |
| 879 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> |
| 880 | |
| 881 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o |
| 882 | |
| 883 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> |
| 884 | |
| 885 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function |
| 886 | doesn't exist. |
| 887 | (do_hpacc_template_literal): remove unused variable `i'. |
| 888 | |
| 889 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 890 | |
| 891 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before |
| 892 | bumping the pointer we read from. Also prepend these codes, |
| 893 | as we do in other places. |
| 894 | |
| 895 | 1998-12-18 Nick Clifton <nickc@cygnus.com> |
| 896 | |
| 897 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be |
| 898 | 'const char *' in order to match its usage when calling siblings. |
| 899 | (snarf_numeric_literal): Make first arg 'const char **' in order |
| 900 | to match usage. |
| 901 | |
| 902 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 903 | |
| 904 | * choose-temp.c: Don't check IN_GCC anymore. |
| 905 | |
| 906 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. |
| 907 | * memchr.c (memchr): Likewise. |
| 908 | * memcpy.c (memcpy): Likewise. |
| 909 | * memmove.c (memmove): Likewise. |
| 910 | |
| 911 | * mkstemp.c: Don't check IN_GCC anymore. |
| 912 | * pexecute.c: Likewise. |
| 913 | * splay-tree.c: Likewise. |
| 914 | |
| 915 | * strchr.c (strchr): Use `const', not `CONST'. |
| 916 | * strrchr.c (strrchr): Likewise. |
| 917 | * strtol.c (strtol): Likewise. |
| 918 | * strtoul.c (strtoul): Likewise. |
| 919 | |
| 920 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> |
| 921 | Elena Zannoni <ezannoni@cygnus.com> |
| 922 | Stan Shebs <shebs@cygnus.com> |
| 923 | Edith Epstein <eepstein@cygnus.com> |
| 924 | Andres MacLeod <amacleod@cygnus.com> |
| 925 | Satish Pai <pai@apollo.hp.com> |
| 926 | |
| 927 | * HP aCC demangling support. |
| 928 | * cplus-dem.c |
| 929 | (main): Remove default to HP style demangling, set to EDG |
| 930 | demangling correctly when -edg specified; set the demangling style |
| 931 | when user specifies 'edg'. Set strip_underscore to |
| 932 | prepends_underscore, if not HPUXHPPA. Set |
| 933 | current_demangling_style to hp_demangling if HPUXHPPA. Set |
| 934 | current demangling style correctly if the switch is hp. Read |
| 935 | label correctly also in the HP style case. |
| 936 | (work_stuff): add temp_start field; add field for volatile member |
| 937 | function. |
| 938 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP |
| 939 | style for this case is the same as ARM. |
| 940 | (demangle_args): handle EDG_DEMANGLING style; support HP style. |
| 941 | (demangle_arm_hp_template): new function. (It was |
| 942 | demangle_arm_pt.); check and set value of temp_start field in |
| 943 | multiple places. Also, when ceching for end of template args, |
| 944 | check to see if at end of static member of template class. |
| 945 | (demangle_class): new local variable : save_class_name_end Don't |
| 946 | include template args in string defining class. |
| 947 | (demangle_class_name): use demangel_arm_hp_template. |
| 948 | (demangle_function_name): handle case where demangling style is |
| 949 | HP_DEMANGLING and currently point at an 'X' in the mangled name. |
| 950 | Handle EDG_DEMANGLING style. Handle constructor and destructor |
| 951 | ops for HP style. |
| 952 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING |
| 953 | styles. global destructor and constructor for HP style are same |
| 954 | as for ARM style. Same for local variables. |
| 955 | (demangle_qualified): handle EDG_DEMANGLING style. |
| 956 | (demangle_signature): add case for volatile member function. For |
| 957 | cases '1' - '9' : initialize the temp_start field to -1 and handle |
| 958 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING |
| 959 | and AUTO_DEMANGLING styles. If expecting a function and managed |
| 960 | to demangle the funct args, then handle the LUCID_DEMANGLING, |
| 961 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local |
| 962 | class name after "Lnnn_ in HP style case. HP style too needs to |
| 963 | forget types. _nnn is OK for HP style, so don't report failure. |
| 964 | (do_hpacc_template_const_value): new function. Handle template's |
| 965 | value param for HP/aCC. |
| 966 | (do_hpacc_template_literal): new function. Handle a template's |
| 967 | literal parameter for HP aCC. |
| 968 | (recursively_demangle): new function |
| 969 | (snarf_numeric_literal): new function. |
| 970 | (usage): add 'edg' to the list of demangling styles; add hp switch |
| 971 | to message. |
| 972 | |
| 973 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> |
| 974 | |
| 975 | * pexecute.c: Remove obsolete ifdefed cygwin code. |
| 976 | |
| 977 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 978 | |
| 979 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. |
| 980 | * cplus-dem.c: Likewise. Conform to libiberty.h. |
| 981 | * pexecute.c: Likewise. |
| 982 | * splay-tree.c: Likewise. |
| 983 | |
| 984 | 1998-11-25 Mike Stump <mrs@wrs.com> |
| 985 | |
| 986 | * Makefile.in (splay-tree.o): Add config.h dependency. |
| 987 | |
| 988 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 989 | |
| 990 | * configure.in: Use AC_PREREQ(2.12.1). |
| 991 | |
| 992 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> |
| 993 | |
| 994 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
| 995 | |
| 996 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) |
| 997 | |
| 998 | * mpw.c (mpw_access): Add missing parens. |
| 999 | |
| 1000 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1001 | |
| 1002 | * configure.in: Call AC_HEADER_SYS_WAIT. |
| 1003 | |
| 1004 | * pexecute.c: Include sys/wait.h when !IN_GCC. |
| 1005 | |
| 1006 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> |
| 1007 | |
| 1008 | * pexecute.c: revert back to checking old Cygwin |
| 1009 | preprocessor symbol until some time has passed. |
| 1010 | |
| 1011 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> |
| 1012 | |
| 1013 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin |
| 1014 | since it will now support similar constructs. |
| 1015 | |
| 1016 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1017 | |
| 1018 | * configure.in: Check for calloc. |
| 1019 | |
| 1020 | * calloc.c: New file. |
| 1021 | |
| 1022 | * xmalloc.c (xcalloc): New function. |
| 1023 | |
| 1024 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 1025 | |
| 1026 | *cplus-dem.c (demangle_prefix): Use the last "__" |
| 1027 | in the mangled name when looking for the signature. This allows |
| 1028 | template names to begin with "__". |
| 1029 | |
| 1030 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> |
| 1031 | |
| 1032 | * cplus-dem.c (type_kind_t): Add tk_reference. |
| 1033 | (demangle_template_value_parm): Handle it. |
| 1034 | (do_type): Use it for references, instead of tk_pointer. |
| 1035 | |
| 1036 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, |
| 1037 | not internal_cplus_demangle. |
| 1038 | |
| 1039 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1040 | |
| 1041 | * choose-temp.c: Don't include gansidecl.h. |
| 1042 | * mkstemp.c: Likewise. |
| 1043 | * pexecute.c: Likewise. |
| 1044 | |
| 1045 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> |
| 1046 | |
| 1047 | * configure.in: detect cygwin* instead of cygwin32* |
| 1048 | * configure: regenerate |
| 1049 | |
| 1050 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1051 | |
| 1052 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining |
| 1053 | whether to include config.h. Possibly include unistd.h in the |
| 1054 | !IN_GCC case. Define VFORK_STRING as a printable function call |
| 1055 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is |
| 1056 | defined, include vfork.h. If VMS is defined, define vfork() |
| 1057 | appropriately. Remove vfork check on USG, we're using autoconf. |
| 1058 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking |
| 1059 | locally what string to use. |
| 1060 | |
| 1061 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> |
| 1062 | |
| 1063 | * splay-tree.c: Tweak include directives to make sure declarations of |
| 1064 | xmalloc and free are available. |
| 1065 | |
| 1066 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> |
| 1067 | |
| 1068 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in |
| 1069 | anonymous namespaces. |
| 1070 | |
| 1071 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> |
| 1072 | |
| 1073 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type |
| 1074 | with type_quals. |
| 1075 | (TYPE_UNQUALIFIED): New macro. |
| 1076 | (TYPE_QUAL_CONST): Likewise. |
| 1077 | (TYPE_QUAL_VOLATILE): Likewise. |
| 1078 | (TYPE_QUAL_RESTRICT): Likewise. |
| 1079 | (code_for_qualifier): New function. |
| 1080 | (qualifier_string): Likewise. |
| 1081 | (demangle_qualifier): Likewise. |
| 1082 | (internal_cplus_demangle): Use them. |
| 1083 | (demangle_signature): Likewise. |
| 1084 | (demangle_template_value_parm): Likewise. |
| 1085 | (do_type): Likewise. |
| 1086 | (demangle_fund_type)): Likewise. |
| 1087 | |
| 1088 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1089 | |
| 1090 | * splay-tree.c (splay_tree_foreach_helper): Make definition static |
| 1091 | to match prototype. |
| 1092 | |
| 1093 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> |
| 1094 | |
| 1095 | * splay-tree.c: New file. |
| 1096 | * Makefile.in (CFILES): Add it. |
| 1097 | (REQUIRED_OFILES): Likewise. |
| 1098 | (splay-tree.o): Add dependencies. |
| 1099 | |
| 1100 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 1101 | |
| 1102 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking |
| 1103 | range of 'K' index. |
| 1104 | |
| 1105 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1106 | |
| 1107 | * choose-temp.c: Prototype mkstemps() when IN_GCC. |
| 1108 | |
| 1109 | * cplus-dem.c (consume_count): Cast argument of ctype macro to |
| 1110 | `unsigned char'. |
| 1111 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when |
| 1112 | comparing against one. |
| 1113 | (cplus_mangle_opname): Likewise. |
| 1114 | (demangle_integral_value): Cast argument of ctype macro to |
| 1115 | `unsigned char'. |
| 1116 | (demangle_template_value_parm): Likewise. |
| 1117 | (demangle_template): Initialize variable `bindex'. Cast the |
| 1118 | result of `strlen' to (int) when comparing against one. Remove |
| 1119 | unused variable `start_of_value_parm'. |
| 1120 | (demangle_class_name): Cast the result of `strlen' to (int) when |
| 1121 | comparing against one. |
| 1122 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. |
| 1123 | (gnu_special): Likewise. Cast the result of `strlen' to (int) |
| 1124 | when comparing against one. |
| 1125 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. |
| 1126 | (get_count): Likewise. |
| 1127 | (do_type): Likewise. Cast the result of `strlen' to (int) when |
| 1128 | comparing against one. |
| 1129 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. |
| 1130 | (demangle_function_name): Cast the result of `strlen' to (int) |
| 1131 | when comparing against one. |
| 1132 | |
| 1133 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when |
| 1134 | comparing against one. |
| 1135 | |
| 1136 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) |
| 1137 | |
| 1138 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
| 1139 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. |
| 1140 | * config.in, configure: Rebuilt. |
| 1141 | |
| 1142 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. |
| 1143 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. |
| 1144 | * config.in, configure: Rebuilt. |
| 1145 | |
| 1146 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> |
| 1147 | |
| 1148 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
| 1149 | |
| 1150 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> |
| 1151 | |
| 1152 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. |
| 1153 | |
| 1154 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) |
| 1155 | |
| 1156 | * Merge egcs & devo libiberty. |
| 1157 | |