aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-04-29Add support for generating DWARF2 debug sections in the x86 PE portNick Clifton9-28/+152
2004-04-29 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+13
* i386-tdep.c (i386_skip_prologue): follow the last jump only if the function begins with a branch instruction.
2004-04-29* i386-tdep.c: Fix spelling mistakes.Mark Kettenis2-13/+17
2004-04-29merge from gccDJ Delorie2-5/+6
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney6-139/+176
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-04-29 * pe-dll.c: Revert changes accidentally committed 2004-03-08.Alan Modra2-13/+17
(fill_edata): Correct pointer arithmetic.
2004-04-29[ bfd/ChangeLog ]Chris Demetriou8-414/+61
2004-04-28 Chris Demetriou <cgd@broadcom.com> * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. [ gas/ChangeLog ] 2004-04-28 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) (load_address, macro, mips_ip, md_parse_option) (mips_force_relocation, mips_validate_fix, md_apply_fix3) (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all embedded-PIC handling, and update comments. (SWITCH_TABLE): Remove. * config/tc-mips.h (DIFF_EXPR_OK): Delete. (enum mips_pic_level): Remove EMBEDDED_PIC. (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. (TC_FORCE_RELOCATION): Update comment. * ecoff.c (ecoff_build_lineno): Add comment about some code that might be safe to remove now that MIPS embedded-PIC is gone.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung12-3/+879
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.
2004-04-292004-04-28 Randolph Chung <tausq@debian.org>Randolph Chung2-26/+64
* hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp return values. (hppa32_push_dummy_call): Fix small struct and floating point argument passing, and make sure the stack frame is properly aligned.
2004-04-29daily updateAlan Modra1-1/+1
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+7
* stack.c (print_stack_frame): Fix description.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 onMark Kettenis2-7/+5
x86_64-*-*.
2004-04-28 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common andDave Anglin7-65/+250
dup_common fields. (setup_sections): Use som_subspace_dictionary_record struct instead subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is is_comdat, is_common or dup_common. (som_prep_headers): Use som_subspace_dictionary_record struct. Set is_comdat, is_common and dup_common in section subspace_dict from copy_data. (som_begin_writing): Use som_subspace_dictionary_record struct. (som_finish_writing): Likewise. (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, is_common and dup_common flags in info for symbol. Add comment regarding linker support for these fields. Slightly reorganize function. (som_build_and_write_symbol_table): Set is_comdat, is_common and dup_common fields in symbol table from symbol info. (bfd_som_set_subsection_attributes): Add comdat, common and dup_common arguments. Set corresponding fields in copy_data. Change all callers. (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library symbol table. (som_vec): Add SEC_LINK_ONCE to applicable section flags. * som.h (som_subspace_dictionary_record): Define. (som_copyable_section_data_struct): Add is_comdat, is_common and dup_common fields. (som_section_data_struct): Use som_subspace_dictionary_record struct instead of subspace_dictionary_record. (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. * config/obj-som.c (obj_som_init_stab_section): Add new arguments in call to obj_set_subsection_attributes. (obj_som_init_stab_section): Likewise. * config/tc-hppa.c (default_subspace_dict): Add comdat field. (pa_def_subspaces): Provide comdat default. (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and not SEC_IS_COMMON if section is comdat, common or dup_common. Update calls to create_new_subspace and update_subspace to pass comdat flag. (create_new_subspace, update_subspace): Add new comdat argument. Use it in calls to obj_set_subsection_attributes. * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter and use of comdat, common and dup_comm parameters.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* NEWS: Mention gdb/gdbserver/configure execute permission changed. PR server/519.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-91/+102
* stack.c (print_stack_frame_stub): Delete declaration. (struct print_stack_frame_args, print_stack_frame) (print_frame_info, print_frame): Replace "source" with print what. Replace "print" with "print_level". Replace "args" with "print_args". * frame.h (show_and_print_stack_frame, print_stack_frame) (print_frame_info): Update declarations. * stack.c (select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Update calls - use get_selected_frame, pass "enum print_what" for source, do not call frame_relative_level. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * ocd.c (ocd_start_remote): Ditto. * mi/mi-main.c (mi_cmd_exec_return): Ditto. * infrun.c (normal_stop): Ditto. * inflow.c (kill_command): Ditto. * infcmd.c (finish_command): Ditto. * corelow.c (core_open): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * thread.c (info_threads_command, info_threads_command) (restore_current_thread, do_captured_thread_select): Ditto. * ada-tasks.c (task_command): Ditto.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 onMark Kettenis2-4/+5
i*86-*-*.
2004-04-28* gdb.base/call-sc.exp (start_scalars_test): Fix regularMark Kettenis2-1/+6
expression that checks the return type.
2004-04-28daily updateAlan Modra1-1/+1
2004-04-27 * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_sizeBob Wilson2-9/+23
if set. Check reloc_done flag before applying relocations. Use output addresses, both when applying relocations and when comparing against the specified section. (elf_xtensa_relocate_section): Use output address to check if dynamic reloc is in a literal pool. Set section's reloc_done flag.
2004-04-27merge from gcc:DJ Delorie1-0/+6
2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for Ada compilation. Fix acx_cv_cc_gcc_supports_ada spelling.
2004-04-27merge from gcc:DJ Delorie7-82/+213
2004-04-27 Paolo Bonzini <bonzini@gnu.org> Revert: 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets.
2004-04-272004-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+20
* elf32-sh64.c (elf_backend_section_flags): New. Defined. (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges section. (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges section.
2004-04-27 * objcopy.c (copy_usage, strip_usage): Fix spelling.Alan Modra2-2/+6
2004-04-27binutils/H.J. Lu11-3/+193
2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (do_section_groups): New. (options): Add --section-groups/-g. (usage): Mention --section-groups/-g. (parse_args): Support --section-groups/-g. (get_group_flags): New. (process_section_groups): New. (process_object): Call process_section_groups. gas/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_change_section): Check if the old group name is NULL before comparison. gas/testsuite/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add group0a, group0b and group1 for section group. * gas/elf/group0.s: New file. * gas/elf/group0a.d: Likewise. * gas/elf/group0b.d: Likewise. * gas/elf/group1.e: Likewise. * gas/elf/group1.s: Likewise.
2004-04-27 * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assignAlan Modra7-12/+25
structure field removed in 2004-04-24 patch. * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): Constify hdr arg. * elf32-arm.h (elf32_arm_section_flags): Likewise. * elf64-alpha.c (elf64_alpha_section_flags): Likewise. * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section field before calling elf_backend_section_flags.
2004-04-27daily updateAlan Modra1-1/+1
2004-04-26merge from gccDJ Delorie3-43/+79
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg5-3/+39
* frame.c: Include "observer.h". (frame_observer_target_changed): New function. (_initialize_frame): Attach target_changed observer. * regcache.c: Include "observer.h". (regcache_observer_target_changed): New function. (_initialize_regcache): Attach target_changed observer. * valops.c: Include "observer.h". (value_assign): Notify target_changed event when modifying register. * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-0/+8
* observer.texi (GDB Observers): Add target_changed event.
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg4-14/+49
From Paul Koning <pkoning@equallogic.com>: * breakpoint.c (free_valchain): New function. (insert_bp_location, delete_breakpoint): Use free_valchain. (remove_breakpoint): Do not remove the valchain. (bpstat_stop_status): If not stopped by watchpoint, skip watchpoints when generating stop status list. * infrun.c (handle_inferior_event): Make stepped_after_stopped_by_watchpoint a global variable. * remote.c (remote_stopped_data_address): Return watch data address rather than zero if stepped_after_stopped_by_watchpoint is set.
2004-04-252004-04-25 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-587/+674
Fix PR gdb/1626. * configure.in: Check for curses after termcap. On osf5.*, do not check for ncurses. * configure: Regenerate.
2004-04-25* ppcobsd-nat.c: Include "ppc-tdep.h".Mark Kettenis3-1/+5
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2004-04-25* stack.c (return_command): Use CHECK_TYPEDEF on the return type.Mark Kettenis2-0/+6
Fixes PR tdep/1623 and PR tdep/1624.
2004-04-24[ bfd/ChangeLog ]Chris Demetriou7-138/+43
2004-04-24 Chris Demetriou <cgd@broadcom.com> * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. (bfd_elf32_bfd_reloc_type_lookup): Remove cases for BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, and BFD_RELOC_32_PCREL. (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. (mips_elf_next_relocation): Move comment about matching HI/LO relocations to... (_bfd_mips_elf_relocate_section): Here. Remove handling for R_MIPS_GNU_REL_HI16. [ include/elf/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16) (R_MIPS_GNU_REL_HI16): Remove. (R_MIPS_GNU_REL16_S2): Update comment. [ ld/testsuite/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * ld-elf/merge.d: XFAIL on all MIPS targets.
2004-04-242004-04-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-309/+5
* xmodem.h, xmodem.c: Remove files. * Makefile.in: Remove references to xmodem.h, xmodem.c.
2004-04-24 * ld-powerpc/tlsexe32.d: Update.Alan Modra3-8/+5
* ld-powerpc/tlsso32.d: Update.
2004-04-24 * objdump.c (disassemble_section): Don't disassemble sectionsAlan Modra2-1/+7
without SEC_HAS_CONTENTS.
2004-04-242004-04-23 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+5
* config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
2004-04-242004-04-23 Randolph Chung <tausq@debian.org>Randolph Chung2-3/+91
* hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder for handling stackless frames. (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
2004-04-24[ bfd/ChangeLog ]Chris Demetriou10-1269/+93
2004-04-23 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) (mips_switch_reloc, mips_read_relocs, mips_relax_section) (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, and update comments to reflect current usage. (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, and MIPS_R_SWITCH, as well as several empty entries. Update comment for MIPS_R_PCREL16. (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation type number to be MIPS_R_PCREL16. (mips_relocate_section): Remove support for link-time relaxation of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. * ecoff.c (ecoff_indirect_link_order): Remove support for link-time relaxation of branches used by embedded-PIC. * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC related members, update comment. * pe-mips.c: Remove disabled (commented-out and #if 0'd) code related to embedded-PIC. * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove initialization of now-removed 'adjust' member of 'struct ecoff_debug_info'. [ include/coff/ChangeLog ] 2004-04-23 Chris Demetriou <cgd@broadcom.com> * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove (MIPS_R_PCREL16): Update comment. * ecoff.h (struct ecoff_value_adjust): Remove structure. (struct ecoff_debug_info): Remove 'adjust' member.
2004-04-242004-04-23 Randolph Chung <tausq@debian.org>Randolph Chung2-19/+82
* hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind starts at a pc before the frame is created.
2004-04-24oops, fix date on my last entry (2004-04-23)Chris Demetriou1-1/+1
2004-04-242004-04-23 Chris Demetriou <cgd@broadcom.com>Chris Demetriou7-245/+10
* ld-mips-elf/reloc-3-r.d: Remove, as part of MIPS -membedded-pic removal. * ld-mips-elf/reloc-3-srec.d: Likewise. * ld-mips-elf/reloc-3.ld: Likewise. * ld-mips-elf/reloc-3a.s: Likewise. * ld-mips-elf/reloc-3b.s: Likewise. * ld-mips-elf/mips-elf.exp: Don't run now-removed tests.
2004-04-242004-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-24/+4
* elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove.
2004-04-24daily updateAlan Modra1-1/+1
2004-04-232004-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+575
* gdb.base/call-sc.exp: New test of scalar call/return values. * gdb.base/call-sc.c: Ditto.
2004-04-23 * ChangeLog-2002: Fix year in one of the ChangeLog entries.Joel Brobecker2-1/+5
2004-04-232004-04-21 Philip Blundell <pb@nexus.co.uk>Phil Blundell2-1/+10
* elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 relocs for locally defined symbols during -shared final link. (elf32_arm_final_link_relocate): Likewise.
2004-04-232004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jeff Johnston2-0/+6
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-232004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+28
* gdb.threads/manythreads.c: Add copyright notice.