aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-292003-08-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-26/+37
* config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. (target_remove_watchpoint): Delete macro. (target_insert_watchpoint): Delete macro. (remote_mips_can_use_hardware_watchpoint): Delete declaration. (remote_mips_stopped_by_watchpoint): Delete declaration. (remote_mips_remove_watchpoint): Delete declaration. (remote_mips_set_watchpoint): Delete declaration. (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. * remote-mips.c (_initialize_remote_mips): Set "to_insert_watchpoint", "to_stopped_by_watchpoint", "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. (mips_stopped_by_watchpoint): Rename remote_mips_stopped_by_watchpoint. (mips_can_hardware_watchpoint): Rename remote_mips_can_use_hardware_watchpoint, update function signature.
2003-08-29* x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS andMark Kettenis2-1/+4
USER_DS. We haven't given them a register number yet.
2003-08-29* amd64-nat.h: New file.Mark Kettenis5-49/+278
* amd64-nat.c: New file. * amd64fbsd-nat.c: Include "amd64-nat.h". (REG_ADDR, GETREGS_SUPPLIES): Remove macros. (amd64fbsd32_r_reg_offset): New variable. (supply_gregset): Simply call amd64_supply_native_gregset. (fill_gregset): Rename `regno' to `regnum'. Simply call amd64_collect_native_gregset. (fill_fpregset): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_supply_native_gregset instead of supply_gregset. Call x86_64_supply_fxsave instead of supply_fpregset. (store_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_collect_native_gregset instead of fill_gregset. Call x86_64_collect_fxsave instead of fill_fpregset. (_initialize_am64fbsd_nat): Initialize amd64_native_gregset32_reg_offset and amd64_native_gregset64_reg_offset. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
2003-08-29* regcache.c (regcache_raw_supply): Don't assert that BUF isn't aMark Kettenis2-2/+5
null pointer. Fix typo in comment.
2003-08-29* regcache.c (supply_register): Reimplement to callMark Kettenis2-17/+8
regcache_raw_supply. (regcache_collect): Reimplement by calling regcache_raw_collect.
2003-08-29* gdb.base/interrupt.exp: XFAIL "call function when asleep" forMark Kettenis2-1/+6
*-*-*bsd*.
2003-08-29* regcache.c (register_buffer): Consitify first argument.Mark Kettenis3-1/+64
(regcache_raw_supply, regcache_raw_collect): New functions.
2003-08-29 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.Alan Modra2-0/+5
2003-08-29 * install-sh: Update to newer upstream versions (associated withDaniel Jacobowitz3-72/+269
aclocal 1.7). * missing: Likewise, plus $1Help2man -> $1 typo fix.
2003-08-29daily updateAlan Modra1-1/+1
2003-08-29*** empty log message ***gdbadmin1-1/+1
2003-08-282003-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-55/+83
* gdb.base/dump.exp: Skip for ia64.
2003-08-28Index: common/ChangeLogAndrew Cagney6-11/+30
2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof. * sim-options.c (print_help): Cast the format with specifier to "int". Index: mn10300/ChangeLog 2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to "long". (read_status_reg): Cast "serial_reg" to "long". * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to "long". (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
2003-08-28 * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. SuggestedDaniel Jacobowitz2-1/+10
by Nathan J. Williams.
2003-08-28 * lin-lwp.c (wait_lwp): New function, copied fromDaniel Jacobowitz2-78/+80
stop_wait_callback. Clean up. (stop_wait_callback): Use wait_lwp.
2003-08-282003-08-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-36/+31
* mips-tdep.c (gdb_print_insn_mips): Set the disassembler's flavour and disassembler options. (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. (mips_gdbarch_init): Set "print_insn". Delete initialization of deprecated_tm_print_insn_info.
2003-08-282003-08-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-19/+16
* s390-tdep.c (s390_readinstruction): Delete "info" parameter. Use target_read_memory. (s390_get_frame_info): Update. Do not reference deprecated_tm_print_insn_info. (s390_check_function_end, s390_is_sigreturn): Ditto.
2003-08-282003-08-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-51/+64
* Makefile.in (cris-tdep.o): Update dependencies. * cris-tdep.c: Include "gdb_assert.h". (cris_gdbarch_init): Set print_insn. (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. (cris_delayed_get_disassembler): Simplify, directly call the disassembler returned by cris_get_disassembler. * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. * frv-tdep.c (frv_gdbarch_init): Set print_insn. (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. (gdb_print_insn_sparc): Delete function. (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or deprecated_tm_print_insn_info. * v850-tdep.c (v850_gdbarch_init): Set print_insn. (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. * s390-tdep.c (gdb_print_insn_s390): Delete function. (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. (s390_gdbarch_init): Set print_insn.
2003-08-282003-08-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-14/+15
* ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. * infcall.c (call_function_by_hand): Convert the entry point address into a code address.
2003-08-282003-08-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-1/+8
* dsrec.c: Include "gdb_string.h". * Makefile.in (dsrec.o): Update dependencies.
2003-08-28*** empty log message ***gdbadmin1-1/+1
2003-08-28daily updateAlan Modra1-1/+1
2003-08-27 * configure.in: Set RAW_CXX_FOR_TARGET if unset.Daniel Jacobowitz3-35/+44
* configure: Regenerated.
2003-08-27 * aclocal.m4: Include acx.m4 and no-executables.m4.Daniel Jacobowitz4-2069/+5939
(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ. (LIB_AC_PROG_CC): Remove. * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES. Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if performing link tests. * configure: Regenerated.
2003-08-272003-08-27 Michael Chastain <mec@shout.net>Michael Chastain2-0/+8
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
2003-08-27 * config/no-executables.m4: New file.Daniel Jacobowitz2-0/+65
2003-08-272003-08-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-29/+5
* alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. (alpha_osf1_init_abi): Do not set call_dummy_address.
2003-08-27 * configure.in: Check for strtoull.Ian Lance Taylor5-83/+151
* bfd.c (bfd_scan_vma): Use strtoull when available. * configure, config.in: Regenerate.
2003-08-27 * configure.in: Define and substitute BFD_HOST_LONG_LONG.Ian Lance Taylor7-119/+176
* bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than __GNUC__ when deciding whether to use long long for BFD_HOST_64_BIT. * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.
2003-08-272003-08-27 David Carlton <carlton@kealia.com>David Carlton2-13/+36
From Randolph Chung <tausq@debian.org>: * linux-proc.c (linux_info_proc_cmd): rework the code so that it compiles with -Wformat-nonliteral -Werror.
2003-08-272003-08-27 Christian Groessler <chris@groessler.org>Christian Groessler2-6/+206
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, i860_howto_splitn_reloc, i860_howto_highadj_reloc): New functions. (elf32_i860_howto_table): Insert the new functions as 'special_function's in the proper reloc type entries.
2003-08-27 * elf32-frv.c (elf32_frv_relocate_section): UseRichard Sandiford2-3/+6
_bfd_elf_rela_local_sym.
2003-08-27Merge bugfix from GCC:Nathanael Nerode3-35/+43
2003-08-23 Phil Edwards <pme@gcc.gnu.org> * configure.in: Use newline instead of semicolon when assuming shell arguments in a for loop. * configure: Regenerated.
2003-08-27*** empty log message ***gdbadmin1-1/+1
2003-08-27daily updateAlan Modra1-1/+1
2003-08-26* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.Jim Blandy2-7/+31
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to bfd_lookup_symbol, since we only want symbols in code sections. (look_for_base): Pass zero as the SECT_FLAGS argument to bfd_lookup_symbol, since we're not concerned about which section the symbol is in.
2003-08-262003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+16
* ia64-tdep.c (examine_prologue): Only stop at predicated insns if we are frameless or the return address register is already known.
2003-08-262003-08-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+26
* i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s in size. Add comments.
2003-08-262003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+23
* ia64-tdep.c (ia64_convert_from_func_addr): New function. (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().
2003-08-26Add German translationNick Clifton7-417/+1015
2003-08-262003-08-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+4
* cpu-frv.c: Remove unused enum.
2003-08-26 * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_nameJason Merrill2-1/+6
case out of #ifdef MIPS block.
2003-08-26switch to changelog modeJason Merrill1-1/+1
2003-08-26 * PROBLEMS: Remove description of java/1322.Daniel Jacobowitz2-14/+1
2003-08-26 PR java/1322Daniel Jacobowitz2-2/+12
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are available before calling SECT_OFF_TEXT.
2003-08-262003-08-25 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-2/+6
* doc/c-i860.texi: Update text about relocatable address expansions.
2003-08-26daily updateAlan Modra1-1/+1
2003-08-26*** empty log message ***gdbadmin1-1/+1
2003-08-252003-08-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+58
* gdb.asm/asm-source.exp: Add ia64 support. * gdb.asm/ia64.inc: New file.
2003-08-252003-08-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-643/+1101
* ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, bof, and nat0-nat127 as pseudo-registers. (ia64_frame_cache): New struct used to cache frame info. (ia64_register_reggroup_p): New routine used to override default register grouping so registers without names are still saved and restored. (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their pseudo values. (ia64_pseudo_register_read): New routine to read pseudo-registers. (ia64_pseudo_register_write): New routine to write pseudo-registers. (ia64_alloc_frame_cache): New routine to create a new ia64_frame_cache. (examine_prologue): Change prototype to add next_frame pointer. Assume frameless until otherwise proven. Verify that the cfm for current frame matches the cfm that should occur for the prologues alloc insn and if equal, mark as not frameless. At end of routine, if not frameless, calculate registers for the previous frame and store in the cache, if a cache is provided. (ia64_skip_prologue): Use new prototype when calling examine_prologue and pass 0 for next_frame. (ia64_store_return_value): Change to use convert_typed_floating() instead of calling ia64_convert_to_raw(). (ia64_extract_return_value): Change to use convert_typed_floating() instead of calling ia64_convert_to_virtual(). (ia64_frame_cache): New routine to support new frame model. (ia64_frame_this_id, ia64_frame_prev_register): Ditto. (ia64_frame_sniffer): Ditto. (ia64_sigtramp_frame_init_saved_regs): Ditto. (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. (ia64_sigtramp_frame_prev_register): Ditto. (ia64_sigtramp_frame_sniffer): Ditto. (ia64_frame_base_address): Ditto. (ia64_extract_struct_value_address): Change to issue error message. (ia64_frame_align): New routine to align sp. (ia64_push_dummy_call): New routine based on ia64_push_arguments(). (ia64_push_arguments): Removed. Logic moved to ia64_push_dummy_call(). (ia64_push_return_address): Ditto. (ia64_unwind_dummy_id): New function. (ia64_unwind_pc): Ditto. (ia64_convert_register_p): Ditto. (ia64_register_to_value): Ditto. (ia64_value_to_register): Ditto. (ia64_pop_frame, ia64_pop_frame_regular): Removed. (ia64_register_byte, ia64_register_raw_size): Ditto. (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. (ia64_saved_pc_after_call): Ditto. (ia64_frame_chain, ia64_frame_saved_pc): Ditto. (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. (ia64_register_convert_to_raw): Ditto. (ia64_store_struct_return, ia64_call_dummy_words): Ditto. (ia64_init_extra_frame_info): Ditto. (ia64_frame_args_address, ia64_frame_locals_address): Ditto. (ia64_gdbarch_init): Remove registering of deprecated functions that are no longer used. Add registration of new gdbarch functions. Remove registering deprecated_write_sp. Replace set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). Delete set_gdbarch_deprecated_register_convertible(), set_gdbarch_deprecated_register_convert_to_virtual(), and set_gdbarch_deprecated_register_convert_to_raw() calls. Remove set_gdbarch_deprecated_register_size(), set_gdbarch_deprecated_register_bytes(), set_gdbarch_pcregnum(), set_gdbarch_deprecated_register_byte(), set_gdbarch_deprecated_register_raw_size(), set_gdbarch_deprecated_max_register_raw_size(), set_gdbarch_deprecated_register_virtual_size(), and set_gdbarch_deprecated_max_register_virtual_size() calls. Replace set_gdbarch_deprecated_extract_return_value() with set_gdbarch_extract_return_value(). Remove calls to: set_gdbarch_deprecated_saved_pc_after_call(); set_gdbarch_deprecated_frame_chain(), set_gdbarch_deprecated_frame_saved_pc(), set_gdbarch_deprecated_frame_init_saved_regs(), set_gdbarch_deprecated_get_saved_register(), set_gdbarch_deprecated_call_dummy_words(), set_gdbarch_deprecated_sizeof_call_dummy_words(), set_gdbarch_deprecated_init_extra_frame_info(), set_gdbarch_deprecated_frame_args_address(), set_gdbarch_deprecated_frame_locals_address(), and set_gdbarch_deprecated_dummy_write_sp(). Add set_gdbarch_convert_register_p(), set_gdbarch_register_to_value(), set_gdbarch_value_to_register(), set_gdbarch_push_dummy_call(), set_gdbarch_frame_align(), set_gdbarch_unwind_dummy_id(), set_gdbarch_unwind_pc(), frame_unwind_append_sniffer(), frame_unwind_append_sniffer(), and frame_base_set_default().