aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
AgeCommit message (Collapse)AuthorFilesLines
2002-11-11 * gdbtypes.h (struct main_type): Move artificial flag out ofDaniel Jacobowitz1-0/+5
loc. New member of ``struct field'' named static_kind. Reduce overloaded meaning of bitsize. (FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR) (TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise. (FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros. * ada-lang.c (fill_in_ada_prototype): Initialize static_kind for new fields. (template_to_fixed_record_type, template_to_static_fixed_type) (to_record_with_fixed_variant_part): Likewise. * coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise. * dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise. * dwarfread.c (struct_type, enum_type): Likewise. * hpread.c (hpread_read_enum_type) (hpread_read_function_type, hpread_read_doc_function_type) (hpread_read_struct_type): Likewise. * mdebugread.c (parse_symbol): Likewise.
2002-11-102002-11-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy. * stack.c (print_frame_info_base): Update. (print_frame_info_base, frame_info): Update. * sparc-tdep.c (sparc_init_extra_frame_info): Update. (sparc_frame_saved_pc): Update. * ada-lang.c (find_printable_frame): Update. * breakpoint.c (deprecated_frame_in_dummy): Update.
2002-10-242002-10-24 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-3/+3
* symtab.h (INIT_SAL): Delete macro. (init_sal): Export. * symtab.c (init_sal): New function. * ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro to init_sal function call. (find_sal_from_funcs_and_line): Ditto. (all_sals_for_line): Ditto. * breakpoint.c (create_internal_breakpoint): Ditto. (create_fork_vfork_event_catchpoint): Ditto. (create_exec_event_catchpoint): Ditto. (parse_breakpoint_sals): Ditto. (watch_command_1): Ditto. (handle_gnu_4_16_catch_command): Ditto. (clear_command): Ditto. * hppa-tdep.c (child_enable_exception_callback): Ditto. * infcmd.c (run_stack_dummy): Ditto. * infrun.c (process_event_stop_test): Ditto. (check_sigtramp2): Ditto. (step_over_function): Ditto. * linespec.c (decode_line_2): Ditto. (decode_line_1): Ditto. * source.c (line_info): Ditto. * symtab.c (find_pc_sect_line): Ditto.
2002-09-08 * ada-lang.c (ada_array_bound, ada_type_match,Aidan Skinner1-9/+3
_initialize_ada_language): Fix K&R definitions. * ada-tasks.c (get_current_task): Fix K&R definitions. * ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
2002-08-18 * ada-lang.c: Use gdb_string.h instead of <string.h>.Aidan Skinner1-1/+1
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
2002-08-18 * ada-lang.c: run through gdb_indent.shAidan Skinner1-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
2002-08-11 * ada-lang.c (ada_lookup_partial_symbol)Aidan Skinner1-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.
2002-07-25 * ada-lang.c: Change k&r style function definitions to prototypedAidan Skinner1-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.
2002-07-13 * ada-tasks.c (add_task_entry): replace calls toAidan Skinner1-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-112002-07-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-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-192002-06-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-9/+1
* ada-lang.c (fill_in_ada_prototype): Update comment.
2002-06-04Add base ada language filesAidan Skinner1-0/+8626