aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-03* i386-interix-nat.c, i386-interix-tdep.c,Mark Kettenis7-593/+8
config/i386/nm-interix.h, config/i386/interix.mh, config/i386/interix.mt: Remove files. * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove dependencies.
2004-05-03* m68k-tdep.h (struct gdbarch_tdep): Add memberMark Kettenis5-152/+220
struct_value_regnum. (m68k_svr4_init_abi): New prototype. * m68k-tdep.c: Include "floatformat.h". Add comment about all the different calling conventions. (m68k_extract_return_value): Remove code dealing with single-field structs. (m68k_store_return_value): Remove code dealing with single-field structs. Correctly store return values of 5, 6, 7 or 8 bytes. (m68k_extract_struct_value_address): Remove function. (m68k_svr4_extract_return_value,m68k_svr4_store_return_value) (m68k_reg_struct_return_p, m68k_return_value) (m68k_svr4_return_value): New functions. (m68k_use_struct_convention): Remove function. (m68k_push_dummy_call): Use new struct_value_regnum member of `struct gdbarch_tdep' instead of hardcoded register number to store STRUCT_ADDR. (m68k_svr4_init_abi): New function. (m68k_gdbarch_init): Don't set extract_return_value, store_return_values, deprecated_extract_struct_value_address and use_struct_convention. Set return_value instead. Initialize new struct_value_regnum member of `struct gdbarch_tdep'. * m68klinux-tdep.c: Update copyright year. (m68k_linux_extract_return_value, m68k_linux_store_return_value) (m68k_linux_extract_struct_value_address): Remove function. (m68k_linux_init_abi): Don't set extract_return_value, store_return_values, deprecated_extract_struct_value_address and use_struct_convention. Call m68k_svr4_init_abi but override the new struct_value_regnum member of `struct gdbarch_tdep'. * Makefile.in (m68k-tdep.o): Update dependencies.
2004-05-03 * dwarf2read.c (line_header): Add new included_p field inJoel Brobecker2-15/+185
field file_names. (partial_die_info): New field has_stmt_list. New field line_offset. (dwarf2_create_include_psymtab): New function. (dwarf2_build_include_psymtabs): New function. (add_file_name): Add forward declaration. Initialize new field. (dwarf_decode_lines): Add new parameter. Enhance this procedure to be able to determine the list of files included by the given unit, and build their associated psymtabs. (dwarf2_build_psymtabs_hard): Build the psymtabs for the included files as well. (psymtab_to_symtab_1): Build the symtabs of all dependencies as well. (read_file_scope): Update call to dwarf_decode_lines. (read_partial_die): Handle DW_AT_stmt_list attributes.
2004-05-03 * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excludedAlan Modra2-9/+30
SEC_MERGE sections. * elflink.c (elf_link_input_bfd): Adjust output reloc index for those against discarded link-once and SEC_MERGE section symbols.
2004-05-032004-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+9
* config/obj-elf.c (obj_elf_change_section): Allow the ".note.GNU-stack" section has SHF_EXECINSTR.
2004-05-032004-05-02 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-459/+397
Unfix PR gdb/1626. * configure.in: Revert special case for osf5.*. * configure: Regenerate.
2004-05-03daily updateAlan Modra1-1/+1
2004-05-02bfd/H.J. Lu5-36/+84
2004-05-02 H.J. Lu <hongjiu.lu@intel.com> * section.c (bfd_get_section_by_name_if): New. * bfd-in2.h: Regenerated. gas/ 2004-05-02 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): Return bfd_boolean. (obj_elf_change_section): Call bfd_get_section_by_name_if instead of bfd_map_over_sections.
2004-05-02Move the symbol-file-from-memory functions into their own file.Jim Blandy7-100/+233
* symfile-mem.c, symfile-mem.h: New files. * symfile.c (symbol_file_add_from_bfd): New function. (symbol_file_add): Call symbol_file_add_from_bfd. (symbol_file_add_from_memory, add_symbol_file_from_memory_command): Moved to symfile-mem.c. (_initialize_symfile): Move definition of add-symbol-file-from-memory command to symfile-mem.c. * symfile.h (symbol_file_add_from_bfd): New declaration. * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. * config/powerpc/linux.mt (TDEPFILES): Same. * Makefile.in (SFILES): Add symfile-mem.c. (symfile_mem_h): New variable. (HFILES_NO_SRCDIR): Add symfile-mem.h. (symfile-mem.o): New rule.
2004-05-02 * som.c (som_bfd_is_group_section): Define.Alan Modra2-1/+6
2004-05-022004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-37/+27
* breakpoint.c (insert_bp_location): Use get_frame_id, and frame_find_by_id instead of frame_relative_level. (do_enable_breakpoint): Ditto. * thread.c: Update copyright. (info_threads_command): Ditto, simplify.
2004-05-02daily updateAlan Modra1-1/+1
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-128/+121
* frame.c (deprecated_generic_get_saved_register): Delete function, moved to "xstormy16-tdep.c". * xstormy16-tdep.c (xstormy16_get_saved_register): Inline deprecated_generic_get_saved_register from "frame.c". (xstormy16_frame_saved_register): Call xstormy16_get_saved_register. * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make static. * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete. * frame.h (deprecated_generic_get_saved_register): Delete.
2004-05-012004-05-01 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+17
* dwarfread.c: Update documentation on the state of dwarf-1.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-49/+9
* stack.c (select_frame_command): Delete call to frame_relative_level. (print_frame, set_backtrace_limit_command, backtrace_limit_info): Delete #if0 code. (frame_info): Do not print FRAMELESS. (print_block_frame_labels): Replace DEPRECATED_STREQ. (catch_info): Delete #if0 code.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-12/+25
* frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME. * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead of frame_relative_level. * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type to SENTINEL_FRAME. * frame.h (enum frame_type): Add SENTINEL_FRAME. * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to frame_relative_level.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-46/+27
* frame.h (deprecated_set_frame_type): Delete declaration. * frame.c (deprecated_set_frame_type): Delete function, update comments.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-123/+23
* gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete. * gdbarch.h, gdbarch.c: Re-generate. * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp. (shnbsd_pc_in_sigtramp): Delete. * i386-interix-tdep.c (i386_interix_init_abi): Do not set pc_in_sigtramp. * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set pc_in_sigtramp. * frame.h: Update comments. * ppc-linux-tdep.c: Update comments. * breakpoint.c (bpstat_what): Update comments. Index: doc/ChangeLog 2004-05-01 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of DEPRECATED_PC_IN_SIGTRAMP.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+6
* Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix m68klinux-tdep.o's dependencies, were previously added to m68klinux-nat.o.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-11/+26
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp. * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp. * alphafbsd-tdep.c (alphafbsd_init_abi): Update. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-98/+117
* Makefile.in (m68klinux-nat.o): Update dependencies. * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". (m68k_linux_sigtramp_frame_cache) (m68k_linux_sigtramp_frame_this_id) (m68k_linux_sigtramp_frame_prev_register) (m68k_linux_sigtramp_frame_unwind) (m68k_linux_sigtramp_frame_sniffer) (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable names, use trad-frame.h. * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info. (struct m68k_sigtramp_info): Delete. * m68k-tdep.c (m68k_sigtramp_frame_cache) (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register) (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer) (m68k_gdbarch_init): Delete all the sigtramp code, moved to "m68klinux-tdep.c".
2004-05-01 * section.c (bfd_make_section_anyway): Copy the wholeAlan Modra2-1/+6
bfd_hash_entry, not just "next" from existing entry.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+5
* infrun.c (check_sigtramp2): Delete check for DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
2004-05-01* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.Mark Kettenis2-0/+8
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-126/+110
* frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". (frv_linux_sigtramp_frame_cache) (frv_linux_sigtramp_frame_this_id) (frv_linux_sigtramp_frame_prev_register) (frv_linux_sigtramp_frame_unwind) (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c, include "linux" in function and variable names, directly call frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use the latest trad-frame code. (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp * Makefile.in (frv-linux-tdep.o): Update dependencies. * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration. * frv-tdep.c (frv_sigtramp_frame_cache) (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to frv-linux-tdep.c. (frv_gdbarch_init): Do not append a sigtramp sniffer. (struct gdbarch_tdep): Delete sigcontext_reg_addr. (frv_set_sigcontext_reg_addr): Delete function.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-162/+28
* gdbarch.sh (DEPRECATED_SIGTRAMP_START) (DEPRECATED_SIGTRAMP_END): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (legacy_pc_in_sigtramp): Simplify. * config/vax/tm-vaxbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. * config/m68k/tm-nbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define.
2004-05-01* dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrelMark Kettenis2-0/+11
encondings. Fixes PR gdb/1628.
2004-05-01* dwarf2-frame.c (execute_cfa_program): Complain if we encounter aMark Kettenis2-5/+17
DW_CFA_restore state without a matching DW_CFA_remember_state instead of aborting. Fixes PR backtrace/1589.
2004-05-01 * MAINTAINERS: Add self as AIX maintainer.Joel Brobecker2-1/+7
Update my e-mail address in write-after-approval section.
2004-05-012004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-27/+4
* frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP. (legacy_get_prev_frame): Ditto.
2004-05-012004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-142/+9
* mips-tdep.c (mips_pc_in_sigtramp): Delete. (mips_gdbarch_init): Do not set pc_in_sigtramp. * mipsread.c (sigtramp_address): Delete extern variable. (mipscoff_new_init): Delete reference. * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables. (fixup_sigtramp): Delete function. * config/mips/tm-mips.h (sigtramp_address, sigtramp_end) (fixup_sigtramp): Delete declarations.
2004-05-012004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+6
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set deprecated_pc_in_sigtramp. (ppcnbsd_pc_in_sigtramp): Delete function.
2004-05-01daily updateAlan Modra1-1/+1
2004-04-30* config/m68k/nm-nbsd.h: Tweak comments.Mark Kettenis3-8/+15
* config/m68k/nm-nbsdaout.h: Likewise.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-7/+8
* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp. * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
2004-04-30Add OpenBSD/m68k support.Mark Kettenis11-0/+457
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+5
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
2004-04-30* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.Mark Kettenis3-6/+5
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
2004-04-30 Revert 2004-04-16 change.Brian Ford4-18/+11
* i386-tdep.c (i386_gdbarch_init): Fix comment typos. (i386_coff_init_abi): Remove. * i386-tdep.h (i386_coff_init_abi): Remove. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-17/+4
* blockframe.c (find_pc_partial_function): Delete use of DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and DEPRECATED_SIGTRAMP_END.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-19/+6
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-79/+19
* defs.h (deprecated_inside_entry_file): Delete declaration. * blockframe.c (deprecated_inside_entry_file): Delete function. (legacy_frame_chain_valid): Delete call. * sh64-tdep.c (sh64_frame_chain): Delete call. * objfiles.h: Update comments. * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete call. * frame.c (get_prev_frame): Delete call, update comments.
2004-04-30 * MAINTAINERS (Write After Approval): Add myself.Brian Ford2-0/+5
2004-04-30gas/H.J. Lu7-25/+92
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): New function. (obj_elf_change_section): Support multiple sections with same name. gas/testsuite/ 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Remove group1, add group1a and group1b for section group. * gas/elf/group1a.d: New file. * gas/elf/group1b.d: Likewise. * gas/elf/group1.e: Removed.
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+37
* elf.c (bfd_section_from_shdr): Maintain the section order in a section group. (special_sections): Add ".note.GNU-stack". (elf_fake_sections): Handle section group for relocatable link..
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+45
* section.c (bfd_sections_find_if): New. * bfd-in2.h: Regenerated.
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+7
* readelf.c (process_section_headers): Use %3lu on sh_info.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-95/+21
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. * gdbarch.h, gdbarch.c: Re-generate. * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE code.
2004-04-30 * ldlang.c (unique_section_p): Pass section parm, return true onAlan Modra4-4/+19
group sections. (output_section_callback): Adjust. * ldlang.h (unique_section_p): Update prototype. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2004-04-30 * section.c (bfd_make_section_anyway): Add all sections to hash tab.Alan Modra35-36/+169
* elf-bfd.h (bfd_elf_is_group_section): Declare. * elf.c (bfd_elf_is_group_section): New function. * elfxx-target.h (bfd_elfNN_bfd_is_group_section * section.c (bfd_generic_is_group_section): New function. * targets.c (struct bfd_target): Add _bfd_is_group_section field. (BFD_JUMP_TABLE_LINK): Adjust. * aout-adobe.c (aout_32_bfd_is_group_section): Define. * aout-target.h (MY_bfd_is_group_section): Define. * aout-tic30.c (MY_bfd_is_group_section): Define. * bfd.c (bfd_is_group_section): Define. * binary.c (binary_bfd_is_group_section): Define. * bout.c (b_out_bfd_is_group_section): Define. * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. * coffcode.h (coff_bfd_is_group_section): Define. * i386msdos.c (msdos_bfd_is_group_section): Define. * i386os9k.c (os9k_bfd_is_group_section): Define. * ieee.c (ieee_bfd_is_group_section): Define. * ihex.c (ihex_bfd_is_group_section): Define. * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. * mmo.c (mmo_bfd_is_group_section): Define. * nlm-target.h (nlm_bfd_is_group_section): Define. * oasys.c (oasys_bfd_is_group_section): Define. * pef.c (bfd_pef_bfd_is_group_section): Define. * ppcboot.c (ppcboot_bfd_is_group_section): Define. * srec.c (srec_bfd_is_group_section): Define. * tekhex.c (tekhex_bfd_is_group_section): Define. * versados.c (versados_bfd_is_group_section): Define. * vms.c (vms_bfd_is_group_section): Define. * xsym.c (bfd_sym_bfd_is_group_section): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.