aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm
AgeCommit message (Collapse)AuthorFilesLines
2007-11-17 * config/alpha/alpha-linux.mt: Remove file.Ulrich Weigand5-14/+0
* config/alpha/alpha.mt: Remove file. * config/alpha/alpha-osf1.mt: Remove file. * config/alpha/fbsd.mt: Remove file. * config/alpha/nbsd.mt: Remove file. * config/alpha/obsd.mt: Remove file. * config/arm/embed.mt: Remove file. * config/arm/linux.mt: Remove file. * config/arm/nbsd.mt: Remove file. * config/arm/obsd.mt: Remove file. * config/arm/wince.mt: Remove file. * config/avr/avr.mt: Remove file. * config/cris/cris.mt: Remove file. * config/frv/frv.mt: Remove file. * config/h8300/h8300.mt: Remove file. * config/i386/cygwin.mt: Remove file. * config/i386/fbsd64.mt: Remove file. * config/i386/fbsd.mt: Remove file. * config/i386/i386gnu.mt: Remove file. * config/i386/i386.mt: Remove file. * config/i386/i386sol2.mt: Remove file. * config/i386/linux64.mt: Remove file. * config/i386/linux.mt: Remove file. * config/i386/mingw.mt: Remove file. * config/i386/nbsd64.mt: Remove file. * config/i386/nbsd.mt: Remove file. * config/i386/nto.mt: Remove file. * config/i386/obsd64.mt: Remove file. * config/i386/obsd.mt: Remove file. * config/i386/sol2-64.mt: Remove file. * config/ia64/ia64.mt: Remove file. * config/ia64/linux.mt: Remove file. * config/iq2000/iq2000.mt: Remove file. * config/m32c/m32c.mt: Remove file. * config/m32r/linux.mt: Remove file. * config/m32r/m32r.mt: Remove file. * config/m68hc11/m68hc11.mt: Remove file. * config/m68k/linux.mt: Remove file. * config/m68k/monitor.mt: Remove file. * config/m68k/nbsd.mt: Remove file. * config/m68k/obsd.mt: Remove file. * config/m88k/obsd.mt: Remove file. * config/mep/mep.mt: Remove file. * config/mips/embed.mt: Remove file. * config/mips/irix5.mt: Remove file. * config/mips/irix6.mt: Remove file. * config/mips/linux.mt: Remove file. * config/mips/nbsd.mt: Remove file. * config/mips/obsd64.mt: Remove file. * config/mn10300/linux.mt: Remove file. * config/mn10300/mn10300.mt: Remove file. * config/mt/mt.mt: Remove file. * config/pa/hppahpux.mt: Remove file. * config/pa/hppa.mt: Remove file. * config/pa/linux.mt: Remove file. * config/pa/obsd.mt: Remove file. * config/powerpc/aix.mt: Remove file. * config/powerpc/linux.mt: Remove file. * config/powerpc/nbsd.mt: Remove file. * config/powerpc/obsd.mt: Remove file. * config/powerpc/ppc-eabi.mt: Remove file. * config/s390/s390.mt: Remove file. * config/score/embed.mt: Remove file. * config/sh/embed.mt: Remove file. * config/sh/linux.mt: Remove file. * config/sh/nbsd.mt: Remove file. * config/sh/obsd.mt: Remove file. * config/sh/sh64.mt: Remove file. * config/sparc/embed.mt: Remove file. * config/sparc/fbsd.mt: Remove file. * config/sparc/linux64.mt: Remove file. * config/sparc/linux.mt: Remove file. * config/sparc/nbsd64.mt: Remove file. * config/sparc/nbsd.mt: Remove file. * config/sparc/obsd64.mt: Remove file. * config/sparc/obsd.mt: Remove file. * config/sparc/sol2-64.mt: Remove file. * config/sparc/sol2.mt: Remove file. * config/sparc/sparc64.mt: Remove file. * config/sparc/sparc.mt: Remove file. * config/spu/spu.mt: Remove file. * config/v850/v850.mt: Remove file. * config/vax/nbsd.mt: Remove file. * config/vax/obsd.mt: Remove file. * config/vax/vax.mt: Remove file. * config/xstormy16/xstormy16.mt: Remove file. * config/xtensa/xtensa.mt: Remove file. * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere. (gdb_target): Likewise. (gdb_target_obs): Document. Set for every target to contents of TDEPFILES in former .mt makefile fragment. * configure.ac (TARGET_OBS): Define. (target_makefile_frag, gdb_target_cpu): Do not define. * configure: Regenerate. * Makefile.in (MT_FLAGS): Remove. (GLOBAL_CFLAGS): Update. (TARGET_OBS): Substitute from configure. (DEPFILES): Remove TDEPFILES, add TARGET_OBS. (@target_makefile_frag@): Remove. doc/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. testsuite/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. (target_cpu): Remove.
2007-11-17 * config/arm/embed.mt (SIM_OBS, SIM): Remove.Ulrich Weigand1-3/+0
* config/avr/avr.mt (SIM_OBS, SIM): Remove. * config/frv/frv.mt (SIM_OBS, SIM): Remove. * config/h8300/h8300.mt (SIM_OBS, SIM): Remove. * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove. * config/m32c/m32c.mt (SIM_OBS, SIM): Remove. * config/m32r/linux.mt (SIM_OBS, SIM): Remove. * config/m32r/m32r.mt (SIM_OBS, SIM): Remove. * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove. * config/mips/embed.mt (SIM_OBS, SIM): Remove. * config/mips/linux.mt (SIM_OBS, SIM): Remove. * config/mips/nbsd.mt (SIM_OBS, SIM): Remove. * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove. * config/powerpc/linux.mt (SIM_OBS, SIM): Remove. * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove. * config/powerpc/ppc-sim.mt: Remove file. * config/sh/embed.mt (SIM_OBS, SIM): Remove. * config/sh/linux.mt (SIM_OBS, SIM): Remove. * config/sh/nbsd.mt (SIM_OBS, SIM): Remove. * config/sh/sh64.mt (SIM_OBS, SIM): Remove. * config/sparc/embed.mt (SIM_OBS, SIM): Remove. * config/v850/v850.mt (SIM_OBS, SIM): Remove. * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove. * configure.tgt (gdb_sim): Document variable. (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it. (avr-*-*): Likewise. (frv-*-*): Likewise. (h8300-*-*): Likewise. (iq2000-*-*): Likewise. (m32c-*-*): Likewise. (m32r*-*-linux*): Likewise. (m32r*-*-*): Likewise. (m68hc11*-*-*|m6811*-*-*): Likewise. (mips*-*-*): Likewise. (mips*-*-linux*): Likewise. (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise. (mn10300-*-*): Likewise. (powerpc-*-linux* | powerpc64-*-linux*): Likewise. (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise. (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim. (sh*): Set gdb_sim. (sh-*-linux*): Likewise. (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise. (sh64-*-elf*): Likewise. (sparc-*-rtems*): Likewise. (v850*-*-elf): Likewise. (xstormy16-*-*): Likewise. * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set. (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}. * configure: Regenerate. * Makefile.in (SIM, SIM_OBS): Substitute from configure. (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
2007-10-24 * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.Ulrich Weigand1-2/+1
(solib_svr4_init): Initialize fetch_link_map_offsets to NULL. * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. * solib-legacy.c: Remove file. * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. * config/arm/linux.mt (TDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/ia64/linux.mt (TDEPFILES): Likewise. * config/m32r/linux.mt (TDEPFILES): Likewise. * config/powerpc/linux.mt (TDEPFILES): Likewise. * config/s390/s390.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c (alpha_linux_init_abi): Call set_solib_svr4_fetch_link_map_offsets. * i386gnu-tdep.c (i386gnu_init_abi): Likewise. * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. * i386gnu-tdep.c: Include "solib-svr4.h". * Makefile.in: Update dependencies.
2007-10-15 * target-descriptions.c (tdesc_predefined_types): New.Daniel Jacobowitz1-4/+0
(tdesc_named_type): Use it. (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. (_intialize_target_descriptions): Register "maint print c-tdesc". * features/Makefile (XMLTOC, CFILES, GDB): New macros. (cfiles, %.c): New rules. * features/arm-with-iwmmxt.c, features/mips-linux.c, features/mips64-linux.c: New generated files. * arm-linux-nat.c: Include preparsed description instead of "xml-support.h". (super_xfer_partial, arm_linux_xfer_partial): Remove. (arm_linux_read_description): New function. (_initialize_arm_linux_nat): Set to_read_description instead of to_xfer_partial. Initialize preparsed description. * config/arm/linux.mh (TDEP_XML): Delete. * mips-linux-nat.c: Include preparsed descriptions instead of "xml-support.h". (super_xfer_partial, mips_linux_xfer_partial): Remove. (mips_linux_read_description): New function. (_initialize_mips_linux_nat): Set to_read_description instead of to_xfer_partial. Initialize preparsed description. * config/mips/linux.mh (TDEP_XML): Delete. * Makefile.in (XMLFILES): Remove $(TDEP_XML). (features_headers, arm_with_iwmmxt_c, mips_linux_c) (mips64_linux_c): New macros. (arm-linux-nat.o, mips-linux-nat.o): Update. * gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc".
2007-10-12 * config/arm/nm-nbsdaout.h: Remove file.Ulrich Weigand1-28/+0
* config/nm-nbsdaout.h: Likewise. * config/nm-nbsd.h: Likewise.
2007-10-11 * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCKDaniel Jacobowitz4-31/+0
checks. * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do not set DEPRECATED_TM_FILE. * config/arm/tm-arm.h: Delete file. * gdbint.texinfo (Target Conditionals): Remove VARIABLES_INSIDE_BLOCK.
2007-08-23 Switch the license of all .c files to GPLv3.Joel Brobecker2-8/+4
Switch the license of all .h files to GPLv3. Switch the license of all .cc files to GPLv3.
2007-07-31 * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.Pedro Alves1-1/+1
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and solib-svr4.o, and add solib-target.o
2007-05-16 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.Ulrich Weigand2-49/+1
* config/arm/tm-embed.h: Delete file. * arm-tdep.h (arm_software_single_step): Declare. * arm-tdep.c (arm_software_single_step): Make global. (arm_gdbarch_init): Move set_gdbarch_software_single_step call from here to ... * arm-linux-tdep.c (arm_linux_init_abi): ... here ... * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... * armobsd-tdep.c (armobsd_init_abi): ... here ... * arm-wince-tdep.c (arm_wince_init_abi): ... and here. * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer allow defines to be overriden by TM file. (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, change default to {0xbe,0xbe}. * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, arm_obsd_thumb_be_breakpoint): New global variables. (armobsd_init_abi): Override tdep->thumb_breakpoint and tdep->thumb_breakpoint_size. * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. (arm_wince_init_abi): Override tdep->thumb_breakpoint and tdep->thumb_breakpoint_size. * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
2007-04-25 * linux-nat.c (linux_register_u_offset): Remove.Ulrich Weigand2-30/+1
(linux_target_install_ops): New function. (linux_target): Use it. (linux_trad_target): New function. * linux-nat.h (linux_trad_target): Declare. * alpha-linux-nat.c: Include "gdbcore.h". (alpha_linux_register_u_offset): New function. (_initialize_alpha_linux_nat): Use linux_trad_target. * mips-linux-nat.c: Include "gdbcore.h". (mips_linux_register_u_offset): New function. (_initialize_mips_linux_nat): Use linux_trad_target. * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/arm/nm-linux.h: Delete file. * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/ia64/nm-linux.h: Delete file. * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/m32r/nm-linux.h: Delete file. * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/m68k/nm-linux.h: Delete file. * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/pa/nm-linux.h: Delete file. * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. * config/powerpc/nm-linux.h: Delete file. * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. * config/s390/nm-linux.h: Delete file. * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/sparc/linux64.mh (NAT_FILE): Likewise. * config/sparc/nm-linux.h: Delete file. * Makefile.in (alpha-linux-nat.o): Update dependencies. (mips-linux-nat.o): Likewise.
2007-04-25 * core-aout.c: Delete file.Ulrich Weigand1-12/+0
* Makefile.in (ALLDEPFILES): Remove core-aout.c. (core-aout.o): Delete rule. * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. (cannot_fetch_register, cannot_store_register): Remove. (fetch_register): Inline cannot_fetch_register and register_addr. (store_register): Inline cannot_store_register and register_addr. * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove. * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. (fetch_register): Inline register_addr. (store_register): Inline register_addr. * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, U_REGS_OFFSET, REGISTER_U_ADDR): Remove. * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, REGISTER_U_ADDR): Remove. * hppa-linux-nat.c (register_addr): Rename to ... (hppa_linux_register_addr): ... this. Make static. (fetch_register, store_register): Adapt callers. * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. * ppc-linux-nat.c (kernel_u_size): Remove. * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. (NAT_FILE): Remove. * config/vax/nm-vax.h: Delete file.
2007-03-29gdb/Pedro Alves2-39/+4
* arm-wince-tdep.c: New. * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. (MT_CFLAGS): Delete. (TM_CLIBS): Delete. (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, solib-legacy.o, solib-svr4.o, and remove wince.o. * configure.tgt (arm*-*-mingw32ce*): Add. * signals/signals.c [HAVE_SIGNAL_H]: Check. (do_target_signal_to_host): Silence 'not used' warning. * config/arm/tm-wince.h: Remove. gdb/gdbserver/ * gdbserver/configure.ac: Add errno checking. (AC_CHECK_HEADERS): Add errno.h, fcntl.h, signal.h, sys/file.h and malloc.h. (AC_CHECK_DECLS): Add perror. (srv_mingwce): Handle. * gdbserver/configure.srv (i[34567]86-*-cygwin*): Add win32-i386-low.o to srv_tgtobj. (i[34567]86-*-mingw*): Likewise. (arm*-*-mingw32ce*): Add case. * gdbreplay.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, HAVE_FCNTL_H, HAVE_ERRNO_H, HAVE_MALLOC_H]: Check. [__MINGW32CE__] (strerror): New function. [__MINGW32CE__] (errno): Define to GetLastError. [__MINGW32CE__] (COUNTOF): New macro. (remote_open): Remove extra close call. * mem-break.c (delete_breakpoint_at): New function. * mem-break.h (delete_breakpoint_at): Declare. * remote-utils.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, HAVE_FCNTL_H, HAVE_UNISTD_H, HAVE_ERRNO_H]: Check. [USE_WIN32API] (read, write): Add char* casts. * server.c [HAVE_UNISTD_H, HAVE_SIGNAL_H]: Check. * server.h: Include wincecompat.h on Windows CE. [HAVE_ERRNO_H]: Check. (perror): Declare if not declared. * utils.c: Add stdlib.h, errno.h and malloc.h includes. (perror_with_name): Remove errno declaration. * wincecompat.h: New. * wincecompat.c: New. * win32-low.h: New. * win32-arm-low.c: New. * win32-i386-low.c: New. (win32-low.c): Include mem-break.h and win32-low.h, and winnt.h. (OUTMSG2): Make it safe. (_T): New macro. (COUNTOF): New macro. (NUM_REGS): Get it from the low target. (CONTEXT_EXTENDED_REGISTERS, CONTEXT_FLOATING_POINT, CONTEXT_DEBUG_REGISTERS): Add fallbacks to 0. (thread_rec): Let low target handle debug registers. (child_add_thread): Likewise. (child_init_thread_list): Likewise. (continue_one_thread): Likewise. (regptr): New. (do_child_fetch_inferior_registers): Move to ... * win32-i386-low.c: ... here, and rename to ... (do_fetch_inferior_registers): ... this. * win32-low.c (child_fetch_inferior_registers): Go through the low target. (do_child_store_inferior_registers): Use regptr. (strwinerror): New function. (win32_create_inferior): Handle Windows CE. Use strwinerror instead of strerror on Windows error codes. Add program to the error output. Don't close the main thread handle on Windows CE. (win32_attach): Use coredll.dll on Windows CE. (win32_kill): Close current process and current thread handles. (win32_detach): Use coredll.dll on Windows CE. (win32_resume): Let low target handle debug registers, and step request. (handle_exception): Add/Remove initial breakpoint. Avoid non-existant WSTOPSIG on Windows CE. (win32_read_inferior_memory): Cast to remove warning. (win32_arch_string): Go through the low target. (initialize_low): Call set_breakpoint_data with the low target's breakpoint. * win32-low.c (dr, FLAG_TRACE_BIT, FCS_REGNUM, FOP_REGNUM, mappings): Move to ... * win32-i386-low.c: ... here. * win32-low.c (win32_thread_info): Move to ... * win32-low.h: ... here. * Makefile.in (SFILES): Add win32-low.c, win32-i386-low.c, win32-arm-low.c and wincecompat.c. (all:): Add $EXEEXT. (install-only:): Likewise. (gdbserver:): Likewise. (gdbreplay:): Likewise. * config.in: Regenerate. * configure: Regenerate.
2007-02-26 * Makefile.in (XMLFILES): Include $(TDEP_XML).Daniel Jacobowitz1-0/+3
(filenames_h): New variable. (clean): Clean up xml-builtin.c and stamp-xml. (arm-linux-nat.o): Update. * config/arm/linux.mh (TDEP_XML): Define. * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_linux_has_wmmx_registers): New. (GET_THREAD_ID): Fix typo. (IWMMXT_REGS_SIZE): Define. (fetch_wmmx_regs, store_wmmx_regs): New. (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. (arm_linux_store_inferior_registers): Use store_wmmx_regs. (super_xfer_partial, arm_linux_xfer_partial): New. (_initialize_arm_linux_nat): Use them. * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. (xml_builtin_xfer_partial): New function. * xml-support.h (xml_builtin_xfer_partial): New prototype. * NEWS: Update mention of iWMMXt support.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz5-7/+8
2006-11-28 * config/tm-linux.h: Delete file.Ulrich Weigand2-48/+1
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h. * config/alpha/tm-alphalinux.h: Delete file. * config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h * config/arm/tm-linux.h: Delete file. * config/i386/tm-linux.h: Do not include "config/tm-linux.h". * config/ia64/tm-linux.h: Do not include "config/tm-linux.h". * config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove. * config/mips/tm-linux.h: Do not include "config/tm-linux.h". * config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. * config/pa/tm-linux.h: Delete file. * config/powerpc/tm-linux.h: Do not include "config/tm-linux.h". * config/s390/linux.mt (DEPRECATED_TM_FILE): Remove. * config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. * config/sh/tm-linux.h: Delete file. * alpha-linux-tdep.c: Include "symtab.h". (alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * i386-linux-tdep.c: Include "symtab.h". (i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * ia64-linux-tdep.c: Include "symtab.h". (ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * m32r-linux-tdep.c: Include "symtab.h". (m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * mips-linux-tdep.c: Include "symtab.h". (mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * sh-linux-tdep.c: Include "symtab.h". (sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_skip_trampoline_code. * s390-nat.c: Do not include "tm.h". * Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h). (i386-linux-tdep.o): Likewise. (ia64-linux-tdep.o): Likewise. (m32r-linux-tdep.o): Likewise. (mips-linux-tdep.o): Likewise. (sh-linux-tdep.o): Likewise. (s390-nat.o): Remove dependency on $(tm_h).
2006-11-24 * Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.Ulrich Weigand1-1/+0
(nto-procfs.o): Likewise. * mips-linux-tdep.c: Include "solib.h". * nto-procfs.c: Likewise. * config/nm-linux.h: Do not include "solib.h". * config/nm-nbsd.h: Likewise. * config/tm-linux.h: Likewise. * config/alpha/nm-osf.h: Likewise. * config/frv/tm-frv.h: Likewise. * config/i386/nm-fbsh.h: Likewise. * config/i386/nm-i386gnu.h: Likewise. * config/i386/nm-i386sco5.h: Likewise. * config/i386/nm-i386sol2.h: Likewise. * config/i386/nm-i386v4.h: Likewise. * config/i386/nm-i386v42mp.h: Likewise. * config/i386/tm-i386sol2.h: Likewise. * config/i386/tm-nto.h: Likewise. * config/mips/nm-irix5.h: Likewise. * config/mips/tm-nbsd.h: Likewise. * config/pa/tm-hppah.h: Likewise. * config/powerpc/tm-ppc-eabi.h: Likewise. * config/rs6000/tm-rs6000.h: Likewise. * config/sh/tm-nbsd.h: Likewise. * config/sparc/nm-sol2.h: Likewise. * config/sparc/tm-sol2.h: Likewise. * config/arm/nbsdaout.mh: Remove NAT_FILE. * config/i386/nbsdaout.mh: Likewise. * config/i386/nbsdelf.mh: Likewise. * config/i386/obsdaout.mh: Likewise. * config/m68k/nbsdaout.mh: Likewise. * config/m68k/obsd.mh: Likewise. * config/sparc/nbsdaout.mh: Likewise. * config/cris/cris.mt: Remove DEPRECATED_TM_FILE. * config/i386/linux64.mt: Likewise. * config/m68k/linux.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/sparc/linux.mt: Likewise. * config/sparc/linux64.mt: Likewise. * config/vax/nbsd.mt: Likewise.
2006-08-02* arm-tdep.h: Add multiple inclusion protection.Mark Kettenis1-1/+2
(struct gdbarch): Add forward declaration. (armobsd_regset_from_core_section): New prototype. * armbsd-tdep.c: New file. * armobsd-tdep.c: Include "gdb_string.h". (armobsd_init_abi): Set regset_from_core_section. (armobsd_core_osabi_sniffer): New function. (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer. * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c. (armbsd-tdep.o): New dependency. (armnbsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
2006-07-17* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.Mark Kettenis1-1/+1
* Makefile.in (armobsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-16* armobsd-tdep.c: New file.Mark Kettenis1-0/+2
* Makefile.in (ALLDEPFILES): Add armobsd-tdep.c. (armobsd-tdep.o): New dependency. * config/arm/obsd.mt: New file. * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
2006-07-15* armnbsd-tdep.c: Don't include "nbsd-tdep.h".Mark Kettenis1-3/+2
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. (DEPRECATED_TM_FILE): Remove. * Makefile.in (armnbsd-tdep.o): Update dependencies.
2006-07-12 * Makefile.in (arm_linux_tdep_h): New variable.Daniel Jacobowitz2-3/+5
(arm-linux-nat.o, arm-linux-tdep.o): Update. * arm-linux-nat.c: Include "arm-linux-tdep.h". (typeNone, typeSingle, typeDouble, typeExtended) (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): Delete. (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, and collect_nwfpe_register. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use new regset functions. * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". (arm_apcs_32): New declaration. (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) (typeExtended, supply_nwfpe_register, collect_nwfpe_register) (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) (arm_linux_regset_from_core_section): New. (arm_linux_init_abi): Register arm_linux_regset_from_core_section. * arm-linux-tdep.h: New file. * arm-tdep.h (struct regset): Declare. (struct gdbarch_tdep): Add gregset, fpregset members. * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/arm/linux.mt (TDEPFILES): Add corelow.o.
2006-05-17 * remote-rdp.c: Deleted.Daniel Jacobowitz1-1/+1
* NEWS: Mention removal of remote-rdp.c. * Makefile.in (ALLDEPFILES): Remove remote-rdp.c. (remote-rdp.o): Delete. * README: Remove description of remote-rdp.c. * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment. * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
2006-01-21 * Makefile.in (remote-rdi.o): Remove.Mark Mitchell1-2/+1
(rdi-share/libangsd.a): Likewise. * README: Don't mention remote-rdi.c. * NEWS: Mention removal of rdi-share. * configure.ac: Don't configure rdi-share subdirectory. * remote-rdi.c: Remove. * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. (TDEPLIBS): Remove rdi-share/libangsd.a. * rdi-share/Makefile.am: Remove. * rdi-share/Makefile.in: Likewise. * rdi-share/README.CYGNUS: Likewise. * rdi-share/aclocal.m4: Likewise. * rdi-share/adp.h: Likewise. * rdi-share/adperr.h: Likewise. * rdi-share/angel.h: Likewise. * rdi-share/angel_bytesex.c: Likewise. * rdi-share/angel_bytesex.h: Likewise. * rdi-share/angel_endian.h: Likewise. * rdi-share/ardi.c: Likewise. * rdi-share/ardi.h: Likewise. * rdi-share/armdbg.h: Likewise. * rdi-share/buffers.h: Likewise. * rdi-share/chandefs.h: Likewise. * rdi-share/channels.h: Likewise. * rdi-share/chanpriv.h: Likewise. * rdi-share/configure: Likewise. * rdi-share/configure.in: Likewise. * rdi-share/crc.c: Likewise. * rdi-share/crc.h: Likewise. * rdi-share/dbg_conf.h: Likewise. * rdi-share/dbg_cp.h: Likewise. * rdi-share/dbg_hif.h: Likewise. * rdi-share/dbg_rdi.h: Likewise. * rdi-share/devclnt.h: Likewise. * rdi-share/devices.h: Likewise. * rdi-share/devsw.c: Likewise. * rdi-share/devsw.h: Likewise. * rdi-share/drivers.c: Likewise. * rdi-share/drivers.h: Likewise. * rdi-share/etherdrv.c: Likewise. * rdi-share/ethernet.h: Likewise. * rdi-share/host.h: Likewise. * rdi-share/hostchan.c: Likewise. * rdi-share/hostchan.h: Likewise. * rdi-share/hsys.c: Likewise. * rdi-share/hsys.h: Likewise. * rdi-share/logging.c: Likewise. * rdi-share/logging.h: Likewise. * rdi-share/msgbuild.c: Likewise. * rdi-share/msgbuild.h: Likewise. * rdi-share/params.c: Likewise. * rdi-share/params.h: Likewise. * rdi-share/rx.c: Likewise. * rdi-share/rxtx.h: Likewise. * rdi-share/serdrv.c: Likewise. * rdi-share/serpardr.c: Likewise. * rdi-share/sys.h: Likewise. * rdi-share/tx.c: Likewise. * rdi-share/unixcomm.c: Likewise. * rdi-share/unixcomm.h: Likewise.
2006-01-042006-01-04 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+1
Checkpoint/Restart for Linux. * linux-nat.c: Add support for debugging multiple forks. Add #include for linux-fork.h (interface spec). (super_mourn_inferior): New function pointer. (child_mourn_inferior): New function / target method. (linux_target): Claim to_mourn_inferior method pointer. (child_follow_fork): Call interface to linux-fork, conditionally add new fork processes to list of debugged processes. (kill_inferior): Use interface to linux-fork to kill multiple processes. * linux-fork.h: New file. * linux-fork.c: New file. Support for debugging multiple forks of the same program. Support for checkpoint and restart commands. * infrun.c (nullify_last_target_wait_ptid): New function. * Makefile.in: Add linux-fork. * config/*/linux.mh: Add linux-fork. * NEWS: Mention new functionality.
2005-12-22 * arm-linux-tdep.c (ARM_SET_R7_SIGRETURN, ARM_SET_R7_RT_SIGRETURN)Daniel Jacobowitz1-23/+2
(ARM_EABI_SYSCALL, arm_linux_sigtramp_cache, arm_linux_sigreturn_init) (arm_linux_rt_sigreturn_init, arm_linux_sigreturn_tramp_frame) (arm_linux_rt_sigreturn_tramp_frame) (arm_eabi_linux_sigreturn_tramp_frame) (arm_eabi_linux_rt_sigreturn_tramp_frame): New. (arm_linux_init_abi): Register the new signal unwinders. (arm_linux_in_sigtramp, arm_linux_sigcontext_register_address): Delete. * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P) (SIGCONTEXT_REGISTER_ADDRESS, arm_make_sigtramp_cache) (arm_sigtramp_this_id, arm_sigtramp_prev_register) (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer): Delete. (arm_gdbarch_init): Don't register a signal unwinder. * config/arm/tm-linux.h (arm_linux_in_sigtramp) (arm_linux_sigcontext_register_address): Delete prototypes. (DEPRECATED_IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Delete. * Makefile.in (arm-linux-tdep.o): Update.
2005-09-10 * Makefile.in (ALLDEPFILES): Update.Daniel Jacobowitz1-1/+1
(alpha-linux-nat.o, sparc-linux-nat.o): New rules. (amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o) (i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o) (m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o) (sparc64-linux-nat.o): Update dependencies. * alpha-linux-nat.c, sparc-linux-nat.c: New files. * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (amd64_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (amd64_linux_child_post_start_inferior): Renamed from child_post_startup_inferior and made static. Call super_post_startup_inferior. (super_post_startup_inferior): New. (_initialize_amd64_linux_nat): Set it. Call linux_target and add_target. * arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (arm_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_arm_linux_nat): Add a prototype. Use linux_target and add_target. * hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (hppa_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_hppa_linux_nat): New function. * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (i386_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (i386_linux_resume): Renamed from child_resume and made static. (i386_linux_child_post_start_inferior): Renamed from child_post_startup_inferior and made static. Call super_post_startup_inferior. (super_post_startup_inferior): New. (_initialize_i386_linux_nat): New function. * i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef. * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove. (super_xfer_partial): New. (ia64_linux_xfer_partial): New function. Use it. (_initialize_ia64_linux_nat): New function. * ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use target_read_partial and document the problem. * inf-ptrace.c (inf_ptrace_fetch_register): Use CANNOT_FETCH_REGISTER. Fix some comments. (inf_ptrace_store_register): Use CANNOT_STORE_REGISTER. Fix some comments. * linux-nat.c: Include "inf-ptrace.h" and "auxv.h". (linux_ops, super_xfer_partial): New variables. (linux_child_post_startup_inferior): Make static. (child_post_startup_inferior): Delete. (linux_nat_attach, linux_nat_detach, resume_callback) (linux_nat_resume, linux_nat_wait, linux_nat_create_inferior) (linux_nat_mourn_inferior): Use linux_ops instead of deprecated_child_ops. (child_wait): Do not depend on CHILD_WAIT. (linux_nat_xfer_memory): Remove, replace by ... (linux_nat_xfer_partial): ... this. Use linux_ops->to_xfer_partial instead of linux_proc_xfer_memory and child_xfer_memory. (linux_nat_fetch_registers, linux_nat_store_registers) (linux_nat_child_post_startup_inferior): New functions. (init_linux_nat_ops): Use the new functions. (linux_proc_xfer_memory): Remove, replace by ... (linux_proc_xfer_partial): ... this. Make static. (linux_xfer_partial, linux_register_u_offset, linux_target): New functions. (_initialize_linux_nat): Do not modify deprecated_child_ops. * linux-nat.h (linux_proc_xfer_memory): Remove prototype. (struct mem_attrib, struct target_ops): Remove forward declarations. (linux_child_post_startup_inferior): Remove prototype. (linux_target): Add prototype. * linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ... (thread_db_xfer_partial): ... this. (init_thread_db_ops): Set to_xfer_partial instead of deprecated_xfer_memory. * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (m32r_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_m32r_linux_nat): New function. * m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (m68k_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (old_fetch_inferior_registers, old_store_inferior_registers): Made static. (_initialize_m68k_linux_nat): Use linux_target and add_target. * mips-linux-nat.c (_initialize_mips_linux_nat): New function. * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (ppc_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_ppc_linux_nat): New function. * s390-nat.c (s390_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (s390_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_s390_nat): New function. * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use linux_target and add_target. * config/nm-linux.h: Don't include "auxv.h". (struct target_waitstatus, child_wait, CHILD_WAIT) (CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT) (CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT) (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK) (DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete. * config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with inf-ptrace.o and alpha-linux-nat.o. * config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with sparc-linux-nat.o. * config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. * config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with inf-ptrace.o. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/linux64.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m32r/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/pa/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define. (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define. * config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define. * config/ia64/nm-linux.h: Don't include "target.h". (NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove. * config/djgpp/fnchange.lst: Add alpha-linux-tdep.c, alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
2005-05-22* armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".Mark Kettenis2-6/+5
Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be defined. (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers. Make static. (armnbsd_store_registers): Rename from armnbsd_store_registers. Make static. (_initialize_arm_netbsd_nat): Construct and add target vector. * Makefile.in (armnbsd-nat.o): Update dependencies. * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and intarg.o, add inf-ptrace.o. (NAT_FILE): Set to solib.h. * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o. (NAT_FILE): Remove.
2005-02-092005-02-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* config/sh/linux.mt (TDEPFILES): Add symfile-mem.o. * config/powerpc/linux.mt (TDEPFILES): Ditto. * config/pa/linux.mt (TDEPFILES): Ditto. * config/mips/linux.mt (TDEPFILES): Ditto. * config/m68k/linux.mt (TDEPFILES): Ditto. * config/m32r/linux.mt (TDEPFILES): Ditto. * config/ia64/linux.mt (TDEPFILES): Ditto. * config/arm/linux.mt (TDEPFILES): Ditto.
2004-11-14 * linux-thread-db.c: New file, renamed from thread-db.c.Daniel Jacobowitz1-1/+1
* thread-db.c: Remove. * Makefile.in (linux-thread-db.o): Rename from thread-db.o rule. * config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o to linux-thread-db.o. * config/arm/linux.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/linux64.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m32r/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/pa/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/sparc/linux.mh (NATDEPFILES): Likewise. * config/sparc/linux64.mh (NATDEPFILES): Likewise.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-4/+0
* xstormy16-tdep.c (xstormy16_in_solib_call_trampoline) (xstormy16_gdbarch_init): Do not set in_solib_call_trampoline, delete corresponding unused function. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set in_solib_call_trampoline. * config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. * config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. * config/mips/tm-nbsd.h: Ditto. * config/arm/tm-linux.h: Ditto. * config/mips/tm-linux.h: Ditto.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+0
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef IN_SOLIB_RETURN_TRAMPOLINE. * mips-tdep.c (mips_dump_tdep): Do not print IN_SOLIB_RETURN_TRAMPOLINE. (mips_in_solib_return_trampoline): Rename mips_in_return_stub. (mips_gdbarch_init): Update.
2004-09-282004-09-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* linux-proc.c: Delete file. * Makefile.in: Update. * config/sparc/linux64.mh (NATDEPFILES): * config/sparc/linux.mh (NATDEPFILES): Update. * config/s390/s390.mh (NATDEPFILES): Update. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Update. * config/powerpc/linux.mh (NATDEPFILES): Update. * config/pa/linux.mh (NATDEPFILES): Update. * config/mips/linux.mh (NATDEPFILES): Update. * config/m68k/linux.mh (NATDEPFILES): Update. * config/ia64/linux.mh (NATDEPFILES): Update. * config/i386/linux64.mh (NATDEPFILES): Update. * config/i386/linux.mh (NATDEPFILES): Update. * config/arm/linux.mh (NATDEPFILES): Update. * config/alpha/alpha-linux.mh (NATDEPFILES): Update. * linux-nat.c: Update copyright. Include <sys/param.h>, <sys/procfs.h>, "elf-bfd.h", "gregset.h", <ctype.h>, "gdbthread.h", "gdb_stat.h", <fcntl.h>. (O_LARGEFILE): Possibly define. (_initialize_linux_nat, linux_proc_pending_signals) (add_line_to_sigset, linux_proc_xfer_memory) (linux_nat_info_proc_cmd, linux_nat_make_corefile_notes) (linux_nat_do_registers, linux_nat_corefile_thread_callback) (struct linux_corefile_thread_data) (linux_nat_do_thread_registers, linux_nat_find_memory_regions) (child_pid_to_exec_file): Insert code previously in linux-proc.c.
2004-09-272004-09-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* lin-lwp.c: Delete file. * linux-nat.c: Include "gdb_assert.h", "gdb_string.h", <unistd.h>, <sys/syscall.h>, "gdbthread.h", "gdbcmd.h", "regcache.h". (status_to_str, init_lwp_list, add_lwp, delete_lwp) (find_lwp_pid, iterate_over_lwps, lin_lwp_attach_lwp) (linux_nat_attach, detach_callback, linux_nat_detach) (resume_callback, resume_clear_callback, linux_nat_resume) (kill_lwp, linux_nat_handle_extended, wait_lwp, stop_callback) (stop_wait_callback, linux_nat_has_pending, flush_callback) (status_callback, running_callback, count_events_callback) (select_singlestep_lwp_callback, select_event_lwp_callback) (cancel_breakpoints_callback, select_event_lwp, resumed_callback) (child_wait, stop_and_resume_callback, linux_nat_wait) (kill_callback, kill_wait_callback, linux_nat_kill) (linux_nat_create_inferior, linux_nat_mourn_inferior) (linux_nat_xfer_memory, linux_nat_thread_alive) (linux_nat_pid_to_str, init_linux_nat_ops, sigchld_handler) (_initialize_linux_nat): New functions. * Makefile.in: Update all dependencies. * config/sparc/linux64.mh (NATDEPFILES): Remove lin-lwp.o. * config/sparc/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/s390/s390.mh (NATDEPFILES): Remove lin-lwp.o. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/powerpc/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/pa/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/mips/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/m68k/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/ia64/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/i386/linux64.mh (NATDEPFILES): Remove lin-lwp.o. * config/i386/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/arm/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/alpha/alpha-linux.mh (NATDEPFILES): Remove lin-lwp.o.
2004-09-13Index: ChangeLogAndrew Cagney4-4/+4
2004-09-13 Andrew Cagney <cagney@gnu.org> * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE. * configure: Re-generate. * nlm/Makefile.in (TAGS): Update. * Makefile.in (TAGS): Update. * config/vax/nbsd.mt (TM_FILE): Update. * config/sparc/vxworks.mt (TM_FILE): Update. * config/sparc/sol2.mt (TM_FILE): Update. * config/sparc/sol2-64.mt (TM_FILE): Update. * config/sparc/obsd64.mt (TM_FILE): Update. * config/sparc/obsd.mt (TM_FILE): Update. * config/sparc/nbsd64.mt (TM_FILE): Update. * config/sparc/nbsd.mt (TM_FILE): Update. * config/sparc/linux64.mt (TM_FILE): Update. * config/sparc/linux.mt (TM_FILE): Update. * config/sparc/fbsd.mt (TM_FILE): Update. * config/sh/wince.mt (TM_FILE): Update. * config/sh/nbsd.mt (TM_FILE): Update. * config/sh/linux.mt (TM_FILE): Update. * config/sh/embed.mt (TM_FILE): Update. * config/s390/s390.mt (TM_FILE): Update. * config/rs6000/rs6000lynx.mt (TM_FILE): Update. * config/rs6000/rs6000.mt (TM_FILE): Update. * config/rs6000/aix4.mt (TM_FILE): Update. * config/powerpc/vxworks.mt (TM_FILE): Update. * config/powerpc/ppc-sim.mt (TM_FILE): Update. * config/powerpc/ppc-eabi.mt (TM_FILE): Update. * config/powerpc/obsd.mt (TM_FILE): Update. * config/powerpc/nbsd.mt (TM_FILE): Update. * config/powerpc/linux.mt (TM_FILE): Update. * config/powerpc/aix.mt (TM_FILE): Update. * config/pa/obsd.mt (TM_FILE): Update. * config/pa/linux.mt (TM_FILE): Update. * config/pa/hppahpux.mt (TM_FILE): Update. * config/pa/hppa64.mt (TM_FILE): Update. * config/pa/hppa.mt (TM_FILE): Update. * config/ns32k/nbsdaout.mt (TM_FILE): Update. * config/mips/wince.mt (TM_FILE): Update. * config/mips/vxmips.mt (TM_FILE): Update. * config/mips/nbsd.mt (TM_FILE): Update. * config/mips/linux.mt (TM_FILE): Update. * config/mips/irix6.mt (TM_FILE): Update. * config/mips/irix5.mt (TM_FILE): Update. * config/mips/embed.mt (TM_FILE): Update. * config/m68k/vxworks68.mt (TM_FILE): Update. * config/m68k/st2000.mt (TM_FILE): Update. * config/m68k/os68k.mt (TM_FILE): Update. * config/m68k/obsd.mt (TM_FILE): Update. * config/m68k/nbsd.mt (TM_FILE): Update. * config/m68k/monitor.mt (TM_FILE): Update. * config/m68k/linux.mt (TM_FILE): Update. * config/m68k/cisco.mt (TM_FILE): Update. * config/ia64/linux.mt (TM_FILE): Update. * config/ia64/aix.mt (TM_FILE): Update. * config/ia64/ia64.mt (TM_FILE): Update. * config/i386/vxworks.mt (TM_FILE): Update. * config/i386/obsd64.mt (TM_FILE): Update. * config/i386/obsd.mt (TM_FILE): Update. * config/i386/nto.mt (TM_FILE): Update. * config/i386/nbsd64.mt (TM_FILE): Update. * config/i386/nbsd.mt (TM_FILE): Update. * config/i386/linux64.mt (TM_FILE): Update. * config/i386/linux.mt (TM_FILE): Update. * config/i386/i386sol2.mt (TM_FILE): Update. * config/i386/i386lynx.mt (TM_FILE): Update. * config/i386/fbsd64.mt (TM_FILE): Update. * config/i386/fbsd.mt (TM_FILE): Update. * config/i386/cygwin.mt (TM_FILE): Update. * config/h8300/h8300.mt (TM_FILE): Update. * config/frv/frv.mt (TM_FILE): Update. * config/cris/cris.mt (TM_FILE): Update. * config/arm/wince.mt (TM_FILE): Update. * config/arm/nbsd.mt (TM_FILE): Update. * config/arm/linux.mt (TM_FILE): Update. * config/arm/embed.mt (TM_FILE): Update. * config/alpha/nbsd.mt (TM_FILE): Update. * config/alpha/fbsd.mt (TM_FILE): Update. * config/alpha/alpha.mt (TM_FILE): Update. * config/alpha/alpha-osf1.mt (TM_FILE): Update. * config/alpha/alpha-linux.mt (TM_FILE): Update. Index: gdbserver/ChangeLog 2004-09-02 Andrew Cagney <cagney@gnu.org> * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-29/+2
* config/vax/nm-obsd.h: Delete file. * config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/vax/nm-nbsd.h: Delete file. * config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/sh/nm-nbsd.h: Delete file. * config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/rs6000/nm-rs6000ly.h: Delete file. * config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h. * config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h. * config/powerpc/nm-obsd.h: Delete file. * config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/powerpc/nm-nbsd.h: Delete file. * config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/pa/nm-obsd.h: Delete file. * config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/mips/nm-nbsd.h: Delete file. * config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/m88k/nm-obsd.h: Delete file. * config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/m68k/nm-nbsd.h: Delete file. * config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nm-nbsd.h: Delete file. * config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nm-i386lynx.h: Delete file. * config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h. * config/arm/nm-nbsd.h: Delete file. * config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-27/+1
* configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path. * configure: Re-generate. * config/arm/nbsd.mt (TM_FILE): Set to "solib.h". * config/arm/tm-nbsd.h: Delete file.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+0
* config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete. * config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete. * config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete. * config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete. * config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete. * config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete. * config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete. * config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-24/+0
* config/xm-nbsd.h: Delete file. * config/arm/xm-nbsd.h: Delete file. * config/i386/xm-nbsd.h: Delete file. * config/ns32k/xm-nbsd.h: Delete file. * config/ns32k/nbsdaout.mh (XM_FILE): Delete. * config/i386/nbsdelf.mh (XM_FILE): Delete. * config/i386/nbsdaout.mh (XM_FILE): Delete. * config/arm/nbsdelf.mh (XM_FILE): Delete. * config/arm/nbsdaout.mh (XM_FILE): Delete.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-26/+0
* config/powerpc/xm-linux.h: Delete empty file. * config/powerpc/ppc64-linux.mh (XM_FILE): Delete. * config/powerpc/linux.mh (XM_FILE): Delete. * config/m68k/xm-linux.h: Delete empty file. * config/m68k/linux.mh (XM_FILE): Delete. * config/ia64/xm-linux.h: Delete empty file. * config/ia64/linux.mh (XM_FILE): Delete. * config/arm/xm-linux.h: Delete empty file. * config/arm/linux.mh (XM_FILE): Delete.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-4/+4
* config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here. * config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ... * config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+0
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
2004-03-182004-03-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+3
* config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with DEPRECATED_IN_SIGTRAMP. * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto. * arch-utils.c (legacy_pc_in_sigtramp): Ditto. * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+0
* config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
2003-11-15* glibc-tdep.h (struct gdbarch): Declare opaque.Mark Kettenis1-8/+0
(glibc_skip_solib_resolver): Adjust prototype. * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. (arm_linux_init_abi): Set skip_solib_resolver. * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. (i386_linux_init_abi): Set skip_solib_resolver. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (arm_linux_skip_solib_resolver): Remove prototype. * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (i386_linux_skip_solib_resolver): Remove prototype.
2003-11-14 * config/arm/nbsd.mt (TM_FILE): Define.Ian Lance Taylor2-0/+27
* config/arm/tm-nbsd.h: New file.
2003-11-09* glibc-tdep.c, glibc-tdep.h: New files.Mark Kettenis1-1/+1
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o * config/i386/linux.mt (TDEPFILES): Likewise. * i386-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * arm-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * Makefile.in (ALLDEPFILES): Add glibc-tdep.c (glibc_tdep_h): Define. (glibc-tdep.o): Add dependencies. (arm-linux-tdep.o): Update dependencies. (i386-linux-tdep.o): Likewise.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* 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-08-222003-08-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. * config/sparc/tm-sparc.h: Ditto. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH unconditionally. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
2003-06-20 * config/arm/linux.mt: Remove code protected by GDBSERVER define.Daniel Jacobowitz3-11/+0
* config/arm/nm-linux.h: Likewise. * config/arm/tm-linux.h: Likewise. * config/ia64/nm-linux.h: Likewise. * config/ia64/tm-ia64.h: Likewise. * config/s390/tm-linux.h: Likewise. * config/s390/tm-s390.h: Likewise. * s390-nat.c: Likewise. * s390-tdep.c: Likewise. * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/powerpc/linux.mh: Likewise. * config/sh/linux.mt: Likewise.
2003-06-15 * Makefile.in (linux-nat.o): Add rule.Daniel Jacobowitz1-1/+1
* linux-nat.c: New file. * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. (CHILD_INSERT_VFORK_CATCHPOINT): Define. (CHILD_INSERT_EXEC_CATCHPOINT): Define. * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. * config/arm/linux.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/sparc/linux.mh (NATDEPFILES): Likewise.