aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+4
* arch-utils.h, arch-utils.c: Fix typo in comment.
2003-11-10fix changelog tipo.Andrew Cagney1-1/+2
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-37/+8
* arch-utils.c (deprecated_select_gdbarch_hack): Delete function. (gdbarch_from_bfd): Call gdbarch_find_by_info. (set_gdbarch_from_file): Call "deprecated_select_gdbarch_hack".
2003-11-10 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.Corinna Vinschen2-8/+8
Don't run tests if nofileio flag is given.
2003-11-10Fix changelog tipo.Andrew Cagney1-1/+1
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-186/+285
* arch-utils.c (gdbarch_update_p): New function. * gdbarch.sh (gdbarch_update_p): Delete function. (find_arch_by_info, gdbarch_find_by_info): New functions. (deprecated_current_gdbarch_set_hack): New function. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-107/+67
* gdbarch.sh (clear_gdbarch_swap): Delete function. (swapout_gdbarch_swap): Delete function. (swapin_gdbarch_swap): Delete function. (init_gdbarch_swap): Delete function. (initialize_non_multiarch): Delete function. (current_gdbarch_swap_in_hack): New function. (current_gdbarch_swap_out_hack): New function. (current_gdbarch_swap_init_hack): New function. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-44/+61
* gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch" parameter to "current_gdbarch". Add comment explaining why. (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format. (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-59/+9
* config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros. * config/s390/nm-linux.h (KERNEL_U_ADDR): Define. * config/s390/xm-linux.h: Delete file. * config/m88k/xm-delta88v4.h: Delete stray.
2003-11-10*** empty log message ***gdbadmin1-1/+1
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-64/+67
* Makefile.in (arch-utils.o): Update dependencies. * arch-utils.c: Include "osabi.h". (gdbarch_info_fill): New function. * arch-utils.h (gdbarch_info_fill): Declare. * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill". * gdbarch.c: Re-generate.
2003-11-09See previous commit.Mark Kettenis2-175/+7
2003-11-09* glibc-tdep.c, glibc-tdep.h: New files.Mark Kettenis6-4/+154
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o * config/i386/linux.mt (TDEPFILES): Likewise. * i386-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * arm-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * Makefile.in (ALLDEPFILES): Add glibc-tdep.c (glibc_tdep_h): Define. (glibc-tdep.o): Add dependencies. (arm-linux-tdep.o): Update dependencies. (i386-linux-tdep.o): Likewise.
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-75/+14
* config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h". * config/mips/nm-irix6.h: Delete file. * config/mips/nm-linux.h: Update copyright. (MIPS_GNULINUX_TARGET): Delete macro. * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h". * config/mips/xm-irix6.h: Delete file. * config/mips/linux.mh (XM_FILE): Delete definition. * config/mips/xm-linux.h: Delete file.
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-124/+86
* d10v-tdep.c (d10v_return_value): New function. (d10v_use_struct_convention): Delete function. (d10v_store_return_value): Delete function. (d10v_extract_struct_value_address): Delete function. (d10v_gdbarch_init): Set "return_value" instead of "extract_return_value", "store_return_value", "extract_struct_value_address", and "use_struct_convention". (RET1_REGNUM): Delete const.
2003-11-09From David S. Miller <davem@redhat.com>:Mark Kettenis7-4/+66
* gdbarch.sh (SKIP_SOLIB_RESOLVER): New method. * gdbarch.c, gdbarch.h: Regenerated. * arch-utils.c (generic_skip_solib_resolver): New function. * arch-utils.h (generic_skip_solib_resolver): New prototype. * infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
2003-11-09*** empty log message ***gdbadmin1-1/+1
2003-11-082003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney24-79/+123
* top.c (print_gdb_version): Replace STREQ with strcmp. * valops.c (value_struct_elt_for_reference): Ditto. (value_struct_elt_for_reference): Ditto. * symtab.c (gdb_mangle_name): Ditto. (find_line_symtab): Ditto. * symmisc.c (maintenance_print_symbols): Ditto. * symfile.c (symbol_file_command): Ditto. * stabsread.c (define_symbol, read_type): Ditto. (cleanup_undefined_types, scan_file_globals): Ditto. * solib.c (solib_map_sections): Ditto. * solib-svr4.c (bfd_lookup_symbol): Ditto. * rs6000-tdep.c (skip_prologue): Ditto. * p-valprint.c (pascal_value_print): Ditto. (pascal_object_is_vtbl_ptr_type): Ditto. * objfiles.c (in_plt_section): Ditto. * minsyms.c (lookup_minimal_symbol): Ditto. (compact_minimal_symbols): Ditto. (find_solib_trampoline_target): Ditto. * mdebugread.c (parse_type): Ditto. * language.c (set_language_command): Ditto. (set_type_command, set_range_command): Ditto. * f-lang.c (add_common_block): Ditto. (add_common_block): Ditto. (find_first_common_named): Ditto. (patch_all_commons_by_name): Ditto. * elfread.c (elf_locate_sections): Ditto. (elf_locate_sections): Ditto. (elfstab_offset_sections): Ditto. * dwarf2read.c (dwarf2_locate_sections): Ditto. * dbxread.c (add_old_header_file): Ditto. (find_corresponding_bincl_psymtab): Ditto. (read_dbx_symtab, process_one_symbol): Ditto. * coffread.c (patch_opaque_types): Ditto. * cli/cli-decode.c (delete_cmd): Ditto. * cli/cli-cmds.c (pwd_command, list_command): Ditto. * c-typeprint.c (c_type_print_base): Ditto. * breakpoint.c (bpstat_stop_status): Ditto. (clear_command, breakpoint_re_set_one): Ditto.
2003-11-08*** empty log message ***gdbadmin1-1/+1
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-19/+131
* bcache.h: Update copyright. Add comments on bcache VS hashtab. * bcache.c (struct bstring): Make "length" an unsigned short, add "half_hash". (struct bcache): Add "half_hash_error_count". (bcache): Compute and save the "half_hash". Compare the "half_hash" before comparing the length. Update half_hash_error_count.
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+46
* inftarg.c (child_xfer_partial): New function (init_child_ops): Set "to_xfer_partial".
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-127/+108
* ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux, set "return_value" instead of "use_struct_convention". (ppc_linux_use_struct_convention): Delete function. (ppc_linux_return_value): New function. * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function. (ppc_sysv_abi_broken_return_value): New function. (do_ppc_sysv_return_value): Add "gdbarch" parameter. (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop static. (ppc_sysv_abi_extract_return_value): Delete function. (ppc_sysv_abi_broken_extract_return_value): Delete function. (ppc_sysv_abi_store_return_value): Delete function. (ppc_sysv_abi_broken_store_return_value): Delete function. (ppc_sysv_abi_use_struct_convention): Delete function. (ppc64_sysv_abi_use_struct_convention): Delete function. (ppc64_sysv_abi_extract_return_value): Delete function. (ppc64_sysv_abi_store_return_value): Delete function. * ppcnbsd-tdep.c (ppcnbsd_return_value): New function. (ppcnbsd_init_abi): Set "return_value", instead of "use_struct_convention", "extract_return_value", and "store_return_value". (ppcnbsd_use_struct_convention): Delete function. * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare. (ppc_sysv_abi_return_value): Declare. (ppc_sysv_abi_broken_return_value): Declare. (ppc_sysv_abi_use_struct_convention): Delete. (ppc_sysv_abi_store_return_value): Delete. (ppc_sysv_abi_extract_return_value): Delete. (ppc_sysv_abi_broken_store_return_value): Delete. (ppc_sysv_abi_broken_extract_return_value): Delete. (ppc64_sysv_abi_use_struct_convention): Delete. (ppc64_sysv_abi_extract_return_value): Delete. (ppc64_sysv_abi_store_return_value): Delete. * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV, set "return_value" instead of "extract_return_value", "store_return_value", and "use_struct_convention".
2003-11-07* dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.Mark Kettenis2-1/+4
2003-11-07* fbsd-proc.c (read_mapping): Use sscanf and fgets instead ofMark Kettenis2-12/+16
fscanf.
2003-11-07* fbsd-proc.c: Fix formatting.Mark Kettenis2-8/+9
2003-11-072003-11-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
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-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-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-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.