aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-04-23* config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.Thiemo Seufer2-26/+20
2004-04-232004-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-15/+25
* gdb.base/siginfo.exp: Clean up step out of signal. * gdb.base/sigstep.exp: Ditto.
2004-04-23 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,Jerome Guitton2-12/+10
use convert_typed_floating to get the appropriate format.
2004-04-23Cope with extra symbols inserted by arm-elf toolchainsNick Clifton4-0/+17
2004-04-23 * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy alsoJakub Jelinek2-3/+21
ELF_LINK_POINTER_EQUALITY_NEEDED. (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED if r_type is not R_X86_64_PC32. (elf64_x86_64_finish_dynamic_symbol): If ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of SHN_UNDEF symbols.
2004-04-232004-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-27/+27
* config/tc-mips.c (md_longopts): Remove -membedded-pic option. (OPTION_MEMBEDDED_PIC): Remove. (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL) (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS) (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64) (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH) (OPTION_ELF_BASE): Renumber. (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling. (md_show_usage): Remove mention of -membedded-pic. * doc/as.texinfo: Remove mention of -membedded-pic.
2004-04-232004-04-22 Randolph Chung <tausq@debian.org>Randolph Chung4-579/+604
* hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) (hppa_sign_extend): Add prototype. * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) (sign_extend): Rename with hppa_ prefix and make non-static. Other hppa targets will also use these functions. (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c (hppa_gdbarch_init): Remove gdbarch setting of skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline. * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) (hppa64_hpux_in_solib_call_trampoline): New functions, split from hppa_in_solib_call_trampoline. (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): Moved from hppa-tdep.c. (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline.
2004-04-232004-04-22 Randolph Chung <tausq@debian.org>Randolph Chung2-4/+53
* hppa-tdep.c (hppa_debug): New variable. (find_unwind_entry, hppa_frame_cache): Add debug output. (_initialize_hppa_tdep): Add command to set debug flag.
2004-04-23bfd/Kaz Kojima12-42/+82
* elf32-sh.c (sh_elf_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. opcodes/ * sh-dis.c (print_insn_sh): Print the value in constant pool as a symbol if it looks like a symbol. gas/testsuite/ * gas/sh/pcrel2.d: Update. * gas/sh/tlsd.d: Update. * gas/sh/tlsnopic.d: Update. * gas/sh/tlspic.d: Update. ld/testsuite/ * ld-sh/tlsbin-1.d: Update * ld-sh/tlspic-1.d: Update.
2004-04-23* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.Thiemo Seufer3-76/+43
* config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove a.out support. (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of USE_GLOBAL_POINTER_OPT.
2004-04-232004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+67
* ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and "trad-frame.h". (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD signal trampoline unwinder. (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
2004-04-232004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* opncls.c (bfd_alloc): Fix type of "wanted" in doco.
2004-04-23daily updateAlan Modra1-1/+1
2004-04-22 * hpux-core.c (hpux_core_core_file_p): Add cast in call toDave Anglin3-9/+28
make_bfd_asection. * som.c (som_set_section_contents): Constantify second argument. (hppa_som_gen_reloc_type): Abort for unsupported selectors. (som_object_setup): Rework to avoid warning. (setup_sections, som_write_fixups, bfd_section_from_som_symbol): Likewise.
2004-04-222004-04-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+174
Daniel Jacobowitz <drow@mvista.com> * gdb.threads/manythreads.c: New testcase. * gdb.threads/manythreads.exp: Ditto.
2004-04-22* config/tc-mips.c (macro): One more use of load_delay_nop.Thiemo Seufer2-2/+5
2004-04-22Add OpenBSD/powerpc support.Mark Kettenis13-6/+595
* NEWS (New native configurations): Mention OpenBSD/powerpc. * ppc-tdep.h (struct ppc_reg_offsets): New structure. (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) (ppc_collect_fpregset): New prototypes. * ppcobsd-nat.c: New file. * ppcobsd-tdep.c: New file. * ppcobsd-tdep.h: New file. * rs6000-tdep.c: Include "regset.h". (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): New functions. * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. (rs6000-tdep.o): Update dependencies. * configure.host: Add powerpc-*-openbsd. * configure.tgt: Add powerpc-*-openbsd. * config/powerpc/obsd.mh: New file. * config/powerpc/nm-obsd.h: New file. * config/powerpc/obsd.mt: New file.
2004-04-22* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,Jim Blandy5-0/+163
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2004-04-222004-04-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+8
* mips-tdep.c (heuristic_proc_start): Warning() already prefixes "Warning: ".
2004-04-22* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.Mark Kettenis2-0/+17
2004-04-22merge from gccDJ Delorie7-132/+437
2004-04-222004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+2
* frame.h (show_frame_info): Delete declaration.
2004-04-22* config/tc-mips.c (load_delay_nop): New function.Thiemo Seufer13-870/+936
(load_address, macro): Use load_delay_nop() to build a nop which can be omitted with gpr_interlocks. * gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot. * gas/mips/mips-abi32-pic.d: Likewise. * gas/mips/mips-abi32-pic2.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-gp64-fp32-pic.d: Likewise. * gas/mips/mips-gp64-fp64-pic.d: Likewise. * gas/mips/relax-swap1-mips2.d: Likewise. * gas/mips/lb-svr4pic-ilocks.d: New test. * gas/mips/mips.exp: Run it.
2004-04-22* config/tc-mips.c (hilo_interlocks, gpr_interlocks,Thiemo Seufer2-6/+5
cop_interlocks): Remove superfluous CPU entries.
2004-04-222004-04-21 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+5
* gdb.stabs/weird.exp: Accept full pathname for $binfile.
2004-04-222004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-49/+8
* arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. * m32r-tdep.c (m32r_frame_this_id): Ditto. * frv-tdep.c (frv_frame_this_id): Ditto. * avr-tdep.c (avr_frame_this_id): Ditto.