aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2002-01-15* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): RenameAndrew Cagney1-1/+1
CLEAN_UP_REGISTER_VALUE. * regcache.c (supply_register): Update only call.
2002-01-11* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001Andrew Cagney1-0/+2
and bfd/elf32-sh-nbsd.c.
2002-01-09* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.Richard Earnshaw3-3/+3
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder10-10/+14
Implement a "generate-core-file" command in gdb, save target state. * gcore.c: New file. Implement new command 'generate-core-file'. Save a corefile image of the current state of the inferior. * linux-proc.c: Add linux-specific code for saving corefiles. * target.h (struct target_ops): Add new target vectors for saving corefiles; to_find_memory_regions and to_make_corefile_notes. (target_find_memory_regions): New macro. (target_make_corefile_notes): New macro. * target.c (update_current_target): Inherit new target methods. (dummy_find_memory_regions): New place-holder method. (dummy_make_corefile_notes): New place-holder method. (init_dummy_target): Initialize new dummy target vectors. * exec.c (exec_set_find_memory_regions): New function. Allow the exec_ops vector for memory regions to be taken over. (exec_make_note_section): New function, target vector method. * defs.h (exec_set_find_memory_regions): Export prototype. * procfs.c (proc_find_memory_regions): New function, corefile method. (procfs_make_note_section): New function, corefile method. (init_procfs_ops): Set new target vector pointers. (find_memory_regions_callback): New function. (procfs_do_thread_registers): New function. (procfs_corefile_thread_callback): New function. * sol-thread.c (sol_find_memory_regions): New function. (sol_make_note_section): New function. (init_sol_thread_ops): Initialize new target vectors. * inftarg.c (inftarg_set_find_memory_regions): New function. Allow to_find_memory_regions vector to be taken over. (inftarg_set_make_corefile_notes): New function. Allow to_make_corefile_notes vector to be taken over. * thread-db.c (thread_db_new_objfile): Don't activate thread-db interface layer if not target_has_execution (may be a corefile). * config/i386/linux.mh: Add gcore.o to NATDEPFILES. * config/sparc/sun4sol2.mh: Ditto. * config/alpha/alpha-linux.mh: Ditto. * config/arm/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder10-11/+16
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-06* MAINTAINERS: Mark a29k target as obsolete.Andrew Cagney5-966/+966
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) (remote-mm.o, remote-udi.o): Obsolete. Remove references in comments. * NEWS: Note that a29k targets are obsolete. * a29k-tdep.c: Mark as obsolete. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and a29k-*-vxworks* targets as obsolete. * remote-adapt.c: Obsolete. * remote-eb.c: Obsolete. * remote-mm.c: Obsolete. * remote-udi.c: Obsolete. * config/a29k/a29k-udi.mt: Obsolete. * config/a29k/a29k.mt: Obsolete. * config/a29k/tm-a29k.h: Obsolete. * config/a29k/tm-vx29k.h: Obsolete. * config/a29k/vx29k.mt: Obsolete.
2002-01-05Don't include <endian.h>Andrew Cagney1-3/+0
2002-01-05* acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe5-11/+23
* config.in: Regenerate. * configure.in: Update copyright years. Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. * configure: Regenerate. * i386bsd-nat.c: Update copyright years. (fill_gregset): Use regcache_collect. (fetch_inferior_registers): Only fetch integer registers if requested to do so. Add support for XMM registers using PT_GETXMMREGS. (store_inferior_registers): Only store integer registers if requested to do so. Add support for XMM registers using PT_SETXMMREGS. * i386nbsd-nat.c (fetch_inferior_registers): Remove. (store_inferior_registers): Remove. (fetch_core_registers): Use supply_gregset and i387_supply_fsave. (fetch_elfcore_registers): New function. (i386nbsd_elfcore_fns): New. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and i386bsd-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise. * config/i386/tm-nbsd.h: Update copyright years. (HAVE_SSE_REGS): Define. (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. (SIGCONTEXT_PC_OFFSET): Remove. (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2002-01-05Remove obsolete MacOS support.Andrew Cagney6-158/+0
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney14-18/+18
2002-01-04* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.Jason Thorpe1-1/+1
2001-12-27* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,Mark Kettenis1-35/+7
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM, LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM, IS_FP_REGNUM, IS_SSE_REGNUM): Removed. (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS. (SIZEOF_FPU_CTRL_REGS): Hardcode value. * i386-tdep.h (struct gdbarch_tdep): Change such that it contains a single member `num_xmm_regs'. (FPC_REGNUM): New macro. (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM, LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM, LAST_FPU_CTRL_REGNUM): Removed. (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Define unconditionally. Change macros to match the comment describing the register layout. (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros. (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros. (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete, unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and SSE_REGNUM_P). (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make obsolete, unconditionally define in terms of FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM. * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs' member of `struct gdbarch_tdep'. * x86-64-tdep.c (i386_gdbarch_init): Change initialization of `struct gdbarch_tdep'. * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM. Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
2001-12-24powerpc aix build failure. Add self to maintainers.Tom Rix1-1/+1
2001-12-212001-12-21 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+4
* configure.tgt: Delete CRIS from multi-arch targets. * config/cris/tm-cris.h: New file. * config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o. (TM_FILE): New macro. * cris-tdep.c (cris_examine): Correct check for srp register. (supply_gregset, fetch_core_registers, cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace): New functions. (_initialize_cris_tdep): Add core functions and new command. (cris_gdbarch_init): Define link map offsets.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-6/+2
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): New function. (fetch_register): New function. (fetch_ppc_registers): New function. (fetch_inferior_registers): New function. (store_register): New function. (store_ppc_registers): New function. (store_inferior_registers): New function. (ppc_register_u_addr): Eliminate ustart parameter and its uses. Make static. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed. Include sys/ptrace.h. * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. (U_REGS_OFFSET, REGISTER_U_ADDR): Delete. * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
2001-12-19 * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.Jeff Law1-31/+4
(EXTRACT_RETURN_VALUE): Similarly. * hppa-tdep.c (hppa_store_return_value): New function. (hppa_extract_return_value): New function.
2001-12-192001-12-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-5/+7
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P. Always define SOFTWARE_SINGLE_STEP. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Always compile these functions. (arm_software_single_step): Fix second argument in function calls.
2001-12-172001-12-17 Ben Harris <bjh21@netbsd.org>Ben Harris1-1/+1
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c. * armnbsd-nat.c: New file, renamed from armbsd-nat.c. * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c. * config/arm/nbsd.mh: Likewise.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-3/+13
From Richard Earnshaw <rearnsha@arm.com>: * arm-tdep.c (arm_software_single_step): New function. Implements software single-stepping for ARM targets. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only needed for software single-stepping. * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser5-0/+123
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-16Conditionally include solib.h.Kevin Buettner1-0/+7
2001-12-15LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney13-13/+13
2001-12-14 * config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files.Corinna Vinschen1-0/+7
2001-12-13 * Makefile.in: Add support for xstormy16.Corinna Vinschen1-0/+5
* configure.tgt: Ditto. * xstormy16-tdep.c: New file. * config/xstormy16/xstormy16.mt: New file.
2001-12-10* arch-utils.c (generic_register_raw_size): New function.Andrew Cagney1-8/+0
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as the static default. * gdbarch.c: Regenerate. * arch-utils.h (generic_register_raw_size): Declare. * config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro. * mips-tdep.c (mips_register_raw_size): Make function static. (mips_gdbarch_init): Initialize register_raw_size.
2001-12-092001-12-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-4/+0
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove definition, it is now multiarched. * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add fields for special register numbers. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special regnum fields. (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields instead of hardcoded macros. (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy, ppc_push_return_address, rs6000_frame_saved_pc, frame_get_saved_regs, rs6000_frame_chain, rs6000_store_return_value): Ditto. (rs6000_stab_reg_to_regnum): New function. * ppcnbsd-nat.c (fetch_inferior_registers, store_inferior_registers, fetch_core_registers): Ditto. * ppc-linux-tdep.c (ppc_linux_in_sigtramp, ppc_linux_frame_init_saved_regs): Ditto. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, fill_gregset): Ditto. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Ditto.
2001-12-08* config/s390/s390.mh: Don't use the linux-thread.o module;Jim Blandy1-1/+1
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-06* config/s390/nm-linux.h: Watchpoints are either continuable orJim Blandy1-1/+0
steppable, not both. The S/390 has continuable watchpoints, so delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-05* gdbserver/low-linux.c (arm_register_u_addr): added.Keith Walker2-0/+13
(initialize_arch): added for ARM target. * config/arm/nm-linux.h (U_REGS_OFFSET) defined. (REGISTER_U_ADDR) defined. * config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
2001-12-03Include solib.h.Kevin Buettner2-0/+6
2001-12-02* i386-tdep.c (i386go32_frame_saved_pc): New function.Andrew Cagney1-1/+2
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare. (FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
2001-12-02Delete HOST_BYTE_ORDER.Andrew Cagney50-215/+6
2001-12-01Zap sony news (m68k) and ISI (m68k) targets.Andrew Cagney11-503/+0
2001-12-01Zap the ultra series of a29k host and target.Andrew Cagney6-339/+0
2001-12-01Zap Sun's i386i.Andrew Cagney5-264/+0
2001-12-01Zap all but ns32k-netbsd NS32k targets and hosts.Andrew Cagney12-573/+0
2001-12-01Zap harris target and host.Andrew Cagney5-169/+0
2001-12-01Zap some older PPC targets.Andrew Cagney12-280/+0
2001-12-01Zap a29k.Andrew Cagney2-220/+0
2001-12-01Delete tic80 target.Andrew Cagney2-262/+0
2001-12-01Add cross platform SVR4 shared library support for PowerPC.Kevin Buettner11-11/+11
2001-11-30Define SVR4 link map offset fetcher for Linux/ARM.Kevin Buettner1-0/+4
2001-11-27* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS ifChristopher Faylor1-2/+6
HAVE_CONTEXT_EXTENDED_REGISTERS is defined. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended registers if HAVE_SSE_REGS is defined. (mappings array): Add offset of extended registers. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-25 * config/djgpp/config.sed: Fix an error in etc/ at "make install"Eli Zaretskii1-0/+2
time on non-LFN systems where standards*.inf* expands to nothing.
2001-11-24* win32-nat.c (_initialize_check_for_gdb_ini): New function.Christopher Faylor1-10/+0
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__. (GDBINIT_FILENAME): Remove.
2001-11-23Add x86 OpenBSD native configuration.Mark Kettenis4-0/+198
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh, config/i386/nm-obsd.h: New files. * configure.host (i[3456]86-*-openbsd*): New host. * configure.tgt (i[3456]86-*-openbsd*): New target. * NEWS: Update.
2001-11-202001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+1
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern declaration.
2001-11-18* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.Andrew Cagney1-2/+0
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18Zap config/i386/tm-embed.h.Andrew Cagney2-27/+1
2001-11-17 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,Daniel Jacobowitz1-1/+1
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. * sparc-linux-nat.c: New file, from Mark Kettenis.