aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-25* x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar toMark Kettenis2-102/+75
the version in i386-tdep.c. Move set_gdbarch_* calls out into... (x86_64_init_abi): ...new function.
2002-10-25* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): AddJason Thorpe2-2/+8
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to targ_selvecs.
2002-10-25* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).Mark Kettenis2-1/+2
2002-10-25 Fix PR gdb/787Stephane Carrez2-0/+25
* tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER, ACS_HLINE, ACS_VLINE): Define if they don't exist.
2002-10-25 Fix PR gdb/478Stephane Carrez2-1/+6
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
2002-10-25Add some string section merging support.Jim Wilson2-0/+35
* elf64-sh64.c (sh_elf64_relocate_section): Call _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol of SHF_MERGE section.
2002-10-25* i386v-nat.c: Include "i386-tdep.h".Mark Kettenis2-0/+6
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-90/+25
* gdbtypes.c (address_space_name_to_int): Update. (address_space_int_to_name): Update. * gdbarch.sh (address_class_type_flags_to_name): Change to a pure multi-arch predicate. (address_class_name_to_type_flags): Ditto. * gdbarch.h, gdbarch.c: Re-generate.
2002-10-25 * simple.c: Correct placement of ATTRIBUTE_UNUSED.Hans-Peter Nilsson2-47/+41
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+6
* MAINTAINERS: Check all warnings when h8300hms and alpha-elf.
2002-10-25Files missed in previous commit.Dave Anglin2-32/+71
2002-10-25 * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index toDave Anglin19-100/+167
unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to unsigned int. (NAME(aout,final_link)): Cast enum used in assignment. (aout_link_write_symbols): Cast enums in comparisons, int values to boolean, enums in assignments to int. (aout_link_input_section_std): Cast rel->r_index to unsigned int. (aout_link_input_section_ext): Likewise. Cast enums used in comparisons with unsigned ints. (aout_link_reloc_link_order): Cast enum to int in assignment. * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr calls to char *. * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in assignment. * bfd-in2.h (bfd_set_section_vma): Likewise. * bfd.c (bfd_record_phdr): Cast enums in assignments. * binary.c (bfd_alloc): Cast enum to long. * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. * dwarf2.c (read_abbrevs): Add casts to enum types. (read_attribute_value): Likewise. (arange_add): Cast result of bfd_zalloc call. (comp_unit_contains_address): Return true and false. (comp_unit_find_nearest_line): Cast return to boolean. * format.c (bfd_check_format_matches, bfd_set_format): Likewise. * gen-aout.c: define macro '_' if not defined. * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. (bfd_bwrite): Cast bfd_realloc to bfd_byte *. (bfd_write_bigendian_4byte_int): Cast return to boolean. (bfd_seek): Cast bfd_realloc to bfd_byte *. (bfd_generic_is_local_label_name): Cast return to boolean. * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (_bfd_generic_link_hash_newfunc): likewise. (_bfd_generic_final_link): Cast enum to unsigned int. * merge.c (sec_merge_emit): Cast return to boolean. (merge_strings): Add casts to const unsigned char *. * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (bfd_set_section_content): Add cast to PTR in comparison. * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, simple_dummy_unattached_reloc, bfd_simple_get_relocated_section_contents): Add K&R declarations and function definitions. * srec.c (S3Forced): Initialize to false. (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. * syms.c (bfd_is_undefined_symclass): Cast return to boolean. (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in comparisons.
2002-10-25merge from gccDJ Delorie2-1/+10
2002-10-25daily updateAlan Modra1-1/+1
2002-10-25*** empty log message ***gdbadmin1-1/+1
2002-10-242002-10-24 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-2/+4
* utils.c (string_to_core_addr): Revert patch from 11 Oct.
2002-10-24 * configure.in (i[3456]86-*-linux*): Add check to disableHans-Peter Nilsson2-0/+12
${libgcj} for glibc1.
2002-10-242002-10-24 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni10-31/+63
* 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-10-24Reindented.Michal Ludvig6-44/+43
2002-10-242002-10-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig6-53/+145
* dwarf2cfi.c (struct context) (struct context_reg): Moved to dwarf2cfi.h (context_alloc, frame_state_alloc, context_cpy): Made extern instead of static, removed prototypes. * dwarf2cfi.h (struct context) (struct context_reg): New, moved from dwarf2cfi.c (context_alloc, frame_state_alloc, context_cpy): New prototypes. * x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc): Changed from static to extern. (LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET) (LINUX_SIGCONTEXT_FP_OFFSET) (LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted. (x86_64_linux_in_sigtramp, x86_64_linux_frame_chain) (x86_64_init_frame_pc, x86_64_init_extra_frame_info): New. * x86-64-tdep.c (x86_64_gdbarch_init): Several set_gdbarch_*() calls now use x86-64 specific functions instead of DWARF2 CFI ones. * x86-64-tdep.h (x86_64_linux_in_sigtramp) (x86_64_linux_frame_chain, x86_64_init_frame_pc) (x86_64_init_extra_frame_info): New prototypes.
2002-10-242002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton3-6/+8
* linespec.c: #include "parser-defs.h". Delete prototype for find_template_name_end. * Makefile.in (linespec.o): Depend on $(parser_defs_h).
2002-10-24daily updateAlan Modra1-1/+1
2002-10-24*** empty log message ***gdbadmin1-1/+1
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+47
* mi-var-cmd.exp: Add tests to verify that a -var-assign that changes a value shows up in the changelist of a -var-update. Part of fix for gdb/702. * mi1-var-cmd.exp: Ditto.
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-3/+29
* NEWS: add recent mi fixes. * varobj.c (struct varobj): Add new "updated" flag. (new_variable): Default "updated" flag to 0. (varobj_set_value): Set "updated" flag to 1 if value changes. (varobj_update): Check varobj "updated" flag before comparing old and refreshed values. Fix for PR gdb/702.
2002-10-232002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton4-4/+11
* parse.c (parse_exp_1): Use BLOCK_START. * x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END, SYMBOL_BLOCK_VALUE. * objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
2002-10-232002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton2-18/+5
* symtab.c: Delete cplusplus_hint. Delete prototype for find_template_name_end.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+12
* symtab.h: Update comment.
2002-10-232002-10-23 Michael Snyder <msnyder@redhat.com>Michael Snyder3-6/+11
* printcmd.c (address_info): Restore quotes in output. * valops.c (value_of_local): Restore quotes in error message.
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-24/+47
* mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin to make_cleanup_ui_out_tuple_begin_end. Change all remaining occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end. Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end. This is a fix for PR gdb/680. * mi-cmd-stack.c: Ditto. * mi-main.c: Ditto.
2002-10-23 * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamicJakub Jelinek2-1/+6
relocs into shared lib non-allocated reloc sections.
2002-10-23 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*Jakub Jelinek2-0/+6
sections into .rel{,a}.dyn.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-13/+29
* symtab.c (symbol_demangled_name): New function. * symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by turning most of it into a function. (symbol_demangled_name): Export.
2002-10-232002-10-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* valops.c (value_of_local): Restore quotes in error message.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-25/+39
* symtab.c (symbol_init_language_specific): New function. * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by turning most of it into a function. (symbol_init_language_specific): Export.
2002-10-232002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton2-13/+131
* dwarf2read.c (dwarf_tag_name): Add DWARF 3 names. (dwarf_attr_name): Ditto. (dwarf_type_encoding_name): Ditto. (scan_partial_symbols): Descend into DW_TAG_namespace entries. (process_die): Handle DW_TAG_namespace, DW_TAG_imported_declaration, DW_TAG_imported_module. (read_namespace): New function.
2002-10-23Add conditional/unconditional branch classification.Nick Clifton2-19/+26
2002-10-23Define SKIP_ZEROES as 32 for tic4x target in order to ensure properNick Clifton8-1428/+1596
disassembly of the valid 0-value opcode.
2002-10-23 * MAINTAINERS: Add Kaz Kojima as SH maintainer.Kaz Kojima2-0/+5
2002-10-23Add new command line option "--no-omagic" which undoes the effects of -N.Nick Clifton4-2/+30
2002-10-23 * dwarf2.c (add_line_info): Ensure that the line_info_table isAlan Modra2-20/+115
sorted even when given an out-of-order line sequence. (lookup_address_in_line_info_table): When an exact VMA match is not found, return line information with the closest VMA.
2002-10-23Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.Nick Clifton2-0/+10
2002-10-23(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): AddNick Clifton2-4/+9
only when relocating.
2002-10-23Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted intoNick Clifton2-1/+6
a GOT reloc.
2002-10-23Fix typo in last entryHans-Peter Nilsson1-1/+1
2002-10-23 * config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.Hans-Peter Nilsson3-48/+8
(tc_frob_file_before_adjust): Don't define. * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused function. (mmix_frob_file_before_adjust): Remove ineffective function.
2002-10-23 * gdb.threads/schedlock.c (args): Make unsigned.Daniel Jacobowitz2-1/+15
2002-10-232002-10-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+16
* gas/mips/branch-misc-2.d: Updated.
2002-10-23*** empty log message ***gdbadmin1-1/+1
2002-10-23daily updateAlan Modra1-1/+1