summaryrefslogtreecommitdiffstats
path: root/gdb/ada-lang.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * ada-lang.c: run through gdb_indent.shAidan Skinner2002-08-181-2622/+2670
| | | | | | | * ada-lang.h: run through gdb_indent.sh * ada-tasks.c: run through gdb_indent.sh * ada-typeprint.c: run through gdb_indent.sh * ada-valprint.c: run through gdb_indent.sh
* * ada-lang.c (ada_lookup_partial_symbol)Aidan Skinner2002-08-111-9/+6
| | | | | | | | | | | (to_fixed_variant_branch_type) (find_line_in_linetable): Fix prototype names so that grep ^func works properly. * ada-lang.c (ada_array_element_type) (ada_lookup_partial_symbol): Fix typos in parameter list. * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1): Fix prototype names so that grep ^func works properly.
* * ada-lang.c: Change k&r style function definitions to prototypedAidan Skinner2002-07-251-563/+210
| | | | | | | | form. * ada-typeprint.c: Change k&r style function definitions to prototyped form. * ada-valprint.c: Change k&r style function definitions to prototyped form.
* * ada-tasks.c (add_task_entry): replace calls toAidan Skinner2002-07-131-8/+8
| | | | | | | | | malloc() with xmalloc * ada-tasks.c (init_task_list): replace calls to free with xfree() * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, ada_finish_decode_line_1, all_sals_for_line ada_breakpoint_rewrite): replace calls to free() with xfree()
* 2002-07-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-07-111-97/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on patch from Daniel Berlin <dberlin@dberlin.org>. * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. (finish_block) For non-function blocks, hash the symbol table. For function blocks, mark the symbol table as unhashed. * minsyms.c (msymbol_hash): Return hash value without taking modulus. (msymbol_hash_iw): Likewise. (add_minsym_to_hash_table): Take modulus of msymbol_hash's return value. (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. (lookup_minimal_symbol): Likewise for both. * symtab.h (struct block): Add `hashtable' flag. Comment the hashtable. (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. (ALL_BLOCK_SYMBOLS): Update. (BLOCK_SHOULD_SORT): Do not sort hashed blocks. (struct symbol): Add `hash_next' pointer. * symtab.c (lookup_block_symbol): Search using the hash table when possible. (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (search_symbols, find_addr_symbol): Likewise. * dstread.c (process_dst_block): Clear hashtable bit for new block. (read_dst_symtab): Likewise. * jv-lang.c (get_java_class_symtab): Likewise. * mdebugread.c: Include "gdb_assert.h". (shrink_block): Assert that the block being modified is not hashed. * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. * symmisc.c (free_symtab_block): Walk the hash table when freeing symbols. (dump_symtab): Recognize hashed blocks. * printcmd.c (print_frame_args): Assert that function blocks do not have hashed symbol tables. * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. (fill_in_ada_prototype, debug_print_block): Likewise. (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
* 2002-06-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-06-191-9/+1
| | | | * ada-lang.c (fill_in_ada_prototype): Update comment.
* Add base ada language filesAidan Skinner2002-06-041-0/+8626
OpenPOWER on IntegriCloud