| 1 | 2001-06-18 Richard Henderson <rth@redhat.com> |
| 2 | |
| 3 | * concat.c: Include <sys/types.h>. |
| 4 | |
| 5 | 2001-06-11 Loren J. Rittle <ljrittle@acm.org> |
| 6 | |
| 7 | bootstrap/3106 |
| 8 | * strerror.c (sys_nerr): Hide the OS header version. |
| 9 | * strsignal.c (sys_nsig): Likewise. |
| 10 | |
| 11 | 2001-06-10 Richard Henderson <rth@redhat.com> |
| 12 | |
| 13 | * concat.c: Include string.h. Fix int vs size_t usage. |
| 14 | Simplify the iteration loops. Use memcpy. |
| 15 | |
| 16 | 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
| 17 | |
| 18 | * partition.c: Fix misspelling of `implementation'. |
| 19 | |
| 20 | 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 21 | |
| 22 | * md5.c (md5_init_ctx): Declare constants as unsigned. |
| 23 | (md5_process_block): Likewise. |
| 24 | |
| 25 | 2001-05-07 Zack Weinberg <zackw@stanford.edu> |
| 26 | |
| 27 | * cp-demangle.c (demangle_v3_with_details, |
| 28 | is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style |
| 29 | function definition. |
| 30 | * ternary.c: Use K+R style function definitions. Use PTR, not |
| 31 | void *. Make arguments constant where possible. |
| 32 | |
| 33 | 2001-05-07 Mark Mitchell <mark@codesourcery.com> |
| 34 | |
| 35 | * splay-tree.h (splay_tree_max): New function. |
| 36 | (splay_tree_min): Likewise. |
| 37 | |
| 38 | 2001-04-15 Daniel Berlin <dan@cgsoftware.com> |
| 39 | |
| 40 | * ternary.c: New file - Ternary search tree implementation. |
| 41 | |
| 42 | * Makefile.in: Add ternary.o, and ternary.c dependencies. |
| 43 | |
| 44 | 2001-04-03 Zack Weinberg <zackw@stanford.edu> |
| 45 | |
| 46 | * make-temp-file.c (try): Inline. |
| 47 | |
| 48 | 2001-02-28 Richard Henderson <rth@redhat.com> |
| 49 | |
| 50 | * Makefile.in (make-temp-file.o): Depend on config.h. |
| 51 | |
| 52 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 53 | |
| 54 | * memchr.c (memchr): Adjust condition to avoid infinite loop. |
| 55 | |
| 56 | 2001-03-23 Jakub Jelinek <jakub@redhat.com> |
| 57 | |
| 58 | * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, |
| 59 | `_' not followed by a digit is invalid. |
| 60 | |
| 61 | 2001-03-22 Jim Blandy <jimb@redhat.com> |
| 62 | |
| 63 | * cp-demangle.c (string_list_delete): Use dyn_string_delete |
| 64 | instead of free, to free the contents as well as the string |
| 65 | structure. |
| 66 | |
| 67 | 2001-03-21 Zack Weinberg <zackw@stanford.edu> |
| 68 | |
| 69 | * make-temp-file.c: Always default DIR_SEPARATOR to '/'. |
| 70 | Don't default P_tmpdir to anything. Try /var/tmp before |
| 71 | /usr/tmp. |
| 72 | |
| 73 | 2001-03-20 Zack Weinberg <zackw@stanford.edu> |
| 74 | |
| 75 | * choose-temp.c: Split off make_temp_file, and the code |
| 76 | duplicated between it and choose_temp_base, into... |
| 77 | * make-temp-file.c: ... here; new file. |
| 78 | |
| 79 | * Makefile.in (CFILES): Add make-temp-file.c. |
| 80 | (REQUIRED_OFILES): Add make-temp-file.o. |
| 81 | |
| 82 | 2001-03-20 Jim Blandy <jimb@redhat.com> |
| 83 | |
| 84 | * cp-demangle.c (struct demangling_def): New fields: |
| 85 | is_constructor and is_destructor. |
| 86 | (demangling_new): Initialize them. |
| 87 | (demangle_ctor_dtor_name): Set them, if we detect a constructor |
| 88 | or destructor. |
| 89 | (demangle_v3_with_details, is_gnu_v3_mangled_ctor, |
| 90 | is_gnu_v3_mangled_dtor): New functions. |
| 91 | |
| 92 | 2001-03-20 Jason Merrill <jason@redhat.com> |
| 93 | |
| 94 | * cplus-dem.c (main): Skip initial $. |
| 95 | |
| 96 | 2001-03-15 Michael Meissner <meissner@redhat.com> |
| 97 | |
| 98 | * hashtab.c (higher_prime_number): Silence warning that 4294967291 |
| 99 | might be a signed integer under pre-ISO C systems. |
| 100 | |
| 101 | 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
| 102 | John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 103 | |
| 104 | * libiberty/lbasename.c: New file. |
| 105 | * libiberty/Makefile.in: Update for lbasename. |
| 106 | |
| 107 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
| 108 | |
| 109 | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. |
| 110 | * configure.in: Replace all alloca logic with a simple use of |
| 111 | the above new macro. |
| 112 | * config.table: Kill *-*-beos* entry. |
| 113 | * config/mh-beos: Delete. |
| 114 | * configure, config.in: Regenerate. |
| 115 | |
| 116 | * Makefile.in (ALLOCA, HFILES): Kill. |
| 117 | (REQUIRED_OFILES): Add alloca.o. |
| 118 | (alloca.o): Depend on libiberty.h. |
| 119 | (argv.o): Don't depend on alloca-conf.h. |
| 120 | * alloca-conf.h: Delete. |
| 121 | * alloca.c: Include libiberty.h. Kill all #ifdef emacs |
| 122 | blocks. Provide the C alloca unconditionally. Use PTR where |
| 123 | appropriate. Make i00afunc static. |
| 124 | * argv.c: Don't include alloca-conf.h. |
| 125 | |
| 126 | 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 127 | |
| 128 | * cplus-dem.c (main): Cast enum style to int. |
| 129 | |
| 130 | 2001-02-16 Loren J. Rittle <ljrittle@acm.org> |
| 131 | |
| 132 | * cplus-dem.c (main): Initialize style. |
| 133 | |
| 134 | 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz> |
| 135 | |
| 136 | Add support for Java demangling under the v3 ABI: |
| 137 | * cp-demangle.c (NAMESPACE_SEPARATOR): New define. |
| 138 | (struct demangling_def): Add `style' field. |
| 139 | (demangling_new): New parameter `style'. Set it in demangling_t. |
| 140 | (demangle_prefix): Use NAMESPACE_SEPARATOR. |
| 141 | (demangle_type_ptr): Don't emit pointer symbol if doing Java output. |
| 142 | (cp_demangle): New parameter `style'. Pass it to demangling_new(). |
| 143 | (main): Call cp_demangle with extra parameter. |
| 144 | (java_demangle_v3): New function. |
| 145 | (java_builtin_type_names): New. Table of primitive type names used |
| 146 | for Java demangling. |
| 147 | (demangle_builtin_type): Look up in java_builtin_type_names if doing |
| 148 | Java output. |
| 149 | * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java |
| 150 | demangling. |
| 151 | (long_options): Remove obsolete `java' option. |
| 152 | (main): Remove explicit handling of `java' option. Instead, pass style |
| 153 | parameter in cplus_demangle flags as gdb does. |
| 154 | * testsuite/demangle.expected: Add some Java test cases. |
| 155 | |
| 156 | 2001-01-29 Phil Edwards <pme@sources.redhat.com> |
| 157 | |
| 158 | * COPYING.LIB: Update to LGPL 2.1 from the FSF. |
| 159 | |
| 160 | 2000-12-29 DJ Delorie <dj@redhat.com> |
| 161 | |
| 162 | * fnmatch.c: Make the note about the origins of this file more |
| 163 | accurate, at least until we can sync with glibc. |
| 164 | * getopt.c: Ditto. |
| 165 | * getopt1.c: Ditto. |
| 166 | * md5.c: Ditto. |
| 167 | * obstack.c: Ditto. |
| 168 | |
| 169 | 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 170 | |
| 171 | * bsearch.c: New file. |
| 172 | * configure.in (funcs): Add bsearch. |
| 173 | (AC_CHECK_FUNCS): Likewise. |
| 174 | * configure, config.in: Regenerate. |
| 175 | |
| 176 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 177 | |
| 178 | * safe-ctype.c: #include "ansidecl.h". |
| 179 | * strtod.c: Likewise. |
| 180 | |
| 181 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 182 | |
| 183 | * strtoul.c: Include safe-ctype.h, not ctype.h. |
| 184 | |
| 185 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
| 186 | |
| 187 | * safe-ctype.c: New file. |
| 188 | * Makefile.in (CFILES): Add safe-ctype.c. |
| 189 | (REQUIRED_OFILES): Add safe-ctype.o. |
| 190 | |
| 191 | * argv.c: Define ISBLANK and use it, not isspace. |
| 192 | * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, |
| 193 | strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use |
| 194 | uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) |
| 195 | before calling TOLOWER(c)/TOUPPER(c). |
| 196 | |
| 197 | 2000-12-07 Mike Stump <mrs@wrs.com> |
| 198 | |
| 199 | * Makefile.in (distclean): When cleaning, remove testsuite. |
| 200 | |
| 201 | 2000-12-05 Jason Merrill <jason@redhat.com> |
| 202 | |
| 203 | * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled |
| 204 | name before allocating the dyn_string. |
| 205 | |
| 206 | 2000-12-04 Jason Merrill <jason@redhat.com> |
| 207 | |
| 208 | * cp-demangle.c: s/new_abi/v3/. |
| 209 | * cplus-dem.c: Likewise. |
| 210 | (current_demangling_style): Now auto_demangling. |
| 211 | (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. |
| 212 | (main): Use standard symbol chars for auto_demangling. |
| 213 | |
| 214 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
| 215 | |
| 216 | * hashtab.c (higher_prime_number): Use a table, rather than a |
| 217 | seive, to find the next prime. |
| 218 | |
| 219 | 2000-11-22 H.J. Lu <hjl@gnu.org> |
| 220 | |
| 221 | * cplus-dem.c (main): Handle gnat_demangling. |
| 222 | |
| 223 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> |
| 224 | |
| 225 | * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. |
| 226 | (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. |
| 227 | * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three |
| 228 | argument form of AC_DEFINE in dummy definitions block. Use |
| 229 | AC_DEFINE_NOAUTOHEADER for real definitions of things defined |
| 230 | in dummy block. Preload cache variables instead of bypassing |
| 231 | tests, where possible. |
| 232 | * acconfig.h: Removed. |
| 233 | |
| 234 | * xmalloc.c (xmalloc_failed): New function, does error |
| 235 | reporting on failed allocation. |
| 236 | (xmalloc, xcalloc, xrealloc): Use it. |
| 237 | |
| 238 | 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com> |
| 239 | |
| 240 | * cplus-dem.c (cplus_demangle): Fix formatting. |
| 241 | (grow_vect): Ditto. |
| 242 | (ada_demangle): Ditto. |
| 243 | (internal_cplus_demangle): Ditto. |
| 244 | (mop_up): Ditto. |
| 245 | |
| 246 | 2000-11-21 H.J. Lu <hjl@gnu.org> |
| 247 | |
| 248 | * cplus-dem.c (main): Handle java_demangling. |
| 249 | |
| 250 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 251 | |
| 252 | * cplus-dem.c (grow_vect): Prototype. |
| 253 | (ada_demangle): Cast the arg of ctype macros to unsigned char. |
| 254 | |
| 255 | 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com> |
| 256 | |
| 257 | * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for |
| 258 | parameter `option'. |
| 259 | |
| 260 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
| 261 | |
| 262 | * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot |
| 263 | be used in GCC. |
| 264 | |
| 265 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
| 266 | |
| 267 | * cplus-dem.c: Add gnat demangler. Add java to demangle style |
| 268 | list. |
| 269 | |
| 270 | 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com> |
| 271 | |
| 272 | * hashtab.c (htab_expand): Change to return int. Use calloc or |
| 273 | xcalloc depending on htab->return_allocation_failure. Return zero |
| 274 | if calloc fails. |
| 275 | (htab_create): Update comment to cover memory allocation. |
| 276 | (htab_try_create): New. |
| 277 | (htab_find_slot_with_hash): Return NULL if htab_expand fails. |
| 278 | Update comment to cover this. |
| 279 | |
| 280 | 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com> |
| 281 | |
| 282 | * hashtab.c: Change void * to PTR where necessary. |
| 283 | (htab_create, htab_expand): Correct formatting of comment before |
| 284 | function. |
| 285 | |
| 286 | 2000-10-22 Alex Samuel <samuel@codesourcery.com> |
| 287 | |
| 288 | * cp-demangle.c (string_list_def): Add caret_position and comments. |
| 289 | (result_caret_pos): New macro. |
| 290 | (result_append_string): Rename to... |
| 291 | (result_add_string): ... this, and insert at caret position. |
| 292 | Rename throughout. |
| 293 | (result_append): Rename to... |
| 294 | (result_add): ... this, and insert at caret position. Rename |
| 295 | throughout. |
| 296 | (result_append_char): Rename to... |
| 297 | (result_add_char): ... this, and insert at caret position. Rename |
| 298 | throughout. |
| 299 | (result_append_space): Remove. |
| 300 | (string_list_new): Initialize caret position. |
| 301 | (result_add_separated_char): Use caret position. |
| 302 | (result_get_caret): New funtion. |
| 303 | (result_set_caret): Likewise. |
| 304 | (result_shift_caret): Likewise. |
| 305 | (result_previous_char_is_space): Likewise. |
| 306 | (substitution_start): Use caret position. |
| 307 | (substitution_add): Likewise. |
| 308 | (demangling_new): Initialize caret position. |
| 309 | (demangle_encoding): Use caret position. |
| 310 | (demanglin_nested_name): Put CV qualifiers after name. |
| 311 | (demangle_type_ptr): Use switch statement. Handle pointers to |
| 312 | arrays. Don't use result_append_space. Use caret position. |
| 313 | (demangle_type): Emit CV qualifiers after underlying type. Adjust |
| 314 | call to demangle_array_type. |
| 315 | (demangle_array_type): Add parameter to handle pointers to arrays. |
| 316 | |
| 317 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
| 318 | |
| 319 | * splay-tree.c (splay_tree_insert): Fix formatting. |
| 320 | |
| 321 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> |
| 322 | |
| 323 | * splay-tree.c (splay_tree_predecessor): Fix typo in comment. |
| 324 | |
| 325 | 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 326 | |
| 327 | * splay-tree.c: #include <stdio.h>. |
| 328 | |
| 329 | 2000-09-14 Hans-Peter Nilsson <hp@axis.com> |
| 330 | |
| 331 | * testsuite/demangle-expected: Add two tests for anonymous |
| 332 | namespaces. |
| 333 | * cplus-dem.c (gnu_special): Handle anonymous namespaces. |
| 334 | |
| 335 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> |
| 336 | |
| 337 | * splay-tree.c (splay_tree_predecessor): New function. |
| 338 | (splay_tree_successor): Likewise. |
| 339 | |
| 340 | 2000-09-10 Hans-Peter Nilsson <hp@axis.com> |
| 341 | |
| 342 | * testsuite/demangle-expected: Add four tests for type_info |
| 343 | mangling. |
| 344 | * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, |
| 345 | for a non-template non-qualified type_info function or node. |
| 346 | |
| 347 | 2000-09-08 Alex Samuel <samuel@codesourcery.com> |
| 348 | |
| 349 | * cp-demangle.c: Fix copyright banner. |
| 350 | |
| 351 | 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 352 | |
| 353 | * md5.c: #include "ansidecl.h". |
| 354 | |
| 355 | 2000-09-06 Alex Samuel <samuel@codesourcery.com> |
| 356 | |
| 357 | * cp-demangle.c (status_allocation_failed): Rearrange whitespace. |
| 358 | (demangle_type): Handle substitution candidates correctly in the |
| 359 | face of special substitutions. |
| 360 | |
| 361 | 2000-09-05 Alex Samuel <samuel@codesourcery.com> |
| 362 | |
| 363 | * cp-demangle.c (demangle_encoding): Rename variable. |
| 364 | (demangle_name): Rename parameter. Handle return type |
| 365 | suppression. |
| 366 | (demangle_nested_name): Rename parameter. |
| 367 | (demangle_prefix): Likewise. Change return type suppression. |
| 368 | (demangle_unqualified_name): Add parameter. Flag constructors and |
| 369 | conversion operators. |
| 370 | (demangle_special_name): Fix comment. |
| 371 | (demangle_type): Rename variable. |
| 372 | (demangle_bare_function_type): Check for missing return type and |
| 373 | parameter. |
| 374 | (demangle_class_enum_type): Rename parameter. |
| 375 | (demangle_discriminator): Fix misspelling in comment. |
| 376 | |
| 377 | 2000-08-31 DJ Delorie <dj@redhat.com> |
| 378 | |
| 379 | * configure.in (Cygwin): special case cygwin only when we're |
| 380 | building cygwin, not when we're hosting cygwin. |
| 381 | |
| 382 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 383 | |
| 384 | * cp-demangle.c (demangle_template_arg): Eat an `E' after an |
| 385 | <expression>. |
| 386 | |
| 387 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 388 | |
| 389 | * cp-demangle.c (demangle_type_ptr): Increment position past |
| 390 | pointer and reference characters. |
| 391 | |
| 392 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 393 | |
| 394 | * cp-demangle.c (demangle_nv_offset): New function. |
| 395 | (demangle_v_offset): Likewise. |
| 396 | (demangle_call_offset): Likewise. |
| 397 | (demangle_special_name): Update thunk demangling to comply with |
| 398 | ABI changes. |
| 399 | |
| 400 | 2000-09-03 Alex Samuel <samuel@codesourcery.com> |
| 401 | |
| 402 | * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. |
| 403 | (substitution_def): Remove template_parm_number. |
| 404 | (NOT_TEMPLATE_PARM): Remove. |
| 405 | (result_insert_string): New macro. |
| 406 | (result_insert): Likewise. |
| 407 | (result_insert_char): Likewise. |
| 408 | (substitution_add): Remove last parameter. Don't store template |
| 409 | parm number. |
| 410 | (BFT_NO_RETURN_TYPE): Define as NULL. |
| 411 | (demangle_encoding): Adjust call to demangle_bare_function_type. |
| 412 | (demangle_name): Adjust substitution. Adjust call to |
| 413 | substitution_add. |
| 414 | (demangle_prefix): Adjust call to substitution_add. |
| 415 | (demangle_identifier): Handle anonymous namespaces. |
| 416 | (demangle_operator_name): Change demangling of vendor-extended |
| 417 | operator to match ABI changes. |
| 418 | (demangle_type_ptr): Change parameters. Make recursive. Handle |
| 419 | substitutions here. |
| 420 | (demangle_type): Adjust calls to demangle_template_param, |
| 421 | substitution_add, and demangle_type_ptr. Fix substitution of |
| 422 | templated types. |
| 423 | (demangle_function_type): Change parameter to a pointer. |
| 424 | (demangle_bare_function_type): Likewise. Adjust insertion point. |
| 425 | (demangle_template_param): Remove last parameter. |
| 426 | (demangle_expr_primary): Remove unused variable. Adjust call to |
| 427 | demangle_template_param. |
| 428 | (is_mangled_char): Accept `$' and `.'. |
| 429 | * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. |
| 430 | * dyn-string.c (dyn_string_insert_char): New function. |
| 431 | |
| 432 | 2000-08-31 Hans-Peter Nilsson <hp@axis.com> |
| 433 | |
| 434 | * testsuite/demangle-expected: Add nine tests for |
| 435 | underscore-after-number followed by five tests for name-signature |
| 436 | delimiter. |
| 437 | |
| 438 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
| 439 | |
| 440 | * Makefile.in (md5.o): Depend on config.h. |
| 441 | |
| 442 | 2000-08-28 Jason Merrill <jason@redhat.com> |
| 443 | |
| 444 | * Makefile.in (REQUIRED_OFILES): Add md5.o. |
| 445 | (CFILES): Add md5.c. |
| 446 | * md5.c: New file. |
| 447 | |
| 448 | 2000-08-27 Alex Samuel <samuel@codesourcery.com> |
| 449 | |
| 450 | * cp-demangle.c (demangle_name): Initialize template_p in local |
| 451 | name case. Don't re-add substitutions as candidates. |
| 452 | (demangle_nested_name): Use <unqualified-name>. |
| 453 | (demangle_prefix): Likewise. Don't add template names as |
| 454 | substitution candidates twice, or re-add a substitution or the |
| 455 | last prefix component. |
| 456 | (demangle_local_name): Adjust output format. |
| 457 | |
| 458 | 2000-08-25 Alex Samuel <samuel@codesourcery.com> |
| 459 | |
| 460 | * cp-demangle.c (result_add_separated_char): Change parameter to |
| 461 | int. |
| 462 | (substitution_add): Don't check for duplicates. Check if |
| 463 | previously allocated size is zero. |
| 464 | (demangle_name): Remove duplicate check for std substitution. |
| 465 | Clear template flag appropriately. |
| 466 | (demangle_prefix): Remove argument to demangle_substitution. |
| 467 | Don't check that template flag is already set. |
| 468 | (demangle_operator_name): Add pt operator. |
| 469 | (demangle_type): Don't treat r as built-in type. Remove argument |
| 470 | to demangle_substitution. Fix substitution candidate mechanics. |
| 471 | Handle <template-template-parm>s. Improve comments. |
| 472 | (demangle_template_param): Don't handle template arg lists here. |
| 473 | (demangle_substitution): Remove parameter. |
| 474 | (print_usage): Remove extra fprintf option. |
| 475 | |
| 476 | 2000-08-24 Greg McGary <greg@mcgary.org> |
| 477 | |
| 478 | * libiberty/random.c (end_ptr): Revert previous change. |
| 479 | |
| 480 | 2000-08-24 Greg McGary <greg@mcgary.org> |
| 481 | |
| 482 | * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, |
| 483 | demangle_expression, demangle_function_name): Use ARRAY_SIZE. |
| 484 | * libiberty/random.c (end_ptr): Likewise. |
| 485 | |
| 486 | 2000-08-23 Alex Samuel <samuel@codesourcery.com> |
| 487 | |
| 488 | * cp-demangle.c (result_close_template_list): Remove function. |
| 489 | (result_add_separated_char): New function. |
| 490 | (result_open_template_list): New macro. |
| 491 | (result_close_template_list): Likewise. |
| 492 | (demangle_prefix): Don't set template_p if the |
| 493 | prefix ends with a ctor name. |
| 494 | (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. |
| 495 | (demangle_type): Check for template args after substitution. |
| 496 | (demangle_template_args): Use result_open_template_list. |
| 497 | |
| 498 | 2000-08-02 Zack Weinberg <zack@wolery.cumb.org> |
| 499 | |
| 500 | * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. |
| 501 | |
| 502 | 2000-07-26 Dave Pitts <dpitts@cozx.com> |
| 503 | |
| 504 | * config/mh-openedition.h: Added -DLE370 definition. |
| 505 | |
| 506 | 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com> |
| 507 | |
| 508 | * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to |
| 509 | __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. |
| 510 | Cast program to 'char *' in errmsg_arg assignment. |
| 511 | (PWAIT_ERROR): Define. |
| 512 | (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform |
| 513 | to DJGPP's WIF* macros. |
| 514 | |
| 515 | 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> |
| 516 | Jeff Law <law@cygnus.com> |
| 517 | |
| 518 | * getcwd.c: Include string.h, stdlib.h for prototypes |
| 519 | |
| 520 | * Makefile.in (rename.o, waitpid.o): Depend on config.h |
| 521 | * rename.c: Include config.h, unistd.h |
| 522 | * waitpid.c: Include config.h, sys/wait.h |
| 523 | |
| 524 | 2000-07-24 Hans-Peter Nilsson <hp@axis.com> |
| 525 | |
| 526 | * cplus-dem.c (work_stuff_copy_to_from): New. |
| 527 | (delete_non_B_K_work_stuff): New. |
| 528 | (delete_work_stuff): New. |
| 529 | (mop_up): Break out work_stuff partly destruction to |
| 530 | delete_non_B_K_work_stuff. |
| 531 | (iterate_demangle_function): New. |
| 532 | (demangle_prefix): Call iterate_demangle_function instead of |
| 533 | demangle_function_name. Leave handling of name-signature |
| 534 | __-delimiters to iterate_demangle_function. |
| 535 | (demangle_integral_value): Strip an optional |
| 536 | following underscore cautiously. Handle negative numbers. |
| 537 | |
| 538 | 2000-07-24 Daniel Berlin <dberlin@redhat.com> |
| 539 | |
| 540 | * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to |
| 541 | if (AUTO_DEMANGLING || GNU_DEMANGLING) |
| 542 | |
| 543 | 2000-07-21 Alex Samuel <samuel@codesourcery.com> |
| 544 | |
| 545 | * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge |
| 546 | allocating ctor mangling. |
| 547 | (demangle_array_type): Handle empty and non-constant array length. |
| 548 | |
| 549 | 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 550 | Jeff Law <law@cygnus.com> |
| 551 | |
| 552 | * configure.in (AC_CHECK_HEADERS): Add time.h. |
| 553 | (AC_HEADER_TIME): Add check. |
| 554 | * configure, config.in: Regenerate. |
| 555 | * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. |
| 556 | |
| 557 | * configure.in (AC_CHECK_HEADERS): Add limits.h. |
| 558 | * configure, config.in: Regenerate. |
| 559 | * sort.c: Portably #include <limits.h> and/or <sys/param.h>. |
| 560 | * strtol.c, strtoul.c: #include "config.h". Portably #include |
| 561 | <limits.h> and/or <sys/param.h>. |
| 562 | * Makefile.in (strtol.o, strtoul.o): Update dependencies. |
| 563 | |
| 564 | * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. |
| 565 | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. |
| 566 | * configure, config.in: Regenerate. |
| 567 | * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. |
| 568 | |
| 569 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. |
| 570 | |
| 571 | 2000-07-21 Mike Stump <mrs@wrs.com> |
| 572 | |
| 573 | * Makefile.in (xexit.o): Add dependency for config.h in xexit.c. |
| 574 | * (vasprintf.o): Add dependency for config.h in vasprintf.c. |
| 575 | |
| 576 | 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 577 | |
| 578 | * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. |
| 579 | |
| 580 | * setenv.c (setenv): Initialize variable `ep'. |
| 581 | |
| 582 | * sigsetmask.c (abort): Prototype. |
| 583 | |
| 584 | * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not |
| 585 | __STDC__ for stdarg.h include. |
| 586 | (int_vasprintf): Prototype. |
| 587 | (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in |
| 588 | definition. Cast `global_total_width' in comparison. |
| 589 | (main): Prototype. Return a value. |
| 590 | |
| 591 | * vfork.c (fork): Prototype. |
| 592 | |
| 593 | * xexit.c: Include config.h. |
| 594 | |
| 595 | 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> |
| 596 | |
| 597 | * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, |
| 598 | and print it with %u. |
| 599 | |
| 600 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> |
| 601 | |
| 602 | * testsuite/regress-demangle (failed test): Show result and |
| 603 | expected output. |
| 604 | |
| 605 | 2000-07-07 Andrew Haley <aph@cygnus.com> |
| 606 | |
| 607 | * cplus-dem.c (main): fflush() after emitting last char before |
| 608 | waiting for input. |
| 609 | |
| 610 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> |
| 611 | |
| 612 | * cp-demangle.c (demangle_encoding): Accept no substitutions. |
| 613 | (demangle_name): Handle <substitution> followed by |
| 614 | <unqualified-template-name>. |
| 615 | (demangle_type): Follow special substitutions with |
| 616 | <class-enum-type> |
| 617 | (demangle_subtitution): Set template_p for special substitutions. |
| 618 | (main): Fix typos. |
| 619 | |
| 620 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> |
| 621 | |
| 622 | * cp-demangle.c (demangle_special_name): Swap base and derived |
| 623 | class when demangling construction vtables. |
| 624 | |
| 625 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> |
| 626 | |
| 627 | * cp-demangle.c: Don't include ctype.h. |
| 628 | (IS_DIGIT): New macro. |
| 629 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout |
| 630 | instead of isdigit and isalpanum. |
| 631 | (demangling_def): Make name and next const pointers. |
| 632 | (STATUS_ALLOCATION_FAILED): New status code. |
| 633 | (dyn_string_append_space): Handle failure in |
| 634 | dyn_string_append_char. |
| 635 | (int_to_dyn_string): Likewise. Change return value to status_t. |
| 636 | (string_list_new): Handle failure of dyn_string_init. |
| 637 | (result_close_template_list): Change return type to status_t. |
| 638 | Handle failure in dyn_string_append. |
| 639 | (result_push): Change return value to status_t. Handle failure in |
| 640 | string_list_new. Handle failure of result_push throughout. |
| 641 | (substitution_add): Change return value to status_t. Handle |
| 642 | dyn_string failures. Handle failure of substitution_add |
| 643 | throughout. |
| 644 | (template_arg_list_new): Return NULL on allocation failure. |
| 645 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. |
| 646 | Handle error result throughout. |
| 647 | (result_append): Likewise. |
| 648 | (result_append_char): Likewise. |
| 649 | (result_append_space): Likewise. |
| 650 | (demangling_new): Make argument a const pointer. Handle |
| 651 | allocation failures. |
| 652 | (demangle_template_args): Handle failure in template_arg_list_new |
| 653 | and result_close_template_list. |
| 654 | (demangle_discriminator): Return if int_to_dyn_string fails. |
| 655 | (cp_demangle): Likewise. |
| 656 | (cp_demangle_type): New function. |
| 657 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on |
| 658 | memory allocation failure. |
| 659 | (main): Likewise. |
| 660 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if |
| 661 | IN_LIBGCC2. |
| 662 | (dyn_string_init): Change return value to int. Handle |
| 663 | RETURN_ON_ALLOCATION_FAILURE case. |
| 664 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 665 | (dyn_string_release): Delete the dyn_string. |
| 666 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 667 | (dyn_string_copy): Change return type to int. |
| 668 | (dyn_string_copy_cstr): Likewise. |
| 669 | (dyn_string_prepend): Likewise. |
| 670 | (dyn_string_prepend_cstr): Likewise. |
| 671 | (dyn_string_insert): Likewise. |
| 672 | (dyn_string_insert_cstr): Likewise. |
| 673 | (dyn_string_append): Likewise. |
| 674 | (dyn_string_append_cstr): Likewise. |
| 675 | (dyn_string_append_char): Likewise. |
| 676 | (dyn_string_substring): Likewise. |
| 677 | |
| 678 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> |
| 679 | |
| 680 | * cp-demangle.c (demangle_operator_name): Add spaces before |
| 681 | names beginning with a letter: delete, delete[], new, new[], |
| 682 | sizeof. |
| 683 | (demangle_special_name): Handle TF <type> and TJ <type>. |
| 684 | |
| 685 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> |
| 686 | |
| 687 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. |
| 688 | |
| 689 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> |
| 690 | |
| 691 | * cp-demangle.c (stdio.h): File included unconditionaly. |
| 692 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). |
| 693 | * dyn-string.c (stdio.h): File included. |
| 694 | * partition.c (partition_print): No `&' needed to take the address of |
| 695 | a function. |
| 696 | |
| 697 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 698 | |
| 699 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. |
| 700 | |
| 701 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. |
| 702 | |
| 703 | * cp-demangle.c (demangle_char): Change parameter from char to int. |
| 704 | (demangle_expression, demangle_expr_primary): Remove extra |
| 705 | semi-colon in prototype. |
| 706 | |
| 707 | * dyn-string.c (dyn_string_append_char): Change parameter from |
| 708 | char to int. |
| 709 | |
| 710 | * memcmp.c (memcmp): Constify. |
| 711 | |
| 712 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with |
| 713 | __extension__. |
| 714 | |
| 715 | * partition.c (elem_compare): Prototype. Don't cast away |
| 716 | const-ness. |
| 717 | |
| 718 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. |
| 719 | |
| 720 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 721 | |
| 722 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. |
| 723 | |
| 724 | * cp-demangle.c: Include demangle.h. |
| 725 | (template_arg_list_new): DeANSIfy. |
| 726 | (cp_demangle): Make static and add prototype. |
| 727 | (operator_code, operators): Constify. |
| 728 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. |
| 729 | |
| 730 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> |
| 731 | |
| 732 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to |
| 733 | unsigned char. |
| 734 | (demangle_unqualified_name): Likewise. |
| 735 | (demangle_number_literally): Likewise. |
| 736 | (demangle_type): Likewise. |
| 737 | (demangle_substitution): Likewise. |
| 738 | (is_mangled_char): Likewise, for isalnum. |
| 739 | |
| 740 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> |
| 741 | |
| 742 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. |
| 743 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. |
| 744 | (cp-demangle.o): New dependency. |
| 745 | (dyn-string.o): Likewise. |
| 746 | |
| 747 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. |
| 748 | |
| 749 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI |
| 750 | demangler. |
| 751 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI |
| 752 | demangling mode. |
| 753 | (gnu_new_abi_symbol_characters): New function. |
| 754 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New |
| 755 | file. |
| 756 | * cp-demangle.c: New file. |
| 757 | |
| 758 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 759 | |
| 760 | * floatformat.c: Add name to each floatformat field. |
| 761 | |
| 762 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
| 763 | |
| 764 | * Makefile.in (objalloc.o): Depend on config.h |
| 765 | |
| 766 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
| 767 | |
| 768 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h |
| 769 | if HAVE_STRING_H. |
| 770 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. |
| 771 | * objalloc.c: Include config.h. Include stdlib.h and don't |
| 772 | declare malloc or free if HAVE_STDLIB_H. |
| 773 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, |
| 774 | else declare malloc without prototype. Include string.h if |
| 775 | HAVE_STRING_H, else declare memset without prototype. Don't |
| 776 | include stddef.h. |
| 777 | |
| 778 | 2000-05-23 Mike Stump <mrs@wrs.com> |
| 779 | |
| 780 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make |
| 781 | -j3. |
| 782 | |
| 783 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
| 784 | |
| 785 | * xmalloc.c: Include config.h for HAVE_SBRK definition. |
| 786 | |
| 787 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> |
| 788 | |
| 789 | * hashtab.c (hash_pointer): Delete low-order bits which are |
| 790 | probably zero, also eliminate a warning on alpha. |
| 791 | |
| 792 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> |
| 793 | |
| 794 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not |
| 795 | on $(enable_shared). |
| 796 | |
| 797 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> |
| 798 | |
| 799 | * config.table: Use mh-sparcpic for sparc*-*-*. |
| 800 | |
| 801 | 2000-05-08 Nick Clifton <nickc@cygnus.com> |
| 802 | |
| 803 | * Makefile.in (CFILES): Add strncmp.c. |
| 804 | (NEEDED): Add strncmp. |
| 805 | |
| 806 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 807 | |
| 808 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): |
| 809 | Cast the arguments to `islower' to `unsigned char'. |
| 810 | (print_demangler_list): Prototype. |
| 811 | |
| 812 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> |
| 813 | |
| 814 | * sort.c (UCHAR_MAX): Provide fallback definition. |
| 815 | |
| 816 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> |
| 817 | |
| 818 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty |
| 819 | SUBDIRS. |
| 820 | |
| 821 | 2000-04-28 Kenneth Block <block@zk3.dec.com> |
| 822 | Jason Merrill <jason@casey.cygnus.com> |
| 823 | |
| 824 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. |
| 825 | (cplus_demangle_set_style): New function for setting style. |
| 826 | (cplus_demangle_name_to_style): New function to translate name. |
| 827 | |
| 828 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 829 | |
| 830 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. |
| 831 | |
| 832 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. |
| 833 | (libiberty_AC_FUNC_STRNCMP): Invoke. |
| 834 | |
| 835 | * strncmp.c: New file. |
| 836 | |
| 837 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> |
| 838 | |
| 839 | * hashtab.c (htab_expand): Add prototype. |
| 840 | (find_empty_slot_for_expand): Likewise. |
| 841 | |
| 842 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 843 | |
| 844 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to |
| 845 | match prototype. |
| 846 | (htab_expand): Cast the return value of xcalloc. |
| 847 | |
| 848 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> |
| 849 | |
| 850 | * hashtab.c (hash_pointer): New function. |
| 851 | (eq_pointer): Likewise. |
| 852 | (htab_hash_pointer): New variable. |
| 853 | (htab_eq_pointer): Likewise. |
| 854 | |
| 855 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> |
| 856 | |
| 857 | * sort.c (sort_pointers): Fix endianness bugs. |
| 858 | |
| 859 | * sort.c: New file. |
| 860 | * Makefile.in (CFILES): Add sort.c |
| 861 | (REQUIRED_OFILES): Add sort.o. |
| 862 | (sort.o): New target. |
| 863 | |
| 864 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 865 | |
| 866 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on |
| 867 | 4.3BSD systems. |
| 868 | |
| 869 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
| 870 | |
| 871 | * hashtab.c: Various minor cleanups. |
| 872 | (htab_find_slot_with_hash): INSERT is now enum insert_option. |
| 873 | (htab_find_slot): Likewise. |
| 874 | |
| 875 | 2000-04-16 Dave Pitts <dpitts@cozx.com> |
| 876 | |
| 877 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. |
| 878 | |
| 879 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
| 880 | |
| 881 | * splay-tree.c (splay_tree_remove): New. |
| 882 | |
| 883 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> |
| 884 | |
| 885 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash |
| 886 | codes. |
| 887 | (htab_find_with_hash): Likewise. |
| 888 | (htab_find_slot_with_hash): Likewise. |
| 889 | |
| 890 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> |
| 891 | |
| 892 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 |
| 893 | unless it will be used. Rearrange loop for better |
| 894 | optimization. |
| 895 | (higher_prime_number): Add static prototype. |
| 896 | |
| 897 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
| 898 | |
| 899 | * Makefile.in (partition.o): Depend on config.h |
| 900 | |
| 901 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> |
| 902 | |
| 903 | * hashtab.c (find_empty_slot_for_expand): New function. |
| 904 | (htab_expand): Use it instead of htab_find_slot. |
| 905 | (htab_find_with_hash): Renamed from htab_find; now accepts extra |
| 906 | argument HASH. |
| 907 | (htab_find_slot_with_hash): Likewise for htab_find_slot. |
| 908 | (htab_find): New wrapper function. |
| 909 | (htab_find_slot): Likewise. |
| 910 | (htab_traverse): Pass slot, not entry, to called function. |
| 911 | |
| 912 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> |
| 913 | |
| 914 | * Makefile.in (CFILES): Add partition.c. |
| 915 | (REQUIRED_OFILES): Add partition.o. |
| 916 | (partition.o): New rule. |
| 917 | * partition.c: New file. |
| 918 | |
| 919 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> |
| 920 | |
| 921 | * hashtab.c (htab_create): Set del_f. |
| 922 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): |
| 923 | Use it. |
| 924 | |
| 925 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> |
| 926 | |
| 927 | * hashtab.c: Remove debugging variables (all_searches, |
| 928 | all_collisions, all_expansions). Delete |
| 929 | all_hash_table_collisions. |
| 930 | (create_hash_table, delete_hash_table, empty_hash_table, |
| 931 | find_hash_table_entry, remove_element_from_hash_table_entry, |
| 932 | clear_hash_table_slot, traverse_hash_table, hash_table_size, |
| 933 | hash_table_elements_number, hash_table_collisions): Rename to: |
| 934 | htab_create, htab_delete, htab_empty, htab_find_slot, |
| 935 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, |
| 936 | htab_elements, htab_collisions. |
| 937 | (htab_find): New function, handles common case where you don't |
| 938 | plan to add or delete an entry. |
| 939 | (htab_expand): Don't create a whole new table, just a new |
| 940 | entry vector. |
| 941 | (htab_find_slot): Simplify logic. |
| 942 | |
| 943 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
| 944 | |
| 945 | * floatformat.c: Add casts to avoid signed/unsigned warnings. |
| 946 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. |
| 947 | |
| 948 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to |
| 949 | $(TARGETLIB)n so it works on MSDOS. |
| 950 | (install_to_tooldir): Likewise. |
| 951 | |
| 952 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
| 953 | |
| 954 | From Mark Elbrecht: |
| 955 | * makefile.dos: Remove; obsolete. |
| 956 | * configure.bat: Remove; obsolete. |
| 957 | |
| 958 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 959 | |
| 960 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 961 | warning. |
| 962 | |
| 963 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
| 964 | |
| 965 | * pexecute.c: Conditionally include string.h. |
| 966 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
| 967 | |
| 968 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 969 | |
| 970 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if |
| 971 | we're using gcc. |
| 972 | |
| 973 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ |
| 974 | |
| 975 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> |
| 976 | |
| 977 | * vasprintf.c (int_vasprintf): Don't re-read the format character |
| 978 | as this mishandles strings like '%%s'. |
| 979 | |
| 980 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> |
| 981 | |
| 982 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s |
| 983 | rather than struct splay_tree_node. |
| 984 | (splay_tree_insert): Use struct splay_tree_s rather than struct |
| 985 | splay_tree. |
| 986 | |
| 987 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> |
| 988 | |
| 989 | * hashtab.c (sys/types.h): File included. |
| 990 | |
| 991 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> |
| 992 | |
| 993 | * strtoul.c, strtol.c, random.c: Remove advertising clause from |
| 994 | BSD license, pursuant with |
| 995 | |
| 996 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change |
| 997 | |
| 998 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) |
| 999 | |
| 1000 | * hashtab.c: Include stdio.h. |
| 1001 | |
| 1002 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) |
| 1003 | |
| 1004 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. |
| 1005 | |
| 1006 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> |
| 1007 | |
| 1008 | * xstrdup (sys/types.h): Include this file. |
| 1009 | |
| 1010 | 1999-10-28 Nathan Sidwell <nathan@acm.org> |
| 1011 | |
| 1012 | * Makefile.in (SUBDIRS): New macro. |
| 1013 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to |
| 1014 | avoid multiple subdirectory cleaning. |
| 1015 | (*-subdir): Use SUBDIRS. |
| 1016 | |
| 1017 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> |
| 1018 | |
| 1019 | * cplus-dem.c: Move declarations of standard_symbol_characters and |
| 1020 | hp_symbol_characters inside #ifdef MAIN to avoid compiler |
| 1021 | warnings. |
| 1022 | |
| 1023 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> |
| 1024 | |
| 1025 | * hashtab.c (find_hash_table_entry): When returning a |
| 1026 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. |
| 1027 | (clear_hash_table_slot): New function which deletes an entry |
| 1028 | by its position in the table, not its value. |
| 1029 | (traverse_hash_table): New function which calls a hook |
| 1030 | function for every live entry in the table. |
| 1031 | |
| 1032 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> |
| 1033 | |
| 1034 | * cplus-dem.c (INTBUF_SIZE): New macro. |
| 1035 | (string_append_template_idx): New function. |
| 1036 | (demangle_expression): Likewise. |
| 1037 | (demangle_integral_value): Use it. |
| 1038 | (demangle_real_value): New function, split out from ... |
| 1039 | (demangle_template_value_parm): ... here. Use |
| 1040 | string_append_template_idx. Use demangle_real_value. |
| 1041 | (demangle_template): Use string_append_template_idx. |
| 1042 | (demangle_qualified): Use consume_count_with_underscores. |
| 1043 | (get_count): Tweak formatting. |
| 1044 | (do_type): Use string_append_template_idx. |
| 1045 | |
| 1046 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1047 | |
| 1048 | * calloc.c: Add a public domain notice. |
| 1049 | |
| 1050 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> |
| 1051 | |
| 1052 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. |
| 1053 | |
| 1054 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> |
| 1055 | |
| 1056 | * Makefile.in (CFILES): Add hashtab.c |
| 1057 | (REQUIRED_OFILES): Add hashtab.o |
| 1058 | (hashtab.o): Add dependencies. |
| 1059 | * hashtab.c: New file |
| 1060 | |
| 1061 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1062 | |
| 1063 | * basename.c (DIR_SEPARATOR): New macro. |
| 1064 | (DIR_SEPARATOR_2): Likewise. |
| 1065 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. |
| 1066 | (IS_DIR_SEPARATOR): Likewise. |
| 1067 | (main): Handle MSDOS style pathname. |
| 1068 | |
| 1069 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> |
| 1070 | |
| 1071 | * cplus-dem.c (do_type): Handle pointer to member types whose |
| 1072 | enclosing classes have namespace scope. |
| 1073 | |
| 1074 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1075 | |
| 1076 | * config.table: Provide a backup shell for executing move-if-change. |
| 1077 | |
| 1078 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> |
| 1079 | |
| 1080 | * xmalloc.c (xmalloc): Fix spelling error. |
| 1081 | (xcalloc, xrealloc): Likewise. |
| 1082 | |
| 1083 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1084 | |
| 1085 | * cplus-dem.c (fancy_abort, demangle_integral_value, |
| 1086 | demangle_arm_hp_template, recursively_demangle, |
| 1087 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. |
| 1088 | (program_name, program_version, fatal): Constify a char*. |
| 1089 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. |
| 1090 | (main): Call return, not exit. |
| 1091 | |
| 1092 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1093 | |
| 1094 | * choose-temp.c: Remove obsolete comment about gcc. |
| 1095 | (make_temp_file): Constify a char*. |
| 1096 | |
| 1097 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1098 | |
| 1099 | * xmemdup.c: Include sys/types.h. |
| 1100 | |
| 1101 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> |
| 1102 | |
| 1103 | * xmemdup.c: New xmemdup function. |
| 1104 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. |
| 1105 | |
| 1106 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> |
| 1107 | |
| 1108 | * config.table: Add openedition target. |
| 1109 | * config/mh-openedition: New file. |
| 1110 | |
| 1111 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1112 | |
| 1113 | * pexecute.c (pexecute): Fill in temp_base when needed. |
| 1114 | |
| 1115 | 1999-08-31 Richard Henderson <rth@cygnus.com> |
| 1116 | |
| 1117 | * getpwd.c: Check HAVE_GETCWD before defining it away. |
| 1118 | |
| 1119 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1120 | |
| 1121 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. |
| 1122 | (REQUIRED_OFILES): Add getpwd.o. |
| 1123 | (getpwd.o): Add target. |
| 1124 | |
| 1125 | * configure.in (AC_PREREQ): Bump to 2.13. |
| 1126 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. |
| 1127 | |
| 1128 | * getpwd.c: New file, moved here from gcc. |
| 1129 | |
| 1130 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1131 | |
| 1132 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when |
| 1133 | comparing against a signed quantity. |
| 1134 | (arm_special): Likewise. |
| 1135 | (demangle_fund_type): Likewise. |
| 1136 | (do_hpacc_template_const_value): Mark parameter `work' with |
| 1137 | ATTRIBUTE_UNUSED. |
| 1138 | (main): Constify variable `valid_symbols'. |
| 1139 | |
| 1140 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> |
| 1141 | |
| 1142 | * strtoul.c (strtoul): Add parentheses around && within ||. |
| 1143 | |
| 1144 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> |
| 1145 | |
| 1146 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, |
| 1147 | libdir, libsubdir and tooldir. |
| 1148 | |
| 1149 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> |
| 1150 | |
| 1151 | * splay-tree.c (splay_tree_insert): Return the new node. |
| 1152 | |
| 1153 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
| 1154 | |
| 1155 | * argv.c: Include stdlib.h and string.h instead of |
| 1156 | prototyping directly. |
| 1157 | * choose-temp.c: Conditionally include string.h. |
| 1158 | |
| 1159 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
| 1160 | |
| 1161 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. |
| 1162 | |
| 1163 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 1164 | |
| 1165 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 1166 | warning. |
| 1167 | |
| 1168 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
| 1169 | |
| 1170 | * Makefile.in (needed-list): Only include stuff we actually need |
| 1171 | for libstdc++. |
| 1172 | |
| 1173 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 1174 | |
| 1175 | * configure.in (checkfuncs): Add gettimeofday. |
| 1176 | * config.in, configure: Regenerated. |
| 1177 | |
| 1178 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1179 | |
| 1180 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if |
| 1181 | the test fails. |
| 1182 | * configure: Regenerate. |
| 1183 | |
| 1184 | 1999-06-10 Mike Stump <mrs@wrs.com> |
| 1185 | |
| 1186 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix |
| 1187 | parallel builds. |
| 1188 | |
| 1189 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1190 | |
| 1191 | * putenv.c: Include ansidecl.h to define `const'. |
| 1192 | * setenv.c: Likewise. |
| 1193 | |
| 1194 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> |
| 1195 | |
| 1196 | * Makefile.in (CFILES): Add putenv.c and setenv.c. |
| 1197 | * configure.in (funcs): Add putenv and setenv. |
| 1198 | (AC_CHECK_FUNCS): Check for putenv and setenv. |
| 1199 | * configure: Rebuilt. |
| 1200 | * putenv.c setenv.c: New files. |
| 1201 | |
| 1202 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE |
| 1203 | bytes of space using malloc. |
| 1204 | |
| 1205 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
| 1206 | |
| 1207 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance |
| 1208 | the *mangled pointer beyond the end of the string. Clean up code to |
| 1209 | match prevailing coding style. |
| 1210 | |
| 1211 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
| 1212 | |
| 1213 | * tmpnam.c (L_tmpnam): Fix typo. |
| 1214 | |
| 1215 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1216 | |
| 1217 | * cplus-dem.c (standard_symbol_characters): Renamed from |
| 1218 | standard_symbol_alphabet. No longer modify TABLE. |
| 1219 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer |
| 1220 | modify TABLE. |
| 1221 | (main): Corresponding changes. Use strchr to determine if a |
| 1222 | character is valid. |
| 1223 | |
| 1224 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1225 | |
| 1226 | * cplus-dem.c (main): Use table lookup to distinguish identifier |
| 1227 | characters from non-identifier characters. |
| 1228 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. |
| 1229 | |
| 1230 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
| 1231 | |
| 1232 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. |
| 1233 | * getruntime.c: Only attempt to include sys/resource.h and |
| 1234 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H |
| 1235 | are defined. |
| 1236 | |
| 1237 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
| 1238 | |
| 1239 | * configure.in (alloca detection): Handle alloca directly for interix. |
| 1240 | * configure: Rebuilt. |
| 1241 | |
| 1242 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1243 | |
| 1244 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. |
| 1245 | |
| 1246 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1247 | |
| 1248 | Fix from Dale Hawkins: |
| 1249 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
| 1250 | reallocated properly if we use it again. |
| 1251 | |
| 1252 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be |
| 1253 | stricter about syntax. Always null-terminate string. |
| 1254 | |
| 1255 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1256 | |
| 1257 | * configure.in (checkfuncs): Check for sbrk. |
| 1258 | * config.in: Rebuilt. |
| 1259 | * configure: Likewise. |
| 1260 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. |
| 1261 | |
| 1262 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1263 | |
| 1264 | Fix from Marcus Daniels: |
| 1265 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the |
| 1266 | identifier looking for another underscore. |
| 1267 | |
| 1268 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1269 | |
| 1270 | * pexecute.c: Change all references to __UWIN__ to _UWIN. |
| 1271 | * xmalloc.c: Likewise. |
| 1272 | (xcalloc): UWIN has sbrk. |
| 1273 | (xrealloc): Fix guard macro. |
| 1274 | |
| 1275 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
| 1276 | |
| 1277 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin |
| 1278 | or <alloca.h>. |
| 1279 | * clock.c (GNU_HZ): New definition. |
| 1280 | (clock): Use it. |
| 1281 | * getruntime.c: Likewise. |
| 1282 | |
| 1283 | * config.table: Use mh-beos. |
| 1284 | * config/mh-beos: New file. |
| 1285 | |
| 1286 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
| 1287 | |
| 1288 | * cplus-dem.c (demangle_template_value_parm): Handle |
| 1289 | pointers-to-members. |
| 1290 | (do_type): Handle template parameters as qualifiers. |
| 1291 | |
| 1292 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1293 | |
| 1294 | * cplus-dem.c: Attempt to handle overflows in counts with some |
| 1295 | semblance of grace. |
| 1296 | (consume_count): Detect overflows. Return -1 to indicate errors, |
| 1297 | instead of zero. |
| 1298 | (demangle_template_value_parm, demangle_template): Handle change |
| 1299 | to consume_count's return convention. |
| 1300 | |
| 1301 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
| 1302 | |
| 1303 | * testsuite/regress-demangle: New file. |
| 1304 | * testsuite/demangle-expected: New file. |
| 1305 | |
| 1306 | * Makefile.in (all, check, installcheck, info, install-info, |
| 1307 | clean-info, dvi, install, etags, tags, mostlyclean, clean, |
| 1308 | distclean, maintainer-clean, realclean): Depend on corresponding |
| 1309 | `-subdir' target. |
| 1310 | (all-subdir check-subdir installcheck-subdir info-subdir |
| 1311 | install-info-subdir clean-info-subdir dvi-subdir |
| 1312 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir |
| 1313 | distclean-subdir maintainer-clean-subdir): New target. |
| 1314 | * testsuite/Makefile.in: New file. |
| 1315 | * configure: Rebuilt. |
| 1316 | * configure.in: Create testsuite/Makefile. |
| 1317 | |
| 1318 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> |
| 1319 | |
| 1320 | * splay-tree.h (splay_tree_compare_pointers): Define. |
| 1321 | |
| 1322 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> |
| 1323 | |
| 1324 | * splay-tree.c (splay_tree_compare_ints): Define. |
| 1325 | |
| 1326 | 1999-03-30 Tom Tromey <tromey@cygnus.com> |
| 1327 | |
| 1328 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and |
| 1329 | don't advance input pointer. |
| 1330 | (demangle_class_name): If consume_count didn't find a count, do |
| 1331 | nothing. Don't bother with `strlen' sanity check; consume_count |
| 1332 | does it for us. |
| 1333 | |
| 1334 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> |
| 1335 | |
| 1336 | From Art Haas <ahaas@neosoft.com>: |
| 1337 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings |
| 1338 | when doing arm or hp style. |
| 1339 | (demangle_nested_args): Decr forgetting_types field when done. |
| 1340 | |
| 1341 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1342 | |
| 1343 | * pexecute.c (__CYGWIN32__): Rename to |
| 1344 | (__CYGWIN__): this. |
| 1345 | * xmalloc.c: Likewise. |
| 1346 | |
| 1347 | Changes to support i386-pc-uwin. |
| 1348 | * configure.in (*-*-uwin*): Workaround for vfork bug. |
| 1349 | * configure: Regenerate. |
| 1350 | * pexecute.c (pexecute): Be like standard Unix. |
| 1351 | (pwait): Likewise. |
| 1352 | * xmalloc.c (first_break): Define. |
| 1353 | (xmalloc_set_program_name): Use. |
| 1354 | (xmalloc): Use. |
| 1355 | |
| 1356 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 1357 | |
| 1358 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc |
| 1359 | |
| 1360 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> |
| 1361 | |
| 1362 | * config.table: Check cygwin*, not cygwin32*. |
| 1363 | |
| 1364 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> |
| 1365 | |
| 1366 | * Makefile.in: Change mkstemp -> mkstemps. |
| 1367 | |
| 1368 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> |
| 1369 | |
| 1370 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o |
| 1371 | * configure.in (funcs): Check for and conditionally add mkstemps to |
| 1372 | the list of functions libiberty will provide. |
| 1373 | * configure: Rebuilt. |
| 1374 | |
| 1375 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1376 | |
| 1377 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
| 1378 | platforms that don't have HZ. |
| 1379 | * getruntime.c (HZ): Likewise. |
| 1380 | |
| 1381 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> |
| 1382 | |
| 1383 | * Makefile.in (xstrdup.o): Depend on config.h. |
| 1384 | |
| 1385 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) |
| 1386 | |
| 1387 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after |
| 1388 | freeing it. |
| 1389 | |
| 1390 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1391 | |
| 1392 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. |
| 1393 | |
| 1394 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
| 1395 | |
| 1396 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of |
| 1397 | splay-tree.o. |
| 1398 | |
| 1399 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) |
| 1400 | |
| 1401 | * configure.in: Require autoconf 2.12.1 or higher. |
| 1402 | |
| 1403 | 1998-12-30 Michael Meissner <meissner@cygnus.com> |
| 1404 | |
| 1405 | * random.c (NULL): Don't redefine NULL if it is already defined. |
| 1406 | |
| 1407 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1408 | |
| 1409 | * argv.c (buildargv): Cast the result of alloca in assignment. |
| 1410 | |
| 1411 | * choose-temp.c: Include stdlib.h. |
| 1412 | |
| 1413 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. |
| 1414 | (snarf_numeric_literal): Constify first parameter. |
| 1415 | (code_for_qualifier): Avoid a gcc extension, make the parameter an |
| 1416 | int, not a char. |
| 1417 | (demangle_qualifier): Likewise. |
| 1418 | (demangle_signature): Cast the argument of a ctype function to |
| 1419 | unsigned char. |
| 1420 | (arm_pt): Add parens around assignment used as truth value. |
| 1421 | (demangle_arm_hp_template): Constify variable `args'. |
| 1422 | (do_hpacc_template_const_value): Cast the argument of a ctype |
| 1423 | function to unsigned char. |
| 1424 | (do_hpacc_template_literal): Remove unused variable `i'. |
| 1425 | (snarf_numeric_literal): Constify parameter `args'. |
| 1426 | Cast the argument of a ctype function to unsigned char. |
| 1427 | |
| 1428 | * floatformat.c (floatformat_to_double): Add explicit braces to |
| 1429 | avoid ambiguous `else'. |
| 1430 | |
| 1431 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', |
| 1432 | `cstart' and `cend' to unsigned char. Cast the argument of macro |
| 1433 | `FOLD', which uses ctype functions, to unsigned char. |
| 1434 | |
| 1435 | * objalloc.c (free): Add prototype. |
| 1436 | |
| 1437 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> |
| 1438 | |
| 1439 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o |
| 1440 | |
| 1441 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> |
| 1442 | |
| 1443 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function |
| 1444 | doesn't exist. |
| 1445 | (do_hpacc_template_literal): remove unused variable `i'. |
| 1446 | |
| 1447 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 1448 | |
| 1449 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before |
| 1450 | bumping the pointer we read from. Also prepend these codes, |
| 1451 | as we do in other places. |
| 1452 | |
| 1453 | 1998-12-18 Nick Clifton <nickc@cygnus.com> |
| 1454 | |
| 1455 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be |
| 1456 | 'const char *' in order to match its usage when calling siblings. |
| 1457 | (snarf_numeric_literal): Make first arg 'const char **' in order |
| 1458 | to match usage. |
| 1459 | |
| 1460 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1461 | |
| 1462 | * choose-temp.c: Don't check IN_GCC anymore. |
| 1463 | |
| 1464 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. |
| 1465 | * memchr.c (memchr): Likewise. |
| 1466 | * memcpy.c (memcpy): Likewise. |
| 1467 | * memmove.c (memmove): Likewise. |
| 1468 | |
| 1469 | * mkstemp.c: Don't check IN_GCC anymore. |
| 1470 | * pexecute.c: Likewise. |
| 1471 | * splay-tree.c: Likewise. |
| 1472 | |
| 1473 | * strchr.c (strchr): Use `const', not `CONST'. |
| 1474 | * strrchr.c (strrchr): Likewise. |
| 1475 | * strtol.c (strtol): Likewise. |
| 1476 | * strtoul.c (strtoul): Likewise. |
| 1477 | |
| 1478 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> |
| 1479 | Elena Zannoni <ezannoni@cygnus.com> |
| 1480 | Stan Shebs <shebs@cygnus.com> |
| 1481 | Edith Epstein <eepstein@cygnus.com> |
| 1482 | Andres MacLeod <amacleod@cygnus.com> |
| 1483 | Satish Pai <pai@apollo.hp.com> |
| 1484 | |
| 1485 | * HP aCC demangling support. |
| 1486 | * cplus-dem.c |
| 1487 | (main): Remove default to HP style demangling, set to EDG |
| 1488 | demangling correctly when -edg specified; set the demangling style |
| 1489 | when user specifies 'edg'. Set strip_underscore to |
| 1490 | prepends_underscore, if not HPUXHPPA. Set |
| 1491 | current_demangling_style to hp_demangling if HPUXHPPA. Set |
| 1492 | current demangling style correctly if the switch is hp. Read |
| 1493 | label correctly also in the HP style case. |
| 1494 | (work_stuff): add temp_start field; add field for volatile member |
| 1495 | function. |
| 1496 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP |
| 1497 | style for this case is the same as ARM. |
| 1498 | (demangle_args): handle EDG_DEMANGLING style; support HP style. |
| 1499 | (demangle_arm_hp_template): new function. (It was |
| 1500 | demangle_arm_pt.); check and set value of temp_start field in |
| 1501 | multiple places. Also, when ceching for end of template args, |
| 1502 | check to see if at end of static member of template class. |
| 1503 | (demangle_class): new local variable : save_class_name_end Don't |
| 1504 | include template args in string defining class. |
| 1505 | (demangle_class_name): use demangel_arm_hp_template. |
| 1506 | (demangle_function_name): handle case where demangling style is |
| 1507 | HP_DEMANGLING and currently point at an 'X' in the mangled name. |
| 1508 | Handle EDG_DEMANGLING style. Handle constructor and destructor |
| 1509 | ops for HP style. |
| 1510 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING |
| 1511 | styles. global destructor and constructor for HP style are same |
| 1512 | as for ARM style. Same for local variables. |
| 1513 | (demangle_qualified): handle EDG_DEMANGLING style. |
| 1514 | (demangle_signature): add case for volatile member function. For |
| 1515 | cases '1' - '9' : initialize the temp_start field to -1 and handle |
| 1516 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING |
| 1517 | and AUTO_DEMANGLING styles. If expecting a function and managed |
| 1518 | to demangle the funct args, then handle the LUCID_DEMANGLING, |
| 1519 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local |
| 1520 | class name after "Lnnn_ in HP style case. HP style too needs to |
| 1521 | forget types. _nnn is OK for HP style, so don't report failure. |
| 1522 | (do_hpacc_template_const_value): new function. Handle template's |
| 1523 | value param for HP/aCC. |
| 1524 | (do_hpacc_template_literal): new function. Handle a template's |
| 1525 | literal parameter for HP aCC. |
| 1526 | (recursively_demangle): new function |
| 1527 | (snarf_numeric_literal): new function. |
| 1528 | (usage): add 'edg' to the list of demangling styles; add hp switch |
| 1529 | to message. |
| 1530 | |
| 1531 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> |
| 1532 | |
| 1533 | * pexecute.c: Remove obsolete ifdefed cygwin code. |
| 1534 | |
| 1535 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1536 | |
| 1537 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. |
| 1538 | * cplus-dem.c: Likewise. Conform to libiberty.h. |
| 1539 | * pexecute.c: Likewise. |
| 1540 | * splay-tree.c: Likewise. |
| 1541 | |
| 1542 | 1998-11-25 Mike Stump <mrs@wrs.com> |
| 1543 | |
| 1544 | * Makefile.in (splay-tree.o): Add config.h dependency. |
| 1545 | |
| 1546 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1547 | |
| 1548 | * configure.in: Use AC_PREREQ(2.12.1). |
| 1549 | |
| 1550 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> |
| 1551 | |
| 1552 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
| 1553 | |
| 1554 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) |
| 1555 | |
| 1556 | * mpw.c (mpw_access): Add missing parens. |
| 1557 | |
| 1558 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1559 | |
| 1560 | * configure.in: Call AC_HEADER_SYS_WAIT. |
| 1561 | |
| 1562 | * pexecute.c: Include sys/wait.h when !IN_GCC. |
| 1563 | |
| 1564 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> |
| 1565 | |
| 1566 | * pexecute.c: revert back to checking old Cygwin |
| 1567 | preprocessor symbol until some time has passed. |
| 1568 | |
| 1569 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> |
| 1570 | |
| 1571 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin |
| 1572 | since it will now support similar constructs. |
| 1573 | |
| 1574 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1575 | |
| 1576 | * configure.in: Check for calloc. |
| 1577 | |
| 1578 | * calloc.c: New file. |
| 1579 | |
| 1580 | * xmalloc.c (xcalloc): New function. |
| 1581 | |
| 1582 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 1583 | |
| 1584 | *cplus-dem.c (demangle_prefix): Use the last "__" |
| 1585 | in the mangled name when looking for the signature. This allows |
| 1586 | template names to begin with "__". |
| 1587 | |
| 1588 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> |
| 1589 | |
| 1590 | * cplus-dem.c (type_kind_t): Add tk_reference. |
| 1591 | (demangle_template_value_parm): Handle it. |
| 1592 | (do_type): Use it for references, instead of tk_pointer. |
| 1593 | |
| 1594 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, |
| 1595 | not internal_cplus_demangle. |
| 1596 | |
| 1597 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1598 | |
| 1599 | * choose-temp.c: Don't include gansidecl.h. |
| 1600 | * mkstemp.c: Likewise. |
| 1601 | * pexecute.c: Likewise. |
| 1602 | |
| 1603 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> |
| 1604 | |
| 1605 | * configure.in: detect cygwin* instead of cygwin32* |
| 1606 | * configure: regenerate |
| 1607 | |
| 1608 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1609 | |
| 1610 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining |
| 1611 | whether to include config.h. Possibly include unistd.h in the |
| 1612 | !IN_GCC case. Define VFORK_STRING as a printable function call |
| 1613 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is |
| 1614 | defined, include vfork.h. If VMS is defined, define vfork() |
| 1615 | appropriately. Remove vfork check on USG, we're using autoconf. |
| 1616 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking |
| 1617 | locally what string to use. |
| 1618 | |
| 1619 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> |
| 1620 | |
| 1621 | * splay-tree.c: Tweak include directives to make sure declarations of |
| 1622 | xmalloc and free are available. |
| 1623 | |
| 1624 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> |
| 1625 | |
| 1626 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in |
| 1627 | anonymous namespaces. |
| 1628 | |
| 1629 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> |
| 1630 | |
| 1631 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type |
| 1632 | with type_quals. |
| 1633 | (TYPE_UNQUALIFIED): New macro. |
| 1634 | (TYPE_QUAL_CONST): Likewise. |
| 1635 | (TYPE_QUAL_VOLATILE): Likewise. |
| 1636 | (TYPE_QUAL_RESTRICT): Likewise. |
| 1637 | (code_for_qualifier): New function. |
| 1638 | (qualifier_string): Likewise. |
| 1639 | (demangle_qualifier): Likewise. |
| 1640 | (internal_cplus_demangle): Use them. |
| 1641 | (demangle_signature): Likewise. |
| 1642 | (demangle_template_value_parm): Likewise. |
| 1643 | (do_type): Likewise. |
| 1644 | (demangle_fund_type)): Likewise. |
| 1645 | |
| 1646 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1647 | |
| 1648 | * splay-tree.c (splay_tree_foreach_helper): Make definition static |
| 1649 | to match prototype. |
| 1650 | |
| 1651 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> |
| 1652 | |
| 1653 | * splay-tree.c: New file. |
| 1654 | * Makefile.in (CFILES): Add it. |
| 1655 | (REQUIRED_OFILES): Likewise. |
| 1656 | (splay-tree.o): Add dependencies. |
| 1657 | |
| 1658 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 1659 | |
| 1660 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking |
| 1661 | range of 'K' index. |
| 1662 | |
| 1663 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1664 | |
| 1665 | * choose-temp.c: Prototype mkstemps() when IN_GCC. |
| 1666 | |
| 1667 | * cplus-dem.c (consume_count): Cast argument of ctype macro to |
| 1668 | `unsigned char'. |
| 1669 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when |
| 1670 | comparing against one. |
| 1671 | (cplus_mangle_opname): Likewise. |
| 1672 | (demangle_integral_value): Cast argument of ctype macro to |
| 1673 | `unsigned char'. |
| 1674 | (demangle_template_value_parm): Likewise. |
| 1675 | (demangle_template): Initialize variable `bindex'. Cast the |
| 1676 | result of `strlen' to (int) when comparing against one. Remove |
| 1677 | unused variable `start_of_value_parm'. |
| 1678 | (demangle_class_name): Cast the result of `strlen' to (int) when |
| 1679 | comparing against one. |
| 1680 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. |
| 1681 | (gnu_special): Likewise. Cast the result of `strlen' to (int) |
| 1682 | when comparing against one. |
| 1683 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. |
| 1684 | (get_count): Likewise. |
| 1685 | (do_type): Likewise. Cast the result of `strlen' to (int) when |
| 1686 | comparing against one. |
| 1687 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. |
| 1688 | (demangle_function_name): Cast the result of `strlen' to (int) |
| 1689 | when comparing against one. |
| 1690 | |
| 1691 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when |
| 1692 | comparing against one. |
| 1693 | |
| 1694 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) |
| 1695 | |
| 1696 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
| 1697 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. |
| 1698 | * config.in, configure: Rebuilt. |
| 1699 | |
| 1700 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. |
| 1701 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. |
| 1702 | * config.in, configure: Rebuilt. |
| 1703 | |
| 1704 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> |
| 1705 | |
| 1706 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
| 1707 | |
| 1708 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> |
| 1709 | |
| 1710 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. |
| 1711 | |
| 1712 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) |
| 1713 | |
| 1714 | * Merge egcs & devo libiberty. |
| 1715 | |