aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-07Use consistent error messages for missing files.Nick Clifton15-34/+140
Detect directories where an ordinary file is expected.
2003-11-07Fix typo in previous patch.Kevin Buettner1-1/+1
2003-11-07Handle iacc0 as a pseudo-register.Kevin Buettner2-4/+56
2003-11-07*** empty log message ***gdbadmin1-1/+1
2003-11-06daily updateAlan Modra1-1/+1
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-45/+67
* valops.c (destructor_name_p): Replace STREQN with strncmp. * top.c (command_line_input): Ditto. * objc-exp.y (yylex): Ditto. * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. * jv-exp.y (yylex): Ditto. * f-exp.y (yylex): Ditto. * event-top.c (command_line_handler): Ditto. * environ.c (get_in_environ): Ditto. (set_in_environ): Ditto. * dwarfread.c (handle_producer): Ditto. * dbxread.c (process_one_symbol): Ditto. * c-typeprint.c (c_type_print_base): Ditto. * c-exp.y (yylex): Ditto. 2003-11-06 Andrew Cagney <cagney@redhat.com> * mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with strncmp.
2003-11-062003-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+7
Reported by Jim Ingham <jingham@apple.com>: * gdb.base/annota1.exp: Match at least one occurrence of the signal handler annotation.
2003-11-062003-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+9
Jeff Johnston <jjohnstn@redhat.com> * target.c (add_target): Only set "to_xfer_partial" when NULL. (init_dummy_target): Set "to_xfer_partial".
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not REGISTER_CONVENTION.
2003-11-06 * breakpoint.c (insert_bp_location, allocate_bp_location): MakeDaniel Jacobowitz2-5/+10
static.
2003-11-06 * breakpoint.c (remove_breakpoint): Take an bp_locationDaniel Jacobowitz2-87/+90
instead of a breakpoint argument. Check the bp_location's type. Fix a reversed condition for hardware breakpoints. (insert_bp_location): Update call to remove_breakpoint. (remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS. (remove_hw_watchpoints): Likewise. (reattach_breakpoints): Likewise. (detach_breakpoints): Likewise. (delete_breakpoint): Likewise.
2003-11-06 * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.Daniel Jacobowitz2-79/+109
(beakpoint_init_inferior): Likewise. (breakpoint_here_p): Likewise. Only check addresses for software or hardware breakpoints. (breakpoint_inserted_here_p): Likewise. (breakpoint_thread_match): Likewise. Correct comment. (bpstat_have_active_hw_watchpoints): Likewise. (check_duplicates): Likewise.
2003-11-06 * breakpoints.c (insert_bp_location): New function, broken outDaniel Jacobowitz2-338/+368
from insert_breakpoints. Work on an bp_location instead of a breakpoint. (insert_breakpoints): Use it.
2003-11-06 * breakpoint.h (struct bp_location): Add section.Daniel Jacobowitz3-30/+43
(struct breakpoint): Remove section. * breakpoint.c (insert_breakpoints, remove_breakpoint) (breakpoint_here_p, breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint) (describe_other_breakpoints, check_duplicates, set_raw_breakpoint) (clear_command, delete_breakpoint, breakpoint_re_set_one): Access section through loc.
2003-11-06 * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONSDaniel Jacobowitz2-14/+14
instead of ALL_BREAKPOINTS. Check for software breakpoints only.
2003-11-06 * breakpoint.c (allocate_bp_location): Take bpt and bp_typeDaniel Jacobowitz2-2/+49
arguments. Initialize owner and type for the new breakpoint location item. (set_raw_breakpoint): Update call to allocate_bp_location.
2003-11-06Correct typo in previous entryDaniel Jacobowitz1-1/+1
2003-11-06 * breakpoint.h (struct bp_location): Add a chain pointer.Daniel Jacobowitz3-3/+62
* breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New macros. (bp_location_chain): New variable. (allocate_bp_location): New function. (set_raw_breakpoint): Use it. (delete_breakpoint): Remove ->loc from the bp_location_chain.
2003-11-06 * breakpoint.h (enum bp_loc_type, struct bp_location): New.Daniel Jacobowitz3-142/+216
(struct breakpoint): Remove address, shadow_contents, inserted, and duplicate. Add a struct bp_location. * breakpoint.c (condition_command, read_memory_nobpt) (insert_breakpoints, remove_breakpoints, remove_hw_watchpoints) (reattach_breakpoints, update_breakpoints_after_exec) (detach_breakpoints, remove_breakpoint, mark_breakpoints_out) (breakpoint_init_inferior, breakpoint_here_p) (breakpoint_inserted_here_p, deprecated_frame_in_dummy) (breakpoint_thread_match, bpstat_stop_status) (bpstat_have_active_hw_watchpoints, print_one_breakpoint) (describe_other_breakpoints, check_duplicates) (make_breakpoint_permanent, create_thread_event_breakpoint) (disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs) (set_longjmp_resume_breakpoint, mention, create_breakpoints) (watch_command_1, print_one_exception_catchpoint) (clear_command, breakpoint_re_set_one): Adjust member accesses to use the breakpoint's ->loc. (set_raw_breakpoint): Likewise. Initialize ->loc. (delete_breakpoint): Likewise. Free ->loc.
2003-11-06* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.Nick Clifton11-107/+271
(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table, dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table, mav_mvax_table, mav_dspc_table): Initialise new field. (insert_reg_alias): Initialise new field. (md_pseudo_table): Add "unreq" entry. (s_unreq): New function: Undo the effects of a previous .req. * doc/c-arm.texi: Document new pseudo op. * NEWS: Mention new feature. * testsuite/gas/arm/req.s: New test file. Check .req and .unreq psuedo ops. * testsuite/gas/arm/req.l: Expected error output from req.s test. * testsuite/gas/arm/copro.d: Set target architecture for objdump so that the test will work on architectures which cannot encode higher arm architecture types in their file headers. * testsuite/gas/arm/arm.exp: Run new req.s test. Skip thumb instruction test for PE targets which do not support thumb relocations. * testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale targets - it is no longer needed.
2003-11-06 * elf32-ppc.c (ppc_elf_install_value): Delete.Alan Modra2-197/+187
(shared_stub_entry, stub_entry): Make them arrays of ints. Remove initial branch. (ppc_elf_relax_section): Write one branch around all trampolines instead. Correct bogus R_PPC_PLTREL24 handling. Correct branch range check. Only use shared_stub_entry when shared. Test that branches can reach stubs. Write trampolines out at end so that just one realloc is used. Handle little-endian mode. Move relevant code from ppc_elf_install_value to here. (ppc_elf_relocate_section): Move code handling RELAX32 from ppc_elf_install_value to here.
2003-11-06Fix 'the the' typoNick Clifton12-1924/+1319
2003-11-062003-11-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+8
* m68k-opc.c (m68k_opcodes): Reorder "fmovel".
2003-11-062003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-32/+12
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete macro. * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro. * config/i386/tm-cygwin.h (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro. * config/powerpc/tm-linux.h (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro. (at_subroutine_call_instruction_target): Delete declaration. * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro. * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro. * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
2003-11-06 * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.Alan Modra2-20/+50
(ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate cases. (shared_stub_entry): Correct opcode. (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs. (ppc_elf_relocate_section): Handle them.
2003-11-06 * ppc.h (R_PPC_RELAX32PC): Define.Alan Modra2-6/+11
2003-11-062003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney18-75/+45
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with "struct bfd_section" and "struct bfd". * target.h (struct section_table): Ditto. * rs6000-nat.c (xcoff_relocate_core): Ditto. * solib-svr4.c (elf_locate_base): Ditto. * pa64solib.c (dld_cache_t): Ditto. * objfiles.h (struct obj_section): Ditto. * objfiles.c (add_to_objfile_sections): Ditto. * exec.c (bfdsec_to_vmap): Ditto. (add_to_section_table): Ditto. (build_section_table): Ditto. * corelow.c (get_core_register_section): Ditto. * coffread.c (find_linenos): Ditto. * elfread.c (elf_interpreter): Delete #if0'd function. * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS. * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro. * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro. * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro. * arch-utils.h (generic_cannot_extract_struct_value_address): Delete declaration. * wince.c (_initialize_wince): Fix multi-line string. * ia64-tdep.c (floatformat_valid): Convert to ISO C.
2003-11-062003-11-05 Michael Chastain <mec@shout.net>Michael Chastain2-1/+12
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
2003-11-06*** empty log message ***gdbadmin1-1/+1
2003-11-052003-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-4/+9
* top.c (execute_command): Fix broken logic for command execution while inferior is running in async mode.
2003-11-05* dwarf2-frame.c (execute_cfa_program): Mark register asMark Kettenis2-0/+6
REG_SAVED_REG for DW_CFA_register opcode.
2003-11-05daily updateAlan Modra1-1/+1
2003-11-05* amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset ofMark Kettenis2-3/+8
%rsp, %rip and %eflags to match ABI-change.
2003-11-052003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-35/+14
* ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field. (ia64_gdbarch_init): Don't bother calculating the os. Instead use the gdbarch_info struct and look at the osabi field. Also use gdbarch_list_lookup_by_info() to look for a candidate gdbarch.
2003-11-05 * frv-tdep.c (frv_register_byte): Delete.Kevin Buettner2-31/+56
(frv_extract_return_value, frv_store_return_value) (frv_extract_struct_value_address): Don't call frv_register_byte(). Convert to non-deprecated form. (frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte(). Convert calls to set_gdbarch_deprecated_extract_return_value(), set_gdbarch_deprecated_store_return_value(), and set_gdbarch_deprecated_extract_struct_value_address() into non-deprecated forms.
2003-11-052003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-22/+14
* mips-tdep.c (mips_dump_tdep): Do not print PRINT_EXTRA_FRAME_INFO. * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO): Rename PRINT_EXTRA_FRAME_INFO. * mips-tdep.c (mips_print_extra_frame_info): Delete function. * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro. (mips_print_extra_frame_info): Delete declaration. * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
2003-11-052003-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-8/+6
* coffread.c (coff_symtab_read): Remove passing of info parameter to prim_record_minimal_symbol_and_info.
2003-11-052003-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-14/+5
* coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use. (decode_base_type): Delete ifdeffed out code.
2003-11-05 * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and returnAlan Modra36-153/+114
updated section in case of merged section. * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration. * elf-hppa.h (elf_hppa_relocate_section): Adjust call. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section) Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol section for reloc output. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value return value. * elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check sec->id.
2003-11-05 * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.Alan Modra2-11/+112
(elf32_d10v_relocate_section): Use them to handle -r reloc adjustments, and in place of _bfd_elf_rela_local_sym.
2003-11-052003-11-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/m68k/mcf-mov3q.d: Support 64bit BFD.
2003-11-05*** empty log message ***gdbadmin1-1/+1
2003-11-04 * cpu-iq2000.c (arch_info_struct): Warning fix.Alan Modra2-15/+18
2003-11-04 * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.Alan Modra2-36/+81
(elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on weakdefs. (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS. (elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef NON_GOT_REF. (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with non-default visibility. (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and SYMBOL_CALLS_LOCAL.
2003-11-04 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only doAlan Modra2-1/+7
pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. (pr_sym): Move inside #ifdef DLL_SUPPORT.
2003-11-04 * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.Alan Modra2-1/+7
2003-11-04 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): ZapAlan Modra2-45/+47
unused variable.
2003-11-04 * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.Alan Modra2-0/+5
2003-11-04daily updateAlan Modra1-1/+1