Commit Graph

15283 Commits

Author SHA1 Message Date
Andrew Cagney e60e0ab267 2003-11-09 Andrew Cagney <cagney@redhat.com>
* 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-09 14:29:26 +00:00
Andrew Cagney 181555e940 2003-11-09 Andrew Cagney <cagney@redhat.com>
* 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-09 14:20:55 +00:00
Mark Kettenis dea0c52f82 From David S. Miller <davem@redhat.com>:
* 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 12:07:16 +00:00
gdbadmin 292da8136c *** empty log message *** 2003-11-09 00:00:01 +00:00
Andrew Cagney 6314a34934 2003-11-07 Andrew Cagney <cagney@redhat.com>
* 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 00:13:03 +00:00
gdbadmin fe62ef869f *** empty log message *** 2003-11-08 00:00:02 +00:00
Andrew Cagney 49df298f1f 2003-11-07 Andrew Cagney <cagney@redhat.com>
* 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-07 22:04:39 +00:00
Andrew Cagney f168dd8007 2003-11-07 Andrew Cagney <cagney@redhat.com>
* inftarg.c (child_xfer_partial): New function
	(init_child_ops): Set "to_xfer_partial".
2003-11-07 21:33:37 +00:00
Andrew Cagney 05580c65ad 2003-11-07 Andrew Cagney <cagney@redhat.com>
* 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 20:44:51 +00:00
Mark Kettenis 22c7ba1aba * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment. 2003-11-07 20:36:15 +00:00
Mark Kettenis 1763fba4a3 * fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
fscanf.
2003-11-07 16:30:26 +00:00
Mark Kettenis fc07cc2d45 * fbsd-proc.c: Fix formatting. 2003-11-07 15:57:22 +00:00
Elena Zannoni 6a90a18e85 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
        as well as 'Watchpoint'.
2003-11-07 15:46:33 +00:00
Kevin Buettner 65ed7f0a33 Fix typo in previous patch. 2003-11-07 06:00:07 +00:00
Kevin Buettner 6a748db690 Handle iacc0 as a pseudo-register. 2003-11-07 05:54:51 +00:00
gdbadmin c8746e3c1b *** empty log message *** 2003-11-07 00:00:01 +00:00
Andrew Cagney bf896cb059 2003-11-06 Andrew Cagney <cagney@redhat.com>
* 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 22:54:02 +00:00
Elena Zannoni 0b915e9cc2 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
	* gdb.base/annota1.exp: Match at least one occurrence of the
	signal handler annotation.
2003-11-06 20:50:47 +00:00
Elena Zannoni d7e4b55f6b 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
        as well as 'Watchpoint'.
2003-11-06 20:39:46 +00:00
Andrew Cagney 0b603eba4e 2003-11-06 Andrew Cagney <cagney@redhat.com>
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 19:56:26 +00:00
Andrew Cagney 9cedbfec95 2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
	REGISTER_CONVENTION.
2003-11-06 19:09:46 +00:00
Daniel Jacobowitz 26bb91f300 * breakpoint.c (insert_bp_location, allocate_bp_location): Make
static.
2003-11-06 18:35:05 +00:00
Daniel Jacobowitz 0bde7532f1 * breakpoint.c (remove_breakpoint): Take an bp_location
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 18:28:33 +00:00
Daniel Jacobowitz 075f65829c * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
(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 18:27:34 +00:00
Daniel Jacobowitz 879bfdc20d * breakpoints.c (insert_bp_location): New function, broken out
from insert_breakpoints.  Work on an bp_location instead of a
	breakpoint.
	(insert_breakpoints): Use it.
2003-11-06 18:26:17 +00:00
Daniel Jacobowitz cf3a9e5b48 * breakpoint.h (struct bp_location): Add section.
(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 18:24:55 +00:00
Daniel Jacobowitz ffce0d52cd * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS
instead of ALL_BREAKPOINTS.  Check for software breakpoints only.
2003-11-06 18:22:45 +00:00
Daniel Jacobowitz e049a4b52e * breakpoint.c (allocate_bp_location): Take bpt and bp_type
arguments.  Initialize owner and type for the new breakpoint
	location item.
	(set_raw_breakpoint): Update call to allocate_bp_location.
2003-11-06 18:20:52 +00:00
Daniel Jacobowitz adeee247f4 Correct typo in previous entry 2003-11-06 17:57:32 +00:00
Daniel Jacobowitz 7cc221efff * breakpoint.h (struct bp_location): Add a chain pointer.
* 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 17:26:18 +00:00
Daniel Jacobowitz 5cab636d14 * breakpoint.h (enum bp_loc_type, struct bp_location): New.
(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 17:24:38 +00:00
Andrew Cagney 4c7d882ea3 2003-11-05 Andrew Cagney <cagney@redhat.com>
* 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 03:29:49 +00:00
Andrew Cagney 7be0c53637 2003-11-05 Andrew Cagney <cagney@redhat.com>
* 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-06 02:52:28 +00:00
Michael Chastain 2fe4e8d0d9 2003-11-05 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
2003-11-06 02:08:08 +00:00
gdbadmin 19d87da6c7 *** empty log message *** 2003-11-06 00:00:31 +00:00
Elena Zannoni d8fe84e397 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* top.c (execute_command): Fix broken logic for command execution
       while inferior is running in async mode.
2003-11-05 23:50:12 +00:00
Mark Kettenis cbdfc7c029 * dwarf2-frame.c (execute_cfa_program): Mark register as
REG_SAVED_REG for DW_CFA_register opcode.
2003-11-05 23:32:17 +00:00
Mark Kettenis dac9410586 * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of
%rsp, %rip and %eflags to match ABI-change.
2003-11-05 22:54:46 +00:00
Jeff Johnston 85bf2b9128 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
* 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 20:32:42 +00:00
Kevin Buettner cd31fb03d2 * frv-tdep.c (frv_register_byte): Delete.
(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 16:44:12 +00:00
Andrew Cagney 0a05698224 2003-11-05 Andrew Cagney <cagney@redhat.com>
* 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 16:42:35 +00:00
Elena Zannoni 29e0a0623d 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* coffread.c (coff_symtab_read): Remove passing of info parameter
       to prim_record_minimal_symbol_and_info.
2003-11-05 15:30:35 +00:00
Elena Zannoni 8af580fccd 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use.
       (decode_base_type): Delete ifdeffed out code.
2003-11-05 15:27:31 +00:00
gdbadmin f25fb29c1f *** empty log message *** 2003-11-05 00:00:32 +00:00
Andrew Cagney 507836c0f0 2003-11-04 Andrew Cagney <cagney@redhat.com>
* 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 22:22:31 +00:00
Michael Snyder 1083b3bca3 2003-11-04 Michael Snyder <msnyder@redhat.com>
* MAINTAINERS:	Remove myself as	owner of breakpoints and
        of sparc/solaris.
2003-11-04 20:01:16 +00:00
gdbadmin 4d100af478 *** empty log message *** 2003-11-04 00:00:31 +00:00
Kris Warkentin 6ef88553ef Added new SH4 testcases 2003-11-03 17:42:52 +00:00
Corinna Vinschen 474e5826dd * sh-tdep.c (sh_sh4_nofpu_register_name): New function.
(sh_sh4al_dsp_register_name): Ditto.
	(sh4_nofpu_show_regs): Ditto.
	(sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a,
	bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu.
2003-11-03 17:08:23 +00:00
Andrew Cagney 2160782c82 * bcache.c: Include "gdb_assert.h".
(struct bcache): Add fields "expand_count" and
	"expand_hash_count".
	(expand_hash_table): Update the expand counts.
	(print_bcache_statistics): Use XCALLOC, not alloca.  Print stats
	on object sizes and hashes.
	* Makefile.in (bcache.o): Update dependencies.
2003-11-03 17:03:11 +00:00
Andrew Cagney 8530209598 2003-11-03 Andrew Cagney <cagney@redhat.com>
* section.c (bfd_set_section_contents): Make the "location" buffer
	constant.
	* bfd-in2.h: Re-generate.

Index: gdb/ChangeLog
2003-11-03  Andrew Cagney  <cagney@redhat.com>

	* exec.c (xfer_memory): Eliminate xfer_fn.
2003-11-03 14:44:08 +00:00
gdbadmin d36d13b0e1 *** empty log message *** 2003-11-03 00:00:01 +00:00
gdbadmin 100b6c20f1 *** empty log message *** 2003-11-02 00:00:06 +00:00
Kevin Buettner 526eef8952 * frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
(opcodes/frv-desc.h): Include.
	(iacc0h_regnum, iacc0l_regnum): Define.
	(last_spr_regnum, frv_num_regs): Update.
	(new_variant): Don't supply default names for holes in the SPRs.
	Supply names for iacc0h_regnum and iacc0l_regnum.
	(frv_register_type): Use symbolic constants first_fpr_regnum and
	last_fpr_regnum instead of hardcoded constants 64 and 127.  Use
	builtin_type_int instead of builtin_type_int32.
	(frv_register_sim_regno): New function.
	(frv_gdbarch_init): Call set_gdbarch_register_sim_regno().
	* Makefile.in (gdb_sim_frv_h): Define.
	(frv-tdep.o): Update dependencies.
2003-11-01 01:42:48 +00:00
gdbadmin f51abb02cd *** empty log message *** 2003-11-01 00:00:02 +00:00
Andrew Cagney 9e815ec299 2003-10-31 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c (avr_frame_this_id): Do not call
	deprecated_inside_entry_file.
	* m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
	* m32r-tdep.c (m32r_frame_this_id): Ditto.
	* d10v-tdep.c (d10v_frame_this_id): Ditto.
	* arm-tdep.c (arm_prologue_this_id): Ditto.
	* alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto.
2003-10-31 23:47:17 +00:00
Jim Blandy e372db4988 * elfread.c (elf_symtab_read): Allocate correct number of tail
elements to sectinfo structure.  (Fix from Woody LaRue.)
2003-10-31 22:47:48 +00:00
Andrew Cagney e8bcf01f1b 2003-10-31 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Use get_frame_type, instead of
	CALL_DUMMY_HAS_COMPLETED.
	* inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition.
	* config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro.
2003-10-31 22:38:22 +00:00
Mark Kettenis 4c05fe5325 * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don't
explicitly specify size of array.
(x86_64_linux_init_abi): Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
2003-10-31 22:26:29 +00:00
Andrew Cagney c8b91b893c 2003-10-31 Andrew Cagney <cagney@redhat.com>
* s390-tdep.c (s390_cannot_extract_struct_value_address): New
	function.
	(s390_gdbarch_init): Set extract_struct_value_address.
	* arch-utils.c (generic_cannot_extract_struct_value_address):
	Delete function.
	* arch-utils.h (generic_cannot_extract_struct_value_address):
	Delete definition.
2003-10-31 22:19:12 +00:00
Mark Kettenis fdfb6fc861 * i386-linux-nat.c (fetch_core_registers): Remove.
(linux_elf_core_fns): Remove.
(_initialize_i386_linux_nat): Remove.
2003-10-31 22:04:44 +00:00
Andrew Cagney 2f4950cde9 2003-10-31 Andrew Cagney <cagney@redhat.com>
* solib-svr4.c: Update copyright.  Include "bfd-target.h" and
	"exec.h".
	(exec_entry_point): New function.
	(enable_break): Create a "tmp_bfd_target", use that and
	entry_point_address when computing the relocation offset.
	(svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops.
	* Makefile.in (solib-svr4.o): Update dependencies.
2003-10-31 21:13:45 +00:00
Andrew Cagney bba2d28ded 2003-10-31 Andrew Cagney <cagney@redhat.com>
* defs.h (XZALLOC): Define.
	* target.h (struct target_ops): Add "to_data";
	* bfd-target.h, bfd-target.c: New files.
	* Makefile.in (SFILES): Add "bfd-target.c".
	(COMMON_OBS): Add "bfd-target.o".
	(bfd-target.o): Specify dependencies.
	(bfd_target_h): Define.
	* defs.h (XZALLOC): Define.
2003-10-31 19:19:51 +00:00
Andrew Cagney 6066c3de51 2003-10-31 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set
	adjust_breakpoint_address.
	* Makefile.in (ppc-sysv-tdep.o): Add $(target_h).
	* ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare.
	* ppc-sysv-tdep.c: Include "target.h".  Update copyright.
	(ppc64_sysv_abi_adjust_breakpoint_address): New function.
2003-10-31 16:37:03 +00:00
Andrew Cagney 4b8a223fcb 2003-10-31 Andrew Cagney <cagney@redhat.com>
* target.h (struct target_ops): Replace "to_read_partial" and
	"to_write_partial" with "to_xfer_partial".  Update comments.
	* target.c (debug_to_write_partial): Delete function.
	(debug_to_xfer_partial): Replace debug_to_read_partial.
	(add_target, update_current_target, setup_target_debug): Set
	"to_xfer_partial" instead of "to_read_partial" and
	"to_write_partial".
	(default_xfer_partial): Replace "default_write_partial".
	(default_read_partial): Delete.
	(target_read_partial, target_write_partial): Call
	"to_xfer_partial".
	* remote.c (init_remote_ops): Set "to_xfer_partial".
	(init_remote_async_ops): Ditto.
	(remote_xfer_partial): Replace "remote_read_partial".
2003-10-31 15:25:34 +00:00
gdbadmin 7cb8d4eab6 *** empty log message *** 2003-10-31 00:00:31 +00:00
Mark Kettenis 66a72d250d * i386-tdep.c (i386_supply_fpregset): Support floating-point
registers in `fxsave' format.
(i386_regset_from_core_section): Deal with ".reg-xfp" sections.
2003-10-30 23:03:36 +00:00
Mark Kettenis e9f1aad5b5 * i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.
(i386_linux_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and tdep->sizeof_gregset.
2003-10-30 22:25:54 +00:00
Mark Kettenis bb489b3c99 * i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly
specify size of array.
(i386_linux_init_abi): Remove initialization of
TDEP->num_xmm_regs.  Use I386_LINUX_NUM_REGS for number of
registers.  Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
2003-10-30 21:22:13 +00:00
Mark Kettenis da285bc432 * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-30 19:41:40 +00:00
Mark Kettenis 9a12a2a0ed * fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in
the ELF header.
2003-10-30 19:29:40 +00:00
gdbadmin b672e72f5b *** empty log message *** 2003-10-30 00:00:01 +00:00
Mark Kettenis 6d6d8e9cc3 * config/i386/fbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-29 22:53:08 +00:00
Mark Kettenis 25e60c9b2c * fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts. 2003-10-29 22:47:37 +00:00
Mark Kettenis 0e24ac5d5f * corelow.c: Include "arch-utils.h", "regset.h" and
"gdb_assert.h".
(core_gdbarch): New variable.
(sniff_core_bfd): Don't sniff if we have support for register sets
in CORE_GDBARCH.
(core_close): Reset CORE_GDBARCH.
(core_open): Initialize CORE_GDBARCH.
(get_core_register_section): Use register sets if they are
supported by CORE_GDBARCH.
(get_core_registers): Don't print error message if we have support
for register sets in CORE_GDBARCH.
2003-10-29 20:59:07 +00:00
Andrew Cagney 0a0a4ac3c6 2003-10-29 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the
	default PPC machine, register 32-bit and 64-bit PPC, and rs6k.
2003-10-29 19:24:52 +00:00
Mark Kettenis 7b097ae392 * objfiles.h (clear_objfile_data): New prototype.
* objfiles.c (clear_objfile_data): New function.
* symfile.c (reread_symbols): Clear per-objfile data.
2003-10-29 18:29:07 +00:00
gdbadmin 4dad41b47a *** empty log message *** 2003-10-29 00:00:31 +00:00
Jim Blandy 1d8b2f281d * gdb.texinfo (The F request packet, The F reply packet): Renamed
from "The `F' request packet" and "The `F' reply packet", to make
texi2dvi happy.
(File-I/O remote protocol extension): Update menu entries, too.
2003-10-28 22:04:47 +00:00
Jeff Johnston 46f45a4a37 2003-10-28 Jeff Johnston <jjohnstn@redhat.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use
        printf_unfiltered instead of printf_filtered for output messages.
        (add_symbol_file_command): Ditto.
        (reread_symbols): Ditto.
        (overlay_auto_command): Ditto.
        (overlay_manual_command): Ditto.
        (overlay_off_command): Ditto.
2003-10-28 17:09:12 +00:00
gdbadmin 6453410e93 *** empty log message *** 2003-10-28 00:00:02 +00:00
Mark Kettenis 2b0266504e * arch-utils.c (deprecated_select_gdbarch_hack): New function.
(gdbarch_from_bfd): New function.
(set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
deprecated_select_gdbarch_hack.
* arch-utils.h (gdbarch_from_bfd): New prototype.
2003-10-27 20:47:27 +00:00
Andrew Cagney 0bcad58476 s/post date/commit date/ for change log 2003-10-27 18:53:47 +00:00
Andrew Cagney 931758afc4 2003-10-24 Andrew Cagney <cagney@redhat.com>
* osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of
	arch_info.  Use warning instead of fprintf_filtered.  Do not use
	deprecated bfd_printable_arch_mach.
2003-10-27 16:18:23 +00:00
Michael Chastain 36d86913b5 2003-10-26 Michael Chastain <mec@shout.net>
* gdb.texinfo (Thread Stops): Document the issue with
	premature return from system calls in multi-threaded programs.
2003-10-27 13:59:08 +00:00
Kevin Buettner 322702e1e5 Revert small portion of previous commit. (Delete a #if 0 and #endif that I
had added for testing.)
2003-10-27 06:30:49 +00:00
Kevin Buettner 7f39821656 * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
Delete.
	(frv_register_type): Rename from frv_register_virtual_type.  Add
	``struct gdbarch *'' parameter.
	(frv_gdbarch_init): Delete calls to the following functions:
	set_gdbarch_deprecated_size(),
	set_gdbarch_deprecated_register_bytes(),
	set_gdbarch_deprecated_register_raw_size(),
	set_gdbarch_deprecated_max_register_raw_size(),
	set_gdbarch_deprecated_register_virtual_size(),
	set_gdbarch_deprecated_max_register_virtual_size(),
	set_gdbarch_deprecated_register_virtual_size(),
	set_gdbarch_deprecated_register_virtual_type().
	Add call to function set_gdbarch_register_type().
2003-10-27 06:26:12 +00:00
gdbadmin 34969bc17b *** empty log message *** 2003-10-27 00:00:32 +00:00
Mark Kettenis 3e685d417e Fix typo. 2003-10-26 15:05:54 +00:00
Mark Kettenis 6c7de4224e * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
FDOFF_REGNUM): Remove defines.
* win32-nat.c (do_child_fetch_inferior_registers): Include
"i387-tdep.h".
(do_child_fetch_inferior_registers): Use I387_FISEG_ST0_REGNUM and
I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM.  Define and
undefine I387_ST0_REGNUM.
2003-10-26 15:03:42 +00:00
Mark Kettenis f783586b81 * i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
* x86-64-tdep.c (x86_64_store_return_value): Use
I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
2003-10-26 14:47:26 +00:00
Mark Kettenis bcf48cc700 Change register numbers to enumartion values.
* i386-tdep.h (enum i386_regnum): New.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Remove defines.
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
I386_EDI_REGNUM): Remove defines.
2003-10-26 13:08:57 +00:00
gdbadmin e090dc6d51 *** empty log message *** 2003-10-26 00:00:31 +00:00
gdbadmin 2e0d1c66f5 *** empty log message *** 2003-10-25 00:00:32 +00:00
Andrew Cagney b6591e8b14 2003-10-24 Andrew Cagney <cagney@redhat.com>
* target.c: Include "gdbcore.h".
	(get_target_memory, get_target_memory_unsigned): New functions.
	* target.h (get_target_memory, get_target_memory_unsigned): Declare.
	* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr):
	Use get_target_memory_unsigned.
	* Makefile.in (target.o): Update dependencies.
2003-10-24 20:24:06 +00:00
Michael Chastain ae7dc4d82b 2003-10-22 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c: Add copyright notice.
2003-10-24 19:55:09 +00:00
Andrew Cagney ce2826aa7a Index: mi/ChangeLog
2003-10-24  Andrew Cagney  <cagney@redhat.com>

	* tui-out.c: Fix "fortunatly"[sic].

Index: doc/ChangeLog
2003-10-24  Andrew Cagney  <cagney@redhat.com>

	* annotate.texinfo: Fix "fortunatly"[sic].

2003-10-24  Andrew Cagney  <cagney@redhat.com>

	* osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic].
	* PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto.
	* complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto.
	* frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto.
	* kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.
2003-10-24 17:37:04 +00:00
Andrew Cagney 5f72444609 2003-10-24 Andrew Cagney <cagney@redhat.com>
* osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit.
	(can_run_code_for): Use the OO term "singleton".
2003-10-24 15:36:17 +00:00
gdbadmin 73e4cec982 *** empty log message *** 2003-10-24 00:00:02 +00:00
Andrew Cagney fc70c2a0cb 2003-10-23 Andrew Cagney <cagney@redhat.com>
* Makefile.in (stack.o): Add $(regcache_h).
	* stack.c: Include "regcache.h"
	(return_command): Rewrite.  Use get_frame_id and
	get_selected_frame.  Eliminate "deprecated_selected_frame".  Warn
	about unhandled return-values.
	* value.h (set_return_value): Delete declaration.
	* values.c (set_return_value): Delete function.
2003-10-23 22:36:14 +00:00
Jeff Johnston 4afcc5985a 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
        (pseudo_regs): Add comment regarding register stack registers.
        (ia64_alloc_frame_cache):  Initialize new prev_cfm field to 0.
        (floatformat_valid): New static routine.
        (floatformat_ia64_ext): Add name field and set up is_valid routine
        to floatformat_valid().
        (examine_prologue):  For the previous cfm, use
        frame_unwind_register()
        if the cfm is not stored in a register-stack register.  Save the
        previous cfm value in the prev_cfm field.  Add debug output.
        (ia64_frame_this_id): Use frame_id_build_special() to also register
        the bsp.  Add debug output.
        (ia64_sigtramp_frame_this_id): Ditto.
        (ia64_frame_prev_register):  Look at cache saved_regs for a few more
        registers and also add some checks for framelessness before accepting
        current register values for fields such as return address.  For cfm,
        use the cached prev_cfm field if available.  Add comment to explain
        PSR logic.  Add debug output.
        (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
        as part of initialization.
        (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
        calculated.  Cache the bsp and cfm values.
        (ia64_sigtramp_frame_prev_register): Add logic to this routine out
        instead of using ia64_frame_prev_register() which doesn't expect most
        registers to be saved.  The saved values for bsp and sp
        can be taken from the cache.  Add debug output.
        (ia64_push_dummy_call): Use frame_id_build_special() to also register
        the bsp.
2003-10-23 22:06:37 +00:00
Jim Blandy 6cfae0bc97 * osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
architecture the current arch can run code for --- but not if it's
a superset.
(can_run_code_for): New function.
2003-10-23 21:15:50 +00:00
Jim Wilson fcd182f9d6 * MAINTAINERS: Move myself from paper trail section back to write
after approval section.
2003-10-23 06:27:29 +00:00
Michael Chastain c39d742707 2003-10-22 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c: Add copyright notice.
2003-10-23 04:43:54 +00:00
Andrew Cagney 4646aa9d0b 2003-10-22 Andrew Cagney <cagney@redhat.com>
* exec.h: New file.
	* win32-nat.c: Include "exec.h".
	* solib.c: Include "exec.h".
	* target.h (build_section_table): Delete declaration.
	* somsolib.c: Include "exec.h".
	(exec_ops): Delete extern declaration.
	* rs6000-nat.c: Update copyright.  Include "exec.h".
	(exec_ops): Delete extern declaration.
	* pa64solib.c: Update copyright.  Include "exec.h".
	(exec_ops): Delete extern declaration.
	* exec.c: Update copyright.  Include "exec.h".
	* corelow.c: Update dependencies.  Include "exec.h".
	* Makefile.in (exec_h): Define.
	(exec.o, somsolib.o): Update dependencies.
	(pa64solib.o, corelow.o): Update dependencies.
2003-10-23 03:01:55 +00:00
Andrew Cagney 0088c768bb 2003-10-22 Andrew Cagney <cagney@redhat.com>
* target.c: Include "gdb_assert.h" (target_read): Call
	"target_read_partial", not "target_write_partial".
	(default_read_partial, default_write_partial): New function.
	(target_read_partial, target_write_partial): Simplify, assume that
	there is always a read/write method.
	(update_current_target, add_target): Always set "to_read_partial"
	and "to_write_partial".
	(target_write, target_read): Fail on a zero byte transfer.
	* Makefile.in (target.o): Update dependencies.
	* target.h: Update copyright date.
	(target_object): Fix typo.
2003-10-23 00:13:53 +00:00
Kazuhiro Inaoka f24c5e49d7 2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo (Contributors to GDB): Replace "Renesas"
	with "Hitachi" and "Mitsubishi".
2003-10-23 00:11:59 +00:00
gdbadmin e429d05994 *** empty log message *** 2003-10-23 00:00:01 +00:00
Andrew Cagney e2d0e7eb04 2003-10-22 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure
	multi-arch method, add "targ" parameter.
	(struct target_ops): Declare.
	* gdbarch.h, gdbarch.c: Re-generate.
	* Makefile.in (c-valprint.o): Update dependencies.
	* arch-utils.h: Update copyright.
	(convert_from_func_ptr_addr_identity): Declare.
	* arch-utils.c (convert_from_func_ptr_addr_identity): New function.
	* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
	* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate.
	* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update.
	* infcall.c (find_function_addr, call_function_by_hand): Update.
	* c-valprint.c: Include "target.h".
	(print_function_pointer_address): Update.
2003-10-22 23:54:11 +00:00
Andrew Cagney f1c07ab0ca 2003-10-22 Andrew Cagney <cagney@redhat.com>
* target.c (target_close): New function.
	(debug_to_close): Use "target_close".
	(push_target): Use "target_close".
	(unpush_target): Use "target_close".
	(pop_target): Use "target_close".
	* target.h (struct target_ops): Add "to_xclose".
	(target_open): Delete macro.  Move comment to "to_open".
	(target_close): Replace macro with function that takes a target.
	* top.c (quit_target): Pass "current_target" to "target_close".
2003-10-22 21:39:09 +00:00
gdbadmin f3056c4bf2 *** empty log message *** 2003-10-22 00:00:02 +00:00
Elena Zannoni 5520a790ef 2003-10-21 Elena Zannoni <ezannoni@redhat.com>
* minsyms.c (lookup_minimal_symbol_text): Remove unused parameter.
	Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
	* symtab.h (lookup_minimal_symbol_text): Update.
 	* breakpoint.c (create_overlay_event_breakpoint,
 	create_longjmp_breakpoint): Update callers.
	* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller.
	* symtab.c (find_pc_sect_line): Ditto.
2003-10-21 22:56:39 +00:00
Andrew Cagney caa92b7339 2003-10-21 Andrew Cagney <cagney@redhat.com>
* target.c (errno): Delete extern declaration.
2003-10-21 21:29:55 +00:00
Michael Chastain 8b7d96c1c4 2003-10-20 Michael Chastain <mec@shout.net>
* gdb.base/gdb1056.exp: New test script.
2003-10-21 00:35:02 +00:00
gdbadmin a1c7f26cef *** empty log message *** 2003-10-21 00:00:01 +00:00
Jeff Johnston aa2a9a3c82 2003-10-20 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c: Change all occurrences of
        DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead.
        (ia64_frame_prev_register): Minor whitespace change.
2003-10-20 20:38:07 +00:00
Michael Chastain 4beec2b7f3 2003-10-20 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Add lines for:
	sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs,
	sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs,
	sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs,
	sim/testsuite/sim/frv/interrupts/compound-fr550.cgs,
	sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs,
	sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs,
	sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.
2003-10-20 18:30:43 +00:00
Michael Chastain 24d693a6aa Err, fix a spacing problem in a ChangeLog entry that I made yesterday.
I'm not making a ChangeLog entry for this!
2003-10-20 18:19:13 +00:00
Andrew Cagney 92ad9cd90f 2003-10-20 Andrew Cagney <cagney@redhat.com>
* values.c (register_value_being_returned): Update comments.  Use
	"gdbarch_return_value" when available.
	(using_struct_return): Ditto.
	(set_return_value): Ditto.  Use "gdbarch_return_value" when
	available..  Print a warning, and not an error, when an unhandled
	return type is encountered.
	* infcmd.c: Include "gdb_assert.h".
	(print_return_value): When gdbarch_return_value_p, and using
	struct return, assume that the value is not available.
	* defs.h (return_value_convention): Define.
	* gdbarch.sh (gdbarch_return_value): New predicate method.
	* gdbarch.h, gdbarch.c: Re-generate
	* ppc-sysv-tdep.c (return_value_convention): Delete definition.

Index: doc/ChangeLog
2003-10-20  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Document
	gdbarch_return_value.  Add cross references from
	USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and
	STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS.
2003-10-20 15:38:02 +00:00
Andrew Cagney 198beae2cf 2003-10-19 Andrew Cagney <cagney@redhat.com>
* targets.c: Replace "struct sec" with "struct bfd_section"
	* syms.c, sparclynx.c, section.c, opncls.c: Ditto.
	* libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
	* elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
	* aout-tic30.c, aout-target.h:
	* bfd-in2.h, libcoff.h, libbfd.h: Regenerate.

Index: binutils/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

	* coffgrok.h (coff_section): Replace 'struct sec" with "struct
	bfd_section".

Index: gdb/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

	* symtab.c: Replace "struct sec" with "struct bfd_section".
	* objfiles.c, linespec.c, blockframe.c, block.c: Ditto.

Index: ld/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

	* pe-dll.c: Replace "struct sec" with "struct bfd_section".

Index: sim/common/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

	* sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-20 14:38:46 +00:00
gdbadmin 77729bd390 *** empty log message *** 2003-10-20 00:00:02 +00:00
Michael Chastain e7cb278a3f 2003-10-19 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Add lines for:
	gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c,
	gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c,
	gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c.
2003-10-19 14:40:15 +00:00
Mark Kettenis 21ad8dc3de * amd64fbsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Remove functions.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.
2003-10-19 10:39:50 +00:00
gdbadmin 621fd5a9e9 *** empty log message *** 2003-10-19 00:00:32 +00:00
Mark Kettenis cced5e27e6 Add NetBSD/amd64 native configuration:
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations.
* amd64nbsd-tdep.c: New file.
* amd64nbsd-nat.c: New file.
* amd64bsd-nat.c: New file.
* config/i386/nbsd64.mh: New file.
* config/i386/nbsd64.mt: New file.
* configure.host: Add x86_64-*-netbsd*.
* configure.tgt: Add x86_64-*-netbsd*.
* Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o):
New targets.
* NEWS (New native configurations): Mention NetBSD/amd64.
2003-10-18 18:41:22 +00:00
Michael Chastain 666de3fd45 2003-10-17 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Remove dead lines for:
	bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c,
	bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c,
	bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c,
	gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h,
	gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h,
	gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h,
	gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h,
	gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h,
	gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h,
	gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h,
	gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h,
	gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h,
	gdb/config/sparc/tm-sparclite.h,
	gdb/gdbtk/generic/ChangeLog-2001,
	gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c,
	gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c,
	gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c,
	gdb/sparclet-rom.c, gdb/sparclet-stub.c,
	gdb/testsuite/gdb.mi/mi0-var-block.exp,
	gdb/testsuite/gdb.mi/mi0-var-child.exp,
	gdb/testsuite/gdb.mi/mi0-var-cmd.exp,
	gdb/testsuite/gdb.mi/mi0-var-display.exp,
	itcl/iwidgets3.0.0/demos/extfileselectionbox,
	itcl/iwidgets3.0.0/demos/extfileselectiondialog,
	itcl/iwidgets3.0.0/demos/fileselectionbox,
	itcl/iwidgets3.0.0/demos/fileselectiondialog,
	itcl/iwidgets3.0.0/demos/html/buttonbox.n.html,
	itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html,
	itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html,
	itcl/iwidgets3.0.0/demos/html/combobox.n.html,
	itcl/iwidgets3.0.0/demos/html/dialog.n.html,
	itcl/iwidgets3.0.0/demos/html/dialogshell.n.html,
	itcl/iwidgets3.0.0/demos/html/entryfield.n.html,
	itcl/iwidgets3.0.0/demos/html/feedback.n.html,
	itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html,
	itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html,
	itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html,
	itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html,
	itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html,
	itcl/iwidgets3.0.0/demos/html/menubar.n.html,
	itcl/iwidgets3.0.0/demos/html/messagedialog.n.html,
	itcl/iwidgets3.0.0/demos/html/notebook.n.html,
	itcl/iwidgets3.0.0/demos/html/optionmenu.n.html,
	itcl/iwidgets3.0.0/demos/html/panedwindow.n.html,
	itcl/iwidgets3.0.0/demos/html/promptdialog.n.html,
	itcl/iwidgets3.0.0/demos/html/pushbutton.n.html,
	itcl/iwidgets3.0.0/demos/html/radiobox.n.html,
	itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html,
	itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html,
	itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html,
	itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html,
	itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html,
	itcl/iwidgets3.0.0/demos/html/selectionbox.n.html,
	itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html,
	itcl/iwidgets3.0.0/demos/html/shell.n.html,
	itcl/iwidgets3.0.0/demos/html/spindate.n.html,
	itcl/iwidgets3.0.0/demos/html/spinint.n.html,
	itcl/iwidgets3.0.0/demos/html/spinner.n.html,
	itcl/iwidgets3.0.0/demos/html/spintime.n.html,
	itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html,
	itcl/iwidgets3.0.0/demos/html/tabset.n.html,
	itcl/iwidgets3.0.0/demos/html/toolbar.n.html,
	itcl/iwidgets3.0.0/demos/scrolledcanvas,
	itcl/iwidgets3.0.0/demos/scrolledframe,
	itcl/iwidgets3.0.0/demos/scrolledhtml,
	itcl/iwidgets3.0.0/demos/scrolledlistbox,
	itcl/iwidgets3.0.0/demos/scrolledtext,
	itcl/iwidgets3.0.0/demos/selectionbox,
	itcl/iwidgets3.0.0/demos/selectiondialog,
	itcl/iwidgets3.0.0/doc/canvasprintbox.n,
	itcl/iwidgets3.0.0/doc/canvasprintdialog.n,
	itcl/iwidgets3.0.0/doc/extfileselectionbox.n,
	itcl/iwidgets3.0.0/doc/extfileselectiondialog.n,
	itcl/iwidgets3.0.0/doc/fileselectionbox.n,
	itcl/iwidgets3.0.0/doc/fileselectiondialog.n,
	itcl/iwidgets3.0.0/doc/scopedobject.n.backup,
	itcl/iwidgets3.0.0/doc/scrolledcanvas.n,
	itcl/iwidgets3.0.0/doc/scrolledframe.n,
	itcl/iwidgets3.0.0/doc/scrolledhtml.n,
	itcl/iwidgets3.0.0/doc/scrolledlistbox.n,
	itcl/iwidgets3.0.0/doc/scrolledtext.n,
	itcl/iwidgets3.0.0/doc/selectionbox.n,
	itcl/iwidgets3.0.0/doc/selectiondialog.n,
	itcl/iwidgets3.0.0/generic/canvasprintbox.itk,
	itcl/iwidgets3.0.0/generic/canvasprintdialog.itk,
	itcl/iwidgets3.0.0/generic/extfileselectionbox.itk,
	itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk,
	itcl/iwidgets3.0.0/generic/fileselectionbox.itk,
	itcl/iwidgets3.0.0/generic/fileselectiondialog.itk,
	itcl/iwidgets3.0.0/generic/scrolledcanvas.itk,
	itcl/iwidgets3.0.0/generic/scrolledframe.itk,
	itcl/iwidgets3.0.0/generic/scrolledhtml.itk,
	itcl/iwidgets3.0.0/generic/scrolledlistbox.itk,
	itcl/iwidgets3.0.0/generic/scrolledtext.itk,
	itcl/iwidgets3.0.0/generic/scrolledwidget.itk,
	itcl/iwidgets3.0.0/generic/selectionbox.itk,
	itcl/iwidgets3.0.0/generic/selectiondialog.itk,
	itcl/iwidgets3.0.0/tests/canvasprintbox.test,
	itcl/iwidgets3.0.0/tests/canvasprintdialog.test,
	itcl/iwidgets3.0.0/tests/extfileselectionbox.test,
	itcl/iwidgets3.0.0/tests/extfileselectiondialog.test,
	itcl/iwidgets3.0.0/tests/fileselectionbox.test,
	itcl/iwidgets3.0.0/tests/fileselectiondialog.test,
	itcl/iwidgets3.0.0/tests/scrolledcanvas.test,
	itcl/iwidgets3.0.0/tests/scrolledframe.test,
	itcl/iwidgets3.0.0/tests/scrolledhtml.test,
	itcl/iwidgets3.0.0/tests/scrolledlistbox.test,
	itcl/iwidgets3.0.0/tests/scrolledtext.test,
	itcl/iwidgets3.0.0/tests/selectionbox.test,
	itcl/iwidgets3.0.0/tests/selectiondialog.test,
	itcl/iwidgets3.0.0/unix/iwidgets.tcl.in,
	itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in,
	tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt,
	tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt,
	tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt,
	tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt,
	tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt,
	tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in,
	tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in,
	tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c,
	tix/win/tkConsole42.c, tix/win/tkConsole80a1.c,
	tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps,
	tk/mac/tkMacProjects.sit.hqx.
2003-10-18 14:36:16 +00:00
Mark Kettenis 0ab4b75282 * gdbint.texinfo (Target Architecture Definition): Document
regset_from_core_section.
2003-10-18 12:28:05 +00:00
gdbadmin 6a75bc7b84 *** empty log message *** 2003-10-18 00:00:03 +00:00
Andrew Cagney 8db32d44ca 2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.c (target_section_by_addr): New function.
	(do_xfer_memory): Use "target_section_by_addr".
	* target.h (target_section_by_addr): Declare.
2003-10-17 20:17:51 +00:00
Andrew Cagney 1e3ff5ad7f 2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.h (struct target_ops): Add "to_read_partial" and
	"to_write_partial", delete "to_query".
	(target_read_partial, target_write_partial): Declare.
	(target_read, target_write): Declare.
	(target_query): Delete macro.
	* target.c (target_read_partial): New function.
	(target_write_partial, target_read, target_write): New function.
	(update_current_target): Delete inheritance of "to_query".  Add
	comments about "to_read_partial" and "to_write_partial".
	(debug_to_partial_read, debug_to_partial_write): New functions.
	(debug_to_query): Delete function.
	(setup_target_debug): Set "to_read_partial" and "to_write_partial"
	instead of "to_query".
	* remote.c (remote_read_partial): Replace "remote_query".
	(init_remote_ops): Set "to_read_partial" instead of "to_query".
	(init_remote_async_ops): Ditto.
	* kod.c (gdb_kod_query): Make "bufsize" a LONGEST.  Use
	"target_read_partial" instead of "target_query".
	* avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
	Use "target_read_partial" instead of "target_query".
2003-10-17 18:24:49 +00:00
Jeff Johnston 48c6672556 2003-10-17 Jeff Johnston <jjohnstn@redhat.com>
* frame.h (struct frame_id): Add new field: special_addr.
        (frame_id_build_special): New prototype.
        * frame.c (frame_id_build_special): New function.
        (frame_id_build): Change to call frame_id_build_special().
        (frame_id_eq): Change to also test special_addr field.
        (frame_id_inner): Update comment.
2003-10-17 16:32:17 +00:00
Andrew Cagney 7998dfc390 2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.c: Update copyright.
	(update_current_target): Perform the target cleanup.
	Put the target stack beneath the squashed "current_target".
	(add_target): Delete disabled call to "cleanup_target".
	(cleanup_target): Delete function.
	(push_target, unpush_target): Do not call "cleanup_target".
2003-10-17 16:09:20 +00:00
Andrew Cagney 9c04404ef9 Fix changelog date :-( 2003-10-17 14:41:09 +00:00
Andrew Cagney 258b763a8c 2003-10-15 Andrew Cagney <cagney@redhat.com>
* target.c (target_stack): Change to a static target_ops.
	(update_current_target): Walk the "struct target_ops" stack.
	(pop_target, do_xfer_memory, target_info): Ditto.
	(find_target_beneath): Ditto.
	(push_target): Rewrite to use the "struct target_ops" stack.
	(unpush_target): Ditto.
	* target.h (struct target_stack_item): Delete definition.
	(target_stack): Delete declaration.
	(struct target_ops): Add field "beneath".
2003-10-17 13:59:27 +00:00
Andrew Cagney ac1764c748 fix tiop in changelug 2003-10-17 13:49:37 +00:00
Shrinivas Atre c98a2b49ac 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
* gdb/config/h8300/tm-h8300.h : Addition of extern variable h8300_normal_mode
      * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode
        (h8300_examine_prologue): Use h8300_normal_mode flag
        (h8300_gdbarch_init): Set architecture info for normal mode
2003-10-17 12:43:05 +00:00
gdbadmin 990822c653 *** empty log message *** 2003-10-17 00:00:32 +00:00
Daniel Jacobowitz 506fb36784 * remote.c (remote_protocol_vcont): New variable.
(set_remote_protocol_vcont_packet_cmd): New function.
	(show_remote_protocol_vcont_packet_cmd): New function.
	(init_all_packet_configs): Handle remote_protocol_vcont.
	(remote_vcont_probe): New function.
	(remote_vcont_resume): New function.
	(remote_resume): Use it.
	(remote_async_resume): Call remote_resume.
	(_initialize_remote): Add verbose-resume packet commands.
2003-10-16 20:51:47 +00:00
Andrew Cagney 65815ea133 2003-10-16 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Add comment about
	"frame_id_inner" being too weak.
2003-10-16 18:24:13 +00:00
Elena Zannoni 40324f1b40 2003-10-16 Elena Zannoni <ezannoni@redhat.com>
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
	second parameter, which is always null. Remove
	SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
	* symtab.h (lookup_minimal_symbol_solib_trampoline): Update
	accordingly.
	* somsolib.c (som_solib_create_inferior_hook,
	som_solib_desire_dynamic_linker_symbols): Update callers.
	* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
2003-10-16 16:35:27 +00:00
Kazuhiro Inaoka b4b4b794d1 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c : New file, interface to m32r on-chip
	debug interface, SDI (Scalable Debug Interface).
	* NEWS: Mention m32r SDI protocol was supported.
	* Makefile.in (remote-m32r-sdi.o): Add build rule.
	* config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
2003-10-16 02:36:39 +00:00
Kazuhiro Inaoka fb3e19c03f 2003-10-16 Kei Sakamot Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo (M32R/D): Mention m32rsdi target.
2003-10-16 02:33:46 +00:00
gdbadmin 02e8f32320 *** empty log message *** 2003-10-16 00:00:31 +00:00
Jeff Johnston 51931cbbf6 2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-tdep.c: Include gdbcore.h.
        (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
        (ia64_linux_sigcontext_register_addr): Find the address of the
        sigcontext area stored in the sigframe instead of using
        a magic offset constant.
2003-10-15 22:55:32 +00:00
Andrew Cagney 84e7fd53af 2003-10-15 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_search): Delete function.
	* target.h (target_search): Delete disabled macro.
	(struct target_ops): Delete disabled field "to_search".
2003-10-15 21:10:55 +00:00
Kevin Buettner e4d5f7e1d9 * gdb.texinfo (Breakpoints related warnings): Insert into menu. 2003-10-15 17:55:02 +00:00
gdbadmin 3d390fc11a *** empty log message *** 2003-10-15 00:00:32 +00:00
Kevin Buettner 0f4d7c5207 * frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
instead of deprecated_inside_entry_file().
2003-10-14 20:44:46 +00:00
Kevin Buettner 1485d690a8 * gdb.texinfo (Breakpoint related warnings): New node.
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
2003-10-14 20:23:29 +00:00
Corinna Vinschen 2e95240843 * sh-tdep.c: Fix two copy/paste hangovers in comments.
(sh_push_dummy_call_fpu): Accomodate double passing in little endian
	mode.
	(sh3e_sh4_extract_return_value): Ditto.
2003-10-14 15:35:43 +00:00