Ulrich Weigand
0e5fae36f1
S/390: Rename source files to *-linux-*
...
As suggested before, rename the S/390-related source files (tdep and nat)
such that "-linux-" occurs in the file name, like with other GNU/Linux
targets. Since no other operating system is currently supported by GDB
on this architecture, this isn't strictly necessary. But the old names
sometimes caused GDB contributors to miss these files when performing a
change that affects all GNU/Linux targets. The latest such incident was
observed here:
https://sourceware.org/ml/gdb-patches/2013-09/msg00619.html
gdb/
2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
* s390-tdep.h: Rename to...
* s390-linux-tdep.h: ...here.
* s390-tdep.c: Rename to...
* s390-linux-tdep.c: ...here. Adjust #include.
* s390-nat.c: Rename to...
* s390-linux-nat.c: ...here. Adjust #include.
* config/s390/s390.mh: Rename to...
* config/s390/linux.mh: ...here. Reflect rename s390-nat.o ->
s390-linux-nat.o.
* configure.host: Reflect host rename "s390" -> "linux".
* configure.tgt: Reflect rename s390-tdep.o -> s390-linux-tdep.o.
* Makefile.in (ALL_TARGET_OBS): Likewise.
(HFILES_NO_SRCDIR): Reflect rename s390-tdep.h ->
s390-linux-tdep.h.
(ALLDEPFILES): Reflect rename of .c files.
2013-10-30 18:57:08 +01:00
Ulrich Weigand
d91fab15e7
2013-09-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
...
* config/s390/s390.mh (NATDEPFILES): Add linux-waitpid.o.
2013-09-10 15:05:23 +00:00
Jan Kratochvil
5f572decf9
gdb/
...
* Makefile.in (linux-ptrace.o): New.
* common/linux-procfs.c (linux_proc_pid_is_zombie): New,
from linux-nat.c.
* common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration.
* common/linux-ptrace.c: New file.
* config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o.
* config/arm/linux.mh: Likewise.
* config/i386/linux.mh: Likewise.
* config/i386/linux64.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/linux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/powerpc/ppc64-linux.mh: Likewise.
* config/powerpc/spu-linux.mh: Likewise.
* config/s390/s390.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/xtensa/linux.mh: Likewise.
* linux-nat.c (linux_lwp_is_zombie): Remove, move it to
common/linux-procfs.c.
(wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie.
gdb/gdbserver/
* Makefile.in (linux-ptrace.o): New.
* configure.srv (arm*-*-linux*, bfin-*-*linux*, crisv32-*-linux*)
(cris-*-linux*, i[34567]86-*-linux*, ia64-*-linux*, m32r*-*-linux*)
(m68*-*-linux*, m68*-*-uclinux*, mips*-*-linux*, powerpc*-*-linux*)
(s390*-*-linux*, sh*-*-linux*, sparc*-*-linux*, tic6x-*-uclinux)
(x86_64-*-linux*, xtensa*-*-linux*): Add linux-ptrace.o to SRV_TGTOBJ
of these targets.
* linux-low.c (linux_attach_lwp_1): Remove redundent else clause.
2012-03-13 15:00:37 +00:00
Ulrich Weigand
761f4555cc
* configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
...
* config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
2012-01-05 17:07:05 +00:00
Jan Kratochvil
5dd05d8c5e
gdb/
...
* config/s390/s390.mh (NATDEPFILES): Add linux-procfs.o dependency.
2011-09-02 21:40:30 +00:00
Kwok Yeung
d26e3629bb
2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com>
...
gdb/
* defs.h: Add guard against inclusion in gdbserver.
(struct ptid, ptid_t): Move to common/ptid.h.
(xfree, xzalloc, xasprintf, xvasprintf, xstrprintf, xstrvprintf,
xsnprintf, internal_error): Move to common/common-utils.h.
(nomem): Delete.
* gdb_assert.h: Move into common/ sub-directory.
* gdb_locale.h: Ditto.
* gdb_dirent.h: Ditto.
* inferior.h (minus_one_ptid, null_ptid, ptid_build, pid_to_ptid,
ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid):
Move into common/ptid.h.
* xml-support.c (xml_escape_text): Move into common/xml-utils.c.
(gdb_xml_create_parser_and_cleanup_1, xml_fetch_context_from_file):
Change nomem to malloc_failure.
* xml-support.h (xml_escape_text): Move into common/xml-utils.h.
* utils.c (nomem): Rename to malloc_failure.
(xmalloc, xzalloc, xrealloc, xcalloc, xfree, xstrprintf, xasprintf,
xvasprintf, xstrvprintf, xsnprintf): Move to common/common-utils.c.
(gdb_buildargv): Change nomem to malloc_failure.
* infrun.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid,
ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal,
ptid_is_pid): Move into common/ptid.c.
(initialize_infrun): Delete initialization of null_ptid and
minus_one_ptid.
* linux-nat.c (linux_nat_xfer_osdata): Defer to
linux_common_xfer_osdata.
* Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c,
common/ptid.c and common/buffer.c.
(HFILES_NO_SRCDIR): Add common/common-utils.h, common/xml-utils.h,
common/ptid.h, common/buffer.h and common/linux-osdata.h.
(COMMON_OBS): Add xml-utils.o, common-utils.o, buffer.o and ptid.o.
(common-utils.o, xml-utils.o, ptid.o, buffer.o, linux-osdata.o): New
rules.
* common/gdb_assert.h: New.
* common/gdb_dirent.h: New.
* common/gdb_locale.h: New.
* common/buffer.c: New.
* common/buffer.h: New.
* common/ptid.c: New.
* common/ptid.h: New.
* common/xml-utils.c: New.
* common/xml-utils.h: New.
* common/common-utils.c: New.
* common/common-utils.h: New.
* common/linux-osdata.c: New.
* common/linux-osdata.h: New.
* config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-osdata.o.
* config/arm/linux.mh (NATDEPFILES): Ditto.
* config/i386/linux.mh (NATDEPFILES): Ditto.
* config/i386/linux64.mh (NATDEPFILES): Ditto.
* config/ia64/linux.mh (NATDEPFILES): Ditto.
* config/m32r/linux.mh (NATDEPFILES): Ditto.
* config/m68k/linux.mh (NATDEPFILES): Ditto.
* config/mips/linux.mh (NATDEPFILES): Ditto.
* config/pa/linux.mh (NATDEPFILES): Ditto.
* config/powerpc/linux.mh (NATDEPFILES): Ditto.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto.
* config/s390/s390.mh (NATDEPFILES): Ditto.
* config/sparc/linux.mh (NATDEPFILES): Ditto.
* config/sparc/linux64.mh (NATDEPFILES): Ditto.
* config/xtensa/linux.mh (NATDEPFILES): Ditto.
gdbserver/
* linux-low.c (compare_ints, unique, list_threads, show_process,
linux_core_of_thread): Delete.
(linux_target_ops): Change linux_core_of_thread to
linux_common_core_of_thread.
(linux_qxfer_osdata): Defer to linux_common_xfer_osdata.
* utils.c (malloc_failure): Change type of argument.
(xmalloc, xrealloc, xcalloc, xsnprintf): Delete.
* Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c,
common/linux-osdata.c, common/ptid.c and common/buffer.c.
(OBS): Add xml-utils.o, common-utils.o, ptid.o and buffer.o.
(IPA_OBJS): Add common-utils-ipa.o.
(ptid_h, linux_osdata_h): New macros.
(server_h): Add common/common-utils.h, common/xml-utils.h,
common/buffer.h, common/gdb_assert.h, common/gdb_locale.h and
common/ptid.h.
(common-utils-ipa.o, common-utils.o, xml-utils.o, linux-osdata.o,
ptid.o, buffer.o): New rules.
(linux-low.o): Add common/linux-osdata.h as a dependency.
* configure.srv (srv_tgtobj): Add linux-osdata.o to Linux targets.
* configure.ac: Add AC_HEADER_DIRENT check.
* config.in: Regenerate.
* configure: Regenerate.
* remote-utils.c (xml_escape_text): Delete.
(buffer_grow, buffer_free, buffer_init, buffer_finish,
buffer_xml_printf): Move to common/buffer.c.
* server.c (main): Remove call to initialize_inferiors.
* server.h (struct ptid, ptid_t, minus_one_ptid, null_ptid,
ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid,
ptid_equal, ptid_is_pid, initialize_inferiors, xml_escape_text,
internal_error, gdb_assert, gdb_assert_fail): Delete.
(struct buffer, buffer_grow, buffer_free, buffer_init, buffer_finish,
buffer_xml_printf, buffer_grow_str, buffer_grow_str0): Move to
common/buffer.h.
* inferiors.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid,
ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid,
initialize_inferiors): Delete.
2011-07-21 23:46:12 +00:00
Jan Kratochvil
f6528abd64
gdb/
...
* Makefile.in (RDYNAMIC): New.
(SFILES): Add proc-service.list.
* config/alpha/alpha-linux.mh (NAT_CDEPS): New.
(LOADLIBES): Replace -rdynamic by $(RDYNAMIC).
* config/arm/linux.mh: Likewise.
* config/i386/linux.mh: Likewise.
* config/i386/linux64.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/linux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/powerpc/ppc64-linux.mh: Likewise.
* config/s390/s390.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/xtensa/linux.mh: Likewise.
* configure.ac: New RDYNAMIC on native host and GCC.
(solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC.
* configure: Regenerate.
* proc-service.list: New.
gdb/gdbserver/
* Makefile.in (SFILES): Add $(srcdir)/proc-service.list.
(CDEPS): New.
* configure.ac (RDYNAMIC): New AC_MSG_CHECKING wrapping. Test also
-Wl,--dynamic-list.
* configure: Regenerate.
* proc-service.list: New.
2010-05-28 18:50:35 +00:00
Hui Zhu
9b4eba8eb8
2009-10-26 Michael Snyder <msnyder@vmware.com>
...
Hui Zhu <teawater@gmail.com>
* Makefile.in (SFILES): Add gcore.c.
(COMMON_OBS): Add gcore.o.
* config/alpha/alpha-linux.mh (NATDEPFILES): Delete gcore.o.
* config/alpha/fbsd.mh (NATDEPFILES): Ditto.
* config/arm/linux.mh (NATDEPFILES): Ditto.
* config/i386/fbsd.mh (NATDEPFILES): Ditto.
* config/i386/fbsd64.mh (NATDEPFILES): Ditto.
* config/i386/i386sol2.mh (NATDEPFILES): Ditto.
* config/i386/linux.mh (NATDEPFILES): Ditto.
* config/i386/linux64.mh (NATDEPFILES): Ditto.
* config/i386/sol2-64.mh (NATDEPFILES): Ditto.
* config/ia64/linux.mh (NATDEPFILES): Ditto.
* config/m32r/linux.mh (NATDEPFILES): Ditto.
* config/m68k/linux.mh (NATDEPFILES): Ditto.
* config/mips/linux.mh (NATDEPFILES): Ditto.
* config/pa/linux.mh (NATDEPFILES): Ditto.
* config/powerpc/linux.mh (NATDEPFILES): Ditto.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto.
* config/s390/s390.mh (NATDEPFILES): Ditto.
* config/sparc/fbsd.mh (NATDEPFILES): Ditto.
* config/sparc/linux.mh (NATDEPFILES): Ditto.
* config/sparc/linux64.mh (NATDEPFILES): Ditto.
* config/sparc/sol2.mh (NATDEPFILES): Ditto.
* config/xtensa/linux.mh (NATDEPFILES): Ditto.
* target.c (dummy_find_memory_regions): Change output.
(dummy_make_corefile_notes): Ditto.
2009-10-26 18:30:39 +00:00
Ulrich Weigand
a4ce5b0d02
* config/alpha/alpha-linux.mt: Remove file.
...
* 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 00:54:18 +00:00
Ulrich Weigand
8d00578918
* solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
...
(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-24 21:21:16 +00:00
Ulrich Weigand
910122bf0a
* linux-nat.c (linux_register_u_offset): Remove.
...
(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 22:17:48 +00:00
Daniel Jacobowitz
6aba47ca06
Copyright updates for 2007.
2007-01-09 17:59:20 +00:00
Ulrich Weigand
982e9687bf
* config/tm-linux.h: Delete file.
...
* 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-28 21:41:03 +00:00
Andreas Schwab
d311d956ed
* config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
2006-03-23 14:05:29 +00:00
Ulrich Weigand
fd7979d1fe
* config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
...
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
(s390_stopped_by_watchpoint, s390_insert_watchpoint,
s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Likewise.
* s390-nat.c: Remove include of <sys/user.h>.
(kernel_u_size): Remove.
(s390_stopped_by_watchpoint): Make static.
(s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
(s390_can_use_hw_breakpoint): New function.
(s390_region_size_ok_for_hw_watchpoint): Likewise.
(_initialize_s390_nat): Add watchpoint methods to target.
2005-09-11 21:54:59 +00:00
Daniel Jacobowitz
10d6c8cd3f
* Makefile.in (ALLDEPFILES): Update.
...
(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-09-10 18:11:14 +00:00
Daniel Jacobowitz
ed89d17542
* linux-thread-db.c: New file, renamed from thread-db.c.
...
* 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-11-14 18:47:52 +00:00
Andrew Cagney
dba24537b6
2004-09-28 Andrew Cagney <cagney@gnu.org>
...
* 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-28 17:29:12 +00:00
Andrew Cagney
d6b0e80fa5
2004-09-16 Andrew Cagney <cagney@gnu.org>
...
* 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-27 19:55:18 +00:00
Andrew Cagney
2c0fc04208
Index: ChangeLog
...
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-13 20:55:42 +00:00
Andrew Cagney
ee31a58d74
2004-09-13 Andrew Cagney <cagney@gnu.org>
...
* config/i386/nm-i386.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/s390/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/pa/nm-hppah.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/frv/tm-frv.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* mips-tdep.c (mips_dump_tdep): Do not print same.
2004-09-13 14:06:04 +00:00
Andrew Cagney
63f22f0da5
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* config/vax/nbsd.mt (TM_FILE): Set to solib.h.
* config/vax/tm-nbsd.h: Delete file.
* config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
* config/sparc/tm-vxworks.h: Delete file.
* config/sparc/nbsd.mt (TM_FILE): Set to solib.h.
* config/sparc/tm-nbsd.h: Delete file.
* config/sparc/linux64.mt (TM_FILE): Set to solib.h.
* config/sparc/linux.mt (TM_FILE): Set to solib.h.
* config/sparc/tm-linux.h: Delete file.
* config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h
* config/s390/tm-linux.h: Delete file.
* config/pa/obsd.mt (TM_FILE): Set to solib.h.
* config/pa/tm-bsd.h: Delete file.
* config/m68k/obsd.mt (TM_FILE): Set to solib.h.
* config/m68k/tm-obsd.h: Delete file.
* config/m68k/nbsd.mt (TM_FILE): Set to solib.h.
* config/m68k/tm-nbsd.h: Delete file.
* config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
* config/i386/tm-vxworks.h: Delete file.
* config/i386/obsd64.mt (TM_FILE): Set to solib.h.
* config/i386/obsd.mt (TM_FILE): Set to solib.h.
* config/i386/nbsd64.mt (TM_FILE): Set to solib.h.
* config/i386/nbsd.mt (TM_FILE): Set to solib.h.
* config/i386/tm-nbsd.h: Delete file.
* config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h.
* config/i386/tm-i386lynx.h: Delete file.
* config/cris/cris.mt (TM_FILE): Set to solib.h.
* config/cris/tm-cris.h: Delete file.
2004-09-02 22:37:41 +00:00
Mark Kettenis
50cca7bbe8
Committed by Mark Kettenis <kettenis@gnu.org>.
...
* config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
Define.
2004-02-18 20:09:48 +00:00
Jim Blandy
e1457d83a5
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Committed by Jim Blandy <jimb@redhat.com>.
* config/s390/nm-linux.h: Update comments.
(target_insert_watchpoint, target_remove_watchpoint): Redefine.
(STOPPED_BY_WATCHPOINT): Redefine.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
(s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
(s390_stopped_by_watchpoint): Likewise.
(watch_area_cnt): Remove.
* s390-nat.c: Update comments.
(watch_area): Remove typedef.
Global replace watch_area by struct watch_area.
(watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
(s390_stopped_by_watchpoint): Remove pid argument,
use s390_inferior_tid. Add short-cut for the no watchpoint case.
(s390_fix_watch_points): Remove pid argument,
use s390_inferior_tid. Recompute area spanned by watchpoints.
(s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
argument. Reimplement.
2004-02-18 03:47:35 +00:00
Jim Blandy
d0f54f9d42
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Committed by Jim Blandy <jimb@redhat.com>.
* config/s390/nm-linux.h: Update comments. Do not include "solib.h".
(KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
(FETCH_INFERIOR_REGISTERS): Define.
* config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
core-regset.o.
* config/s390/s390x.mt: Remove.
* config/s390/tm-s390.h: Remove.
* config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
(TARGET_ELF64): Remove.
(SKIP_TRAMPOLINE_CODE): Do not undefine.
* configure.tgt [s390-*-*, s390x-*-*]: Merge into single
s390*-*-* case; always set gdb_target to s390.
* regformats/reg-s390.dat: Remove control registers.
* regformats/reg-s390x.dat: Likewise.
* s390-tdep.h: New file.
* s390-nat.c: Do not include <asm/processor.h> or <value.h>.
Include "inferior.h" and "s390-tdep.h".
Remove private definition of offsetof.
(s390_register_u_addr): Remove.
(regmap_gregset, regmap_fpregset): Define.
(supply_gregset, fill_gregset): Reimplement.
(supply_fpregset, fill_fpregset): Likewise.
(s390_inferior_tid): New function.
(fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
(fetch_inferior_registers, store_inferior_registers): Likewise.
* s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
(struct gdbarch_tdep): Define.
(struct s390_register_info): Define.
(s390_register_info): New variable.
(s390_register_name): Reimplement.
(s390_register_type): New function.
(s390_register_raw_size, s390x_register_raw_size): Remove.
(s390_cannot_fetch_register): Remove.
(s390_register_byte): Remove.
(s390_register_virtual_type, s390x_register_virtual_type): Remove.
(s390_dwarf_regmap): New variable.
(s390_dwarf_reg_to_regnum): New function.
(s390_stab_reg_to_regnum): Remove.
(s390_pseudo_register_read, s390_pseudo_register_write): New functions.
(s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
(s390_convert_register_p): Likewise.
(s390_register_to_value, s390_value_to_register): Likewise.
(s390_register_reggroup_p): Likewise.
(s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
s390_gregset, s390x_gregset, s390_fpregset): New variables.
(s390_supply_regset, s390_regset_from_core_section): New functions.
(GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
(S390_FPR_SIZE): Likewise.
(S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
(S390_NUM_GPRS): Move here from tm-s390.h.
(S390_NUM_FPRS): Likewise.
(s390_in_function_epilogue_p): New function.
(s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
(s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
Replace S390_FP_REGNUM by S390_SP_REGNUM.
Remove calls to:
set_gdbarch_deprecated_max_register_raw_size,
set_gdbarch_deprecated_max_register_virtual_size,
set_gdbarch_deprecated_register_byte,
set_gdbarch_cannot_fetch_register,
set_gdbarch_cannot_store_register,
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_raw_size,
set_gdbarch_deprecated_register_virtual_size,
set_gdbarch_deprecated_register_virtual_type,
set_gdbarch_deprecated_register_bytes.
Add calls to:
set_gdbarch_num_pseudo_regs,
set_gdbarch_register_type,
set_gdbarch_convert_register_p,
set_gdbarch_register_to_value,
set_gdbarch_value_to_register,
set_gdbarch_register_reggroup_p,
set_gdbarch_regset_from_core_section,
set_gdbarch_pseudo_register_read,
set_gdbarch_pseudo_register_write,
set_gdbarch_in_function_epilogue_p.
* Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
(s390_tdep_h): New variable.
2004-02-18 03:42:51 +00:00
Andrew Cagney
341e3d113e
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros.
* config/s390/nm-linux.h (KERNEL_U_ADDR): Define.
* config/s390/xm-linux.h: Delete file.
* config/m88k/xm-delta88v4.h: Delete stray.
2003-11-10 00:11:12 +00:00
Andrew Cagney
57b29be766
2003-09-03 Andrew Cagney <cagney@redhat.com>
...
* 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 15:02:51 +00:00
Daniel Jacobowitz
0b1b50c059
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
...
* 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-20 13:57:30 +00:00
Daniel Jacobowitz
3993f6b15a
* Makefile.in (linux-nat.o): Add rule.
...
* 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.
2003-06-15 20:56:48 +00:00
Andrew Cagney
b8b527c5a9
2003-05-16 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
* gdbarch.h, gdbarch.c: Re-generate.
* arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
* TODO (REGISTER_BYTES): Delete reference.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
(ns32k_gdbarch_init_32382): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* i386-linux-tdep.c (i386_linux_init_abi): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* sparc-tdep.c (sparc_pop_frame): Update.
* rs6000-tdep.c (rs6000_pop_frame): Update.
* remote.c (init_remote_state): Update.
(remote_prepare_to_store): Update.
* remote-vx.c (vx_prepare_to_store): Update.
* remote-sds.c (sds_fetch_registers): Update.
(sds_prepare_to_store): Update.
* remote-array.c: Update.
* regcache.c (init_legacy_regcache_descr): Update.
(init_regcache_descr): Update.
* mips-tdep.c (mips_eabi_extract_return_value): Update.
(mips_o64_extract_return_value): Update.
* irix5-nat.c (fetch_core_registers): Update.
* irix4-nat.c (fetch_core_registers): Update.
* i386-tdep.h: Update.
* hppa-tdep.c (pa_do_registers_info): Update.
(pa_do_strcat_registers_info): Update.
* cris-tdep.c (cris_register_bytes_ok): Update.
* config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
* config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
* config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
* config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
* config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
* config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
* config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
* config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
* config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
* config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
* config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
* config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
(REGISTER_BYTES_OK): Update.
* config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
* config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
Index: doc/ChangeLog
2003-05-16 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
REGISTER_BYTES with DEPRECATED_REGISTER_BYTES. Fix typo,
DEPRECATED_REGISTER_SIZE instead of REGISTER_BYTE.
Index: mi/ChangeLog
2003-05-16 Andrew Cagney <cagney@redhat.com>
* mi-main.c (mi_setup_architecture_data):
2003-05-17 06:00:01 +00:00
Andrew Cagney
b1e29e332a
2003-05-03 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
(DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
SIZEOF_CALL_DUMMY_WORDS.
(DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
(DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
(DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
CALL_DUMMY_BREAKPOINT_OFFSET.
(DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
CALL_DUMMY_START_OFFSET.
(DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
* gdbarch.h, gdbarch.c: Re-generate.
* alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
* arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
* dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
* gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
* i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
* mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
* sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
* vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
* config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
* config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
* config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
* config/sparc/tm-sparc.h: Update.
Index: doc/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Make
CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH,
FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and
CALL_DUMMY_BREAKPOINT_OFFSET deprecated.
Index: mi/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Replace
REGISTER_SIZE with DEPRECATED_REGISTER_SIZE.
Index: testsuite/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-05 17:56:57 +00:00
Andrew Cagney
0ba6dca974
2003-04-28 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
(DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
* inferior.h (deprecated_read_fp): Rename read_fp.
(generic_target_read_fp): Delete declaration.
* regcache.c (generic_target_read_fp): Delete function.
(deprecated_read_fp): Replace read_fp, use
DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
* d10v-tdep.c (d10v_read_fp): Delete function.
(d10v_gdbarch_init): Do not set deprecated_read_fp.
* sparc-tdep.c (sparc_gdbarch_init): Do not set
deprecated_target_read_fp to generic_target_read_fp.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set
deprecated_fp_regnum.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
DEPRECATED_FP_REGNUM.
(vax_push_dummy_frame, vax_pop_frame): Ditto.
* std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
(sparc_push_dummy_frame, sparc64_read_fp): Ditto.
(sparc32_register_virtual_type): Ditto.
* sh-tdep.c (sh64_frame_chain): Ditto.
(sh64_get_saved_register, sh64_pop_frame): Ditto.
(sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump): Ditto.
* procfs.c (procfs_fetch_registers): Ditto.
(procfs_store_registers): Ditto.
* ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
(fetch_kcore_registers, clear_regs): Ditto.
* ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
(ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
* nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
* nlm/i386.c (do_status): Ditto.
* mipsv4-nat.c (supply_gregset): Ditto.
* mips-tdep.c: Ditto for comments.
* mips-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
* m68k-tdep.c (m68k_push_dummy_frame): Ditto.
(m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
* i386-tdep.c (i386_frame_init_saved_regs): Ditto.
(i386_do_pop_frame, i386_register_type): Ditto.
* hppa-tdep.c (hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
(hppa_pop_frame, hppa_read_fp): Ditto.
(skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
* cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
* config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
* config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
* blockframe.c: Ditto for comments.
* arch-utils.h: Ditto for comments.
* arch-utils.c (legacy_virtual_frame_pointer): Ditto.
* alphanbsd-tdep.c (fetch_core_registers): Ditto.
* alphabsd-nat.c (fetch_inferior_registers): Ditto.
* alpha-tdep.h: Ditto for comments.
* alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
(alpha_cannot_store_register): Ditto.
(alpha_push_dummy_frame): Ditto.
* alpha-nat.c (supply_gregset): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/sparc/tm-sparc.h: Update comment.
* hppa-tdep.c (hppa_init_extra_frame_info): Use
deprecated_read_fp instead of TARGET_READ_FP.
(hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, hppa_read_fp): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
deprecated_read_fp instead of read_fp.
* s390-tdep.c (s390_push_arguments): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* frame.h: Ditto in comments.
* frame.c (legacy_get_prev_frame): Ditto.
* dummy-frame.c (dummy_frame_this_id): Ditto.
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-29 01:49:49 +00:00
Kris Warkentin
7df1a32481
add HAVE_CONTINUABLE_WATCHPOINT to target_ops
2003-02-24 21:56:51 +00:00
Andrew Cagney
cd9bfe1540
* MAINTAINERS: Mark a29k as deleted.
...
* NEWS: Mention that a29k was removed. Add OBSOLETE section.
Move new configurations to the top.
* configure.tgt: Remove a29k.
* config/a29k/tm-vx29k.h: Delete.
* config/a29k/vx29k.mt: Delete.
* config/a29k/tm-a29k.h: Delete.
* config/a29k/a29k-udi.mt: Delete.
* config/a29k/a29k.mt: Delete.
* a29k-tdep.c: Delete.
* remote-udi.c: Delete.
* remote-mm.c: Delete.
* remote-eb.c: Delete.
* remote-adapt.c: Delete.
* Makefile.in: Remove obsolete code.
* gdbserver/Makefile.in: Ditto.
* config/s390/s390x.mt: Ditto.
* config/s390/s390.mt: Ditto.
* config/sparc/sparclynx.mh: Ditto.
* config/sparc/linux.mh: Ditto.
* config/pa/hppaosf.mh: Ditto.
* config/pa/hppabsd.mh: Ditto.
* config/ns32k/nbsd.mt: Ditto.
* config/mips/vr5000.mt: Ditto.
* config/m68k/sun3os4.mh: Ditto.
* config/m68k/nbsd.mt: Ditto.
* config/m68k/m68klynx.mh: Ditto.
* config/m32r/m32r.mt: Ditto.
* config/i386/x86-64linux.mt: Ditto.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/nbsd.mt: Ditto.
* config/i386/i386lynx.mh: Ditto.
2002-05-04 15:52:42 +00:00
Andreas Schwab
2f2f1ad1fe
* config/s390/s390.mh (NATDEPFILES): Remove solib.o, add
...
linux-proc.o and gcore.o.
2002-04-28 00:30:01 +00:00
Andrew Cagney
923620278b
s/Linux/.../
...
Fix PR gdb/378.
2002-02-24 22:56:08 +00:00
Andrew Cagney
b8b8b04721
From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
...
* config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
architecture defines.
* s390-tdep.c (s390_gdbarch_init): Likewise.
2002-02-23 20:00:17 +00:00
Daniel Jacobowitz
4cc841d043
2002-02-14 Daniel Jacobowitz <drow@mvista.com>
...
* config/arm/linux.mt: Update GDBSERVER_DEPFILES.
* config/i386/linux.mt: Likewise.
* config/ia64/linux.mt: Likewise.
* config/m68k/linux.mh: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/mips/linux.mt: Likewise.
* config/sh/linux.mt: Add GDBSERVER_DEPFILES.
* config/i386/i386lynx.mh: Mark gdbserver variables
as (currently) obsolete for this target.
* config/i386/nbsd.mt: Likewise.
* config/i386/nbsdelf.mt: Likewise.
* config/m32r/m32r.mt: Likewise.
* config/m68k/m68klynx.mh: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/m68k/sun3os4.mh: Likewise.
* config/mips/vr5000.mt: Likewise.
* config/ns32k/nbsd.mt: Likewise.
* config/pa/hppabsd.mh: Likewise.
* config/pa/hppaosf.mh: Likewise.
* config/powerpc/nbsd.mt: Likewise.
* config/rs6000/rs6000lynx.mh: Likewise.
* config/s390/s390.mt: Likewise.
* config/s390/s390x.mt: Likewise.
* config/sparc/sparclynx.mh: Likewise.
* config/sparc/sun4os4.mh: Likewise.
* config/i386/x86-64linux.mt: Likewise.
* config/sparc/linux.mh: Likewise.
2002-02-14 05:48:40 +00:00
Andrew Cagney
7708fa0111
Remove XDEPFILES from GDB.
2002-01-18 04:51:10 +00:00
Jim Blandy
7aa07d2df5
* config/s390/s390.mh: Don't use the linux-thread.o module;
...
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08 19:17:17 +00:00
Jim Blandy
08ea399688
* config/s390/nm-linux.h: Watchpoints are either continuable or
...
steppable, not both. The S/390 has continuable watchpoints, so
delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-06 16:17:06 +00:00
Andrew Cagney
2607059cba
Delete HOST_BYTE_ORDER.
2001-12-02 02:57:18 +00:00
Jim Blandy
8114216ba3
* config/s390/s390.mh (NATDEPFILES): Don't split this across
...
several lines with backslashes; the `sed' command in
configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
assignment doesn't handle lines extended with backslashes.
2001-11-06 00:04:51 +00:00
Mark Kettenis
3902478264
* config/s390/nm-linux.h: Don't include <signal.h>.
...
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
2001-10-14 21:04:05 +00:00
Andrew Cagney
5769d3cd7d
S/390 31 & 64 bit target and GNU/Linux native support.
...
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
* s390-nat.c, s390-tdep.c: New file.
* config/s390/nm-linux.h, config/s390/s390.mh: New file.
* config/s390/s390.mt, config/s390/s390x.mt: New file.
* config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
* config/s390/xm-linux.h: New file.
* NEWS: Update.
* MAINTAINERS: Update.
2001-10-13 22:13:35 +00:00