summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.Mark Kettenis2003-11-072-1/+4
|
* * fbsd-proc.c (read_mapping): Use sscanf and fgets instead ofMark Kettenis2003-11-072-12/+16
| | | | fscanf.
* * fbsd-proc.c: Fix formatting.Mark Kettenis2003-11-072-8/+9
|
* 2003-11-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-072-1/+6
| | | | | * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
* Fix typo in previous patch.Kevin Buettner2003-11-071-1/+1
|
* Handle iacc0 as a pseudo-register.Kevin Buettner2003-11-072-4/+56
|
* *** empty log message ***gdbadmin2003-11-071-1/+1
|
* daily updateAlan Modra2003-11-061-1/+1
|
* 2003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-0615-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-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-062-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-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-062-1/+6
| | | | | * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
* 2003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-062-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-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-062-1/+6
| | | | | * stack.c (return_command): Warn when STRUCT_CONVENTION, and not REGISTER_CONVENTION.
* * breakpoint.c (insert_bp_location, allocate_bp_location): MakeDaniel Jacobowitz2003-11-062-5/+10
| | | | static.
* * breakpoint.c (remove_breakpoint): Take an bp_locationDaniel Jacobowitz2003-11-062-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.
* * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.Daniel Jacobowitz2003-11-062-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.
* * breakpoints.c (insert_bp_location): New function, broken outDaniel Jacobowitz2003-11-062-338/+368
| | | | | | from insert_breakpoints. Work on an bp_location instead of a breakpoint. (insert_breakpoints): Use it.
* * breakpoint.h (struct bp_location): Add section.Daniel Jacobowitz2003-11-063-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.
* * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONSDaniel Jacobowitz2003-11-062-14/+14
| | | | instead of ALL_BREAKPOINTS. Check for software breakpoints only.
* * breakpoint.c (allocate_bp_location): Take bpt and bp_typeDaniel Jacobowitz2003-11-062-2/+49
| | | | | | arguments. Initialize owner and type for the new breakpoint location item. (set_raw_breakpoint): Update call to allocate_bp_location.
* Correct typo in previous entryDaniel Jacobowitz2003-11-061-1/+1
|
* * breakpoint.h (struct bp_location): Add a chain pointer.Daniel Jacobowitz2003-11-063-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.
* * breakpoint.h (enum bp_loc_type, struct bp_location): New.Daniel Jacobowitz2003-11-063-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.
* * elf32-ppc.c (ppc_elf_install_value): Delete.Alan Modra2003-11-062-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.
* Fix 'the the' typoNick Clifton2003-11-062-471/+467
|
* 2003-11-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-11-062-4/+8
| | | | * m68k-opc.c (m68k_opcodes): Reorder "fmovel".
* 2003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-067-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.
* * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.Alan Modra2003-11-062-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.
* * ppc.h (R_PPC_RELAX32PC): Define.Alan Modra2003-11-062-6/+11
|
* 2003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-0618-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-05 Michael Chastain <mec@shout.net>Michael Chastain2003-11-062-1/+12
| | | | * gdb.mi/pthreads.c (routine): Handle early return from sleep.
* *** empty log message ***gdbadmin2003-11-061-1/+1
|
* 2003-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-052-4/+9
| | | | | * top.c (execute_command): Fix broken logic for command execution while inferior is running in async mode.
* * dwarf2-frame.c (execute_cfa_program): Mark register asMark Kettenis2003-11-052-0/+6
| | | | REG_SAVED_REG for DW_CFA_register opcode.
* daily updateAlan Modra2003-11-051-1/+1
|
* * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset ofMark Kettenis2003-11-052-3/+8
| | | | %rsp, %rip and %eflags to match ABI-change.
* 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-052-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.
* * frv-tdep.c (frv_register_byte): Delete.Kevin Buettner2003-11-052-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-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-055-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-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-052-8/+6
| | | | | * coffread.c (coff_symtab_read): Remove passing of info parameter to prim_record_minimal_symbol_and_info.
* 2003-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-11-052-14/+5
| | | | | * coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use. (decode_base_type): Delete ifdeffed out code.
* * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and returnAlan Modra2003-11-0536-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.
* * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.Alan Modra2003-11-052-11/+112
| | | | | (elf32_d10v_relocate_section): Use them to handle -r reloc adjustments, and in place of _bfd_elf_rela_local_sym.
* *** empty log message ***gdbadmin2003-11-051-1/+1
|
* * cpu-iq2000.c (arch_info_struct): Warning fix.Alan Modra2003-11-042-15/+18
|
* * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.Alan Modra2003-11-042-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.
* daily updateAlan Modra2003-11-041-1/+1
|
* 2003-11-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-11-044-383/+22
| | | | | | | | | | | | | | | | * symtab.c (find_active_alias): Delete function. (lookup_block_symbol): Delete alias code. * stabsread.c (resolve_live_range): Delete function. (add_live_range): Delete function. (resolve_symbol_reference): Delete function. (define_symbol): Delete live range and alias code. (scan_file_globals): Delete alias code. * symtab.h (SYMBOL_RANGES): Delete macro. (struct range_list): Delete structure. (struct symbol): Delete field "ranges". (SYMBOL_ALIASES): Delete macro. (struct alias_list): Delete structure. (struct symbol): Delete field "aliases".
* 2003-11-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-11-042-2/+7
| | | | | * MAINTAINERS: Remove myself as owner of breakpoints and of sparc/solaris.
* * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.Alan Modra2003-11-0433-34/+44
| | | | | | | | | * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.