aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-09-06*** empty log message ***gdbadmin1-1/+1
2003-09-05*** empty log message ***gdbadmin1-1/+1
2003-09-04* gcore.c: Reorder include files in alphabetical order. IncludeMark Kettenis2-135/+148
"gdb_assert.h". Various coding style fixes. (derive_stack_segment, derive_heap_segment): Replace check for non-null BOTTOM and TOP with gdb_assert. (derive_heap_segment): Replace check for successful creation of ZERO with gdb_assert. (make_mem_sec): Use bfd_section_lma to set OSEC->lma.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+53
* thread-db.c (verbose_dlsym): New function. (thread_db_load): Use verbose_dlsym (thread_db_new_objfile): Print that libthread_db was loaded, and that thread debugging was enabled.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-60/+18
* configure.tgt: Add "mips64*-*-*" target. Delete mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, mips*-sony-*, and mips64*-*-elf* targets. * config/mips/embedl.mt: Delete file. * config/mips/embedl64.mt: Delete file. * config/mips/mips.mt: Delete file. * config/mips/mips64.mt: Delete file. * config/mips/tm-embed.h: Delete file. * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". * config/mips/embed64.mt: Delete out-of-date comment.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-24/+26
* hppa-tdep.c (hppa_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * mips-tdep.c (mips_dump_tdep): Do not print HAVE_NONSTEPPABLE_WATCHPOINT. (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
2003-09-04 * breakpoint.c (watchpoint_check): Remove accidentally checked inCorinna Vinschen2-12/+11
unused code. Add comment.
2003-09-04 * breakpoint.c (watchpoint_check): Check for pc being in anCorinna Vinschen2-2/+21
epilogue if watchpoint frame couldn't be found.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-31/+51
* Makefile.in: Re-generate all dependencies.
2003-09-042003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-59/+21
* arch-utils.h (legacy_print_insn): Delete declaration. * arch-utils.c (legacy_print_insn): Delete function. * disasm.c (deprecated_tm_print_insn_info): Delete. (_initialize_disasm): Delete function, contained code initializing deprecated_tm_print_insn_info. * gdbarch.sh (deprecated_tm_print_insn): Delete. (deprecated_tm_print_insn_info): Delete. (TARGET_PRINT_INSN): Do not provide a default. * gdbarch.h, gdbarch.c: Re-generate.
2003-09-04*** empty log message ***gdbadmin1-1/+1
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+23
* disasm.c (fprintf_disasm): New function. (gdb_disassemble_info): Call "init_disassemble_info", instead of INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", reverts 2003-08-14 change. (_initialize_disasm): Call "init_disassemble_info", instead of INIT_DISASSEMBLE_INFO_NO_ARCH.
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
* config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-16/+20
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. * symfile.c (syms_from_objfile): Update. (reread_symbols): `Update * exec.c (exec_file_attach): Update. (exec_file_attach): Update. * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert 2003-08-29 change. * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
2003-09-03 * arm-tdep.c: Include frame-unwind.h, frame-base.h, andDaniel Jacobowitz5-331/+287
trad-frame.h. (arm_get_cache): Delete macro. (struct arm_prologue_cache): Update comments. Make saved_regs into a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp to prev_sp. (thumb_scan_prologue): Update for cache changes. Don't call DEPRECATED_PC_IN_CALL_DUMMY. (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME argument and use it in desperation search for our prologue. Do not search past the specified PC. (arm_make_prologue_cache): Simplify. (arm_prologue_this_id, arm_prologue_prev_register) (arm_prologue_unwind, arm_prologue_unwind_sniffer) (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) (arm_sigtramp_this_id, arm_sigtramp_prev_register) (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. (arm_frame_chain_valid, arm_find_callers_reg) (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) (arm_pop_frame): Delete obsolete methods. (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. (arm_gdbarch_init): Update for new frame methods. Register prologue and sigtramp unwinders. Set the default frame base method. * Makefile.in (arm-tdep.o): Update dependencies. * varobj.c (find_frame_addr_in_frame_chain): Call get_frame_base_address. * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
2003-09-03 * arm-tdep.c (arm_minimal_frame_chain): Renamed fromDaniel Jacobowitz2-61/+120
arm_frame_chain. Take NEXT_FRAME and CACHE arguments. Use the cache instead of DEPRECATED_FRAME_SAVED_PC. (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. Take NEXT_FRAME and CACHE arguments. Call FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. Set unwound_pc in CACHE instead of modifying the frame argument. Don't bother checking the frame type when looking for sigtramp frames. (arm_make_prologue_cache, arm_frame_chain) (arm_init_extra_frame_info): New functions.
2003-09-03 * arm-tdep.c (arm_get_cache): Define.Daniel Jacobowitz2-69/+84
(struct arm_prologue_cache): Renamed from frame_extra_info. Add unwound_sp, unwound_pc, and saved_regs. (thumb_scan_prologue): Take a cache instead of the frame. (arm_scan_prologue): Likewise. (arm_frame_chain): Create a temporary cache for arm_scan_prologue instead of a temporary frame. (arm_init_extra_frame_info): Allocate and use a cache. (arm_frame_saved_pc, arm_pop_frame): Use the cache.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-7/+11
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. * config/mips/wince.mt (TM_CLIBS): Ditto. * config/sh/wince.mt (TM_CLIBS): Ditto. * config/pa/hppa64.mt (TM_CLIBS): Delete. * config/sparc/sp64.mt (CC): Delete.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney24-145/+56
* defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
2003-09-03*** empty log message ***gdbadmin1-1/+1
2003-09-02*** empty log message ***gdbadmin1-1/+1
2003-09-012003-08-30 Michael Chastain <mec@shout.net>Michael Chastain8-329/+13
* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. * config/m68k/nm-hp300hpux.h: Delete. * config/m68k/tm-hp300hpux.h: Delete. * config/m68k/xm-hp300hpux.h: Delete. * config/m68k/xm-hp300bsd.h: Delete. * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, tm-hp300hpux.h, xm-hp300hpux.h. * somsolib.c: Remove comment about hp300 shared libraries.
2003-09-01*** empty log message ***gdbadmin1-1/+1
2003-08-31* i386-linux-nat.c (ps_get_thread_area): Don't define as extern.Mark Kettenis3-39/+53
Only define PTRACE_GET_THREAD_AREA is not already defined. Various style fixes in code and comments and some additional spelling fixes in comments. Move after functions dealing with debug registers. * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. Fix coding-style.
2003-08-31* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): UseMark Kettenis2-4/+7
frame_unwind_register_unsigned instead of frame_unwind_unsigned_register.
2003-08-31*** empty log message ***gdbadmin1-1/+1
2003-08-302003-08-30 Michael Chastain <mec@shout.net>Michael Chastain4-28/+7
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux. * gdb.gdb/observer.exp: Ditto. * gdb.gdb/xfullpath.exp: Ditto.
2003-08-30* configure.in: Search for gethostbyname in libnsl.Mark Kettenis3-379/+451
* configure: Regenerated.
2003-08-30*** empty log message ***gdbadmin1-1/+1
2003-08-29* configure.in: Remove redundant AC_MSG_RESULT in check forMark Kettenis3-166/+168
uintptr_t in stdint.h. * configure: Regenerated.
2003-08-29* amd64-nat.h (struct regcache): Add opaque declaration.Mark Kettenis2-0/+4
2003-08-29* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.Mark Kettenis4-50/+123
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". Change "register array" to "register cache" in comments. (x86_64_linux_gregset64_reg_offset): New variable. (GETREGS_SUPPLIES): Remove macro. (supply_gregset): Call amd64_supply_native_gregset instead of x86_64_linux_supply_gregset. (fill_gregset): Rename `regno' to `regnum'. Call amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. (store_regs): Rename `regno' to `regnum'. (store_fpregs): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (store_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (_initialize_x86_64_linux_nat): New function. * config/i386/x86-64linux.mh.
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*** 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-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-272003-08-27 Michael Chastain <mec@shout.net>Michael Chastain2-0/+8
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.