aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
AgeCommit message (Collapse)AuthorFilesLines
2004-08-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-143/+0
* config/i386/xm-i386v.h: Delete file. * config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete. * config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete. * config/i386/xm-i386sco.h: Delete file. * config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete. * config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete. * config/i386/xm-i386v4.h: Delete file. * config/djgpp/fnchange.lst: Do not fix xm-i386v4.h. * config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete. * config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete. * config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
2004-08-012004-08-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+0
* config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete. * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete. * config/nm-gnu.h (NO_CORE_OPS): Delete. * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete. * config/i386/nm-i386v4.h (LOSING_POLL): Delete. * config/alpha/nm-osf2.h (LOSING_POLL): Delete. * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete. * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete. * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete. * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete. * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete. (TARGET_SIGNAL_RAW_VALUES): Delete. * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete. * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT) (TARGET_HW_WATCH_LIMIT): Delete. * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h. * minimon.h: Delete file.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-25/+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 Cagney4-6/+12
* config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ... * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ... * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ... * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here. * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ... * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney14-41/+0
* config/m68k/xm-m68k.h: Delete file. * config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update copyright. (HOST_LONG_DOUBLE_FORMAT): Delete macro. * config/pa/xm-linux.h: Delete empty file. * config/pa/linux.mh (XM_FILE): Delete. * config/i386/xm-i386.h: Delete empty file. * config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include "i386/xm-i386.h". * config/i386/obsdaout.mh (XM_FILE): Delete. * config/i386/obsd64.mh (XM_FILE): Delete. * config/i386/fbsd64.mh (XM_FILE): Delete. * config/i386/nto.mh (XM_FILE): Delete. * config/i386/obsd.mh (XM_FILE): Delete. * config/i386/linux64.mh (XM_FILE): Delete. * config/i386/linux.mh (XM_FILE): Delete. * config/i386/i386sol2.mh (XM_FILE): Delete. * config/i386/i386gnu.mh (XM_FILE): Delete. * config/i386/fbsd.mh (XM_FILE): Delete. * config/i386/nbsd64.mh (XM_FILE): Delete.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-6/+0
* config/pa/xm-linux.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * config/i386/xm-i386.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and GDB_HOST_LONG_DOUBLE_FORMAT instead. * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT) (GDB_HOST_LONG_DOUBLE_FORMAT): Define. * configure, config.in: Regenerate. * configure.host (gdb_host_float_format, gdb_host_double_format) (gdb_host_long_double_format): Set according to the host.
2004-07-282004-07-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* scm-lang.c (c_builtin_types): Delete extern declaration. (scm_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info. * jv-lang.c (java_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info. * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to c_builtin_types in comment. * c-lang.h (struct language_arch_info): Declare opaque. (c_language_arch_info): Declare. (c_builtin_types): Delete declaration. * c-lang.c (c_language_arch_info): Set string_char_type to builtin_char, not builtin_true_char. Make global. (c_builtin_types): Delete array. (asm_language_defn, minimal_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info.
2004-06-27* i386nbsd-nat.c: New file.Mark Kettenis2-2/+9
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c, i386obsd-nat.c and i386obsd-tdep.c. (i386nbsd-nat.o): New dependency. * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable. * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable.
2004-06-27* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.Mark Kettenis1-1/+4
(LOADLIBES): New variable.
2004-06-082004-06-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-8/+0
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers. (attach, detach): When neither PT_ATTACH / PT_DETACH nor PTRACE_ATTACH / PTRACE_DETACH available call error. (PT_ATTACH, PT_DETACH): Move definition to attach / detach. * infttrace.c (update_thread_state_after_attach, attach, detach): Remove #ifdef wrappers. * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers. * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers. * config/nm-bsd.h (ATTACH_DETACH): Delete. * config/nm-sysv4.h (ATTACH_DETACH): Delete. * config/nm-nbsd.h (ATTACH_DETACH): Delete. * config/nm-linux.h (ATTACH_DETACH): Delete. * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete. * config/pa/nm-hppah.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete. * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete. Index: doc/ChangeLog 2004-06-08 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Native Debugging): Delete documentation on ATTACH_DETACH.
2004-05-22* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",Mark Kettenis1-1/+3
<sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h". (amd64obsd_supply_pcb): New function. (_initialize_amd64obsd_nat): Enable libkvm interface. * Makefile.in (amd64obsd-nat.o): Update dependencies. * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o (LOADLIBES): New variable.
2004-05-22* bsd-kvm.c, bsd-kvm.h: New files.Mark Kettenis1-1/+4
* i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (i386fbsd_supply_pcb): New function. * Makefile.in (ALLDEPFILES): Add bsd-kvm.c. (i386fbsd-nat.o): Update dependencies. (bsd_kvm_h): New variable. (bsd-kvm.o): New dependency. * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
2004-05-03* i386-interix-nat.c, i386-interix-tdep.c,Mark Kettenis3-43/+0
config/i386/nm-interix.h, config/i386/interix.mh, config/i386/interix.mt: Remove files. * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove dependencies.
2004-05-02Move the symbol-file-from-memory functions into their own file.Jim Blandy1-1/+1
* symfile-mem.c, symfile-mem.h: New files. * symfile.c (symbol_file_add_from_bfd): New function. (symbol_file_add): Call symbol_file_add_from_bfd. (symbol_file_add_from_memory, add_symbol_file_from_memory_command): Moved to symfile-mem.c. (_initialize_symfile): Move definition of add-symbol-file-from-memory command to symfile-mem.c. * symfile.h (symbol_file_add_from_bfd): New declaration. * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. * config/powerpc/linux.mt (TDEPFILES): Same. * Makefile.in (SFILES): Add symfile-mem.c. (symfile_mem_h): New variable. (HFILES_NO_SRCDIR): Add symfile-mem.h. (symfile-mem.o): New rule.
2004-04-09* i386-sol2-tdep.c: Include "solib-svr4.h".Mark Kettenis3-10/+10
(i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. * Makefile.in (i386-sol2-tdep.o): Update dependencies. * config/i386/tm-i386sol2.h: Include :solib.h". * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
2004-04-09* config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.Mark Kettenis2-2/+2
* config/i386/linux64.mt (TDEPFILES): Likewise.
2004-04-09* config/i386/i386aout.mt: Remove file.Mark Kettenis1-2/+0
2004-04-09* configure.tgt: Remove i[34567]86-*-go32*,Mark Kettenis5-36/+1
i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv* and i[34567]86-*-isc*. Set gdb_target to i386 for i[34567]86-*-netware* and i[34567]86-*-*. * config/i386/i386.mt: New file. * config/i386/embed.mt: Remove file. * config/i386/go32.mt: Remove file. * config/i386/i386nw.mt: Remove file. * config/i386/i386v.mt: Remove file. * config/i386/tm-go32.h: Remove file.
2004-04-062004-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-57/+18
* config/i386/tm-i386.h: Delete file. * config/i386/tm-vxworks.h: Update copyright, do not include "tm-i386.h". * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. * config/i386/ncr3000.mt (TM_FILE): Delete. * config/i386/interix.mt (TM_FILE): Delete. * config/i386/i386v.mt (TM_FILE): Delete. * config/i386/i386nw.mt (TM_FILE): Delete. * config/i386/i386gnu.mt (TM_FILE): Delete. * config/i386/i386aout.mt (TM_FILE): Delete. * config/i386/embed.mt (TM_FILE): Delete.
2004-03-13* config/i386/nm-fbsd.h: Include "config/nm-bsd.h".Mark Kettenis3-25/+6
(PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): Remove defines. * config/i386/nm-fbsd64.h: Likewise. * config/i386/nm-obsd.h: Likewise. * config/sparc/nm-fbsd.h: Likewise. Update copyright year. * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
2004-02-25* amd64-tdep.h: Renamed from x86-64-tdep.h.Mark Kettenis8-22/+18
* amd64-tdep.c: Renamed from x86-64-tdep.c. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-linux-tdep.h: Renamed from x86-64-linux.h. * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64bsd-nat.c: Update copyright year. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. * Makefile.in (amd64_linux_tdep_h): Renamed from x86_64_linux_tdep_h. (amd64_tdep_h): Renamed from x86_64_tdep_h. (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) (amd64obsd-tdep.o): Update dependencies. (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New dependencies. (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove dependencies. (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, amd64-linux-nat.c amd64-linux-tdep.c. * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. * config/i386/linux64.mt: Renamed from x86-64linux.mt. (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with amd64-tdep.o and amd64-linux-tdep.o. (TM_FILE): Set to tm-linux64.h. * config/i386/linux64.mh: Renamed from x86-64linux.mh. (NAT_FILE): Set to nm-linux64.h. (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o.
2004-02-25* config/i386/tm-x86-64linux.h: Tweak comments.Mark Kettenis1-3/+3
2004-02-22* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): RenameMark Kettenis1-9/+9
from x86_64_linux_gregset64_reg_offset. (amd64_linux_gregset32_reg_offset): Rename from x86_64_linux_gregset64_reg_offset. (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get. (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set. (amd64_linux_dr_set_control): Renamed from x86_64_linux_dr_set_control. Adjust for renamed functions. (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr. Adjust for renamed functions. (amd64_linux_dr_reset_addr): Renamed from x86_64_linux_dr_reset_addr. Adjust for renamed functions. (amd64_linux_dr_get_status): Renamed from x86_64_linux_dr_get_status. Adjust for renamed functions. (_initialize_amd64_linux_nat): Renamed from _initialize_x86_64_linux_nat. Adjust for renamed variables and functions. * config/i386/nm-x86-64linux.h: Update copyright year. Adjust for renamed functions.
2004-02-22Remove old 386BSD support.Mark Kettenis5-109/+0
* configure.host: Remove i[34567]86-*-bsd*. * configure.tgt: Remove i[34567]86-*-bsd*. * i386b-nat.c: Removed. * Makefile.in (ALLDEPFILES): Remove i386b-nat.c. * config/i386/i386bsd.mh: Removed. * config/i386/i386bsd.mt: Removed. * config/i386/nm-i386bsd.h: Removed. * config/i386/tm-i386bsd.h: Removed. * config/i386/xm-i386bsd.h: Removed.
2004-02-22* amd64fbsd-tdep.c: Include "solib-svr4.h".Mark Kettenis23-95/+82
(amd64fbsd_init_abi): Set link map offsets. * amd64nbsd-tdep.c: Include "slib-svr4.h". (amd64nbsd_init_abi): Set link map offsets. * amd64obsd-tdep.c: Include "solib-svr4.h". (amd64obsd_init_abi): Set link map offsets. * i386fbsd-tdep.c: Include "solib-svr4.h". (i386fbsd_init_abi): Set link map offsets. * i386nbsd-tdep.c: Include "solib-svr4.h". (i386nbsdelf_init_abi): Set link map offsets. * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and core-aout.o. Reformat. * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o. Reformat. * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. * config/i386/nbsdelf.mh: Reformat. * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. Reformat. * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. (TM_FILE): Set to tm-fbsd.h. * config/i386/nbsd.mt (TDEPFILES): Reformat. * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. (TM_FILE): Set to nm-nbsd.h. * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. Simplify shared library support. Don't include "elf/common.h". (SVR4_SHARED_LIBS): Don't define. * config/i386/nm-fbsd64.h: Update copyright year. Don't include "solib.h". * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, config/i386/nm-obsd.h: Update copyright year. Tweak comments. * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. Don't include "i386/tm-i386.h". Include "solib.h". * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. Don't include "i386/tm-i386.h". * config/i386/xm-i386.h: Update copyright year. Tweak comments. * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. Include "i386/xm-i386.h". (HOST_LONG_DOUBLE_FORMAT): Remove.
2004-02-21* configure.host: Add i[34567]86-*-openbsd[0-2].* andMark Kettenis1-0/+7
i[34567]86-*-openbsd3.[0-3]. * config/i386/obsdaout.mh: New file.
2004-02-21* config/i386/obsd.mh (MH_FLAGS): Remove.Mark Kettenis1-4/+0
2004-02-21Fix PR build/1549.Mark Kettenis2-6/+6
* i386obsd-tdep.c: Update copyright years. Include "solib-svr4.h". (i386obsd_init_abi): Don't set regset_from_core_section here. (i386obsd_aout_init_abi): New function. Set regset_from_core_section here. (i386obsd_elf_init_abi): New function. (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. * Makefile.in (i386obsd-tdep.o): Update dependecies. * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. (TM_FILE): Set to tm-nbsd.h. * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and solib-sunos.o.
2004-02-20* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". FixMark Kettenis1-1/+2
comments. (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New functions. (amd64obsd_init_abi): Reorder initializations. Use amd64obsd_r_reg_offset to initialize the general-purpose register set details. Set regset_from_core_section. (_initialize_amd64obsd_tdep): Rename from _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps. * Makefile.in (amd64obsd-tdep.o): Update dependencies. * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
2004-02-18* amd64obsd-tdep.c, amd64obsd-nat.c: New files.Mark Kettenis2-0/+9
* Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New dependencies. * configure.host: Add x86_64-*-openbsd*. * configure.tgt: Add x86_64-*-openbsd*. * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-5/+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.
2004-01-202004-01-19 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-7/+1
* MAINTAINERS: Delete mmalloc. * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. * NEWS: Mention removal of --with-malloc. * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. * config.in: Regenerate. * configure: Regenerate. * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE. * gdbinit.in: Remove mmalloc. * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. * config/i386/go32.mh: Likewise. * config/i386/interix.mh: Likewise. * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. 2004-01-19 Michael Chastain <mec.gnu@mindspring.com> * gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2004-01-17 * breakpoint.c (must_shift_inst_regs): Delete.Daniel Jacobowitz1-3/+1
(bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK and SHIFT_INST_REGS. * infcmd.c (step_1, step_1_continuation): Delete references to SHIFT_INST_REGS. * infrun.c (keep_going): Likewise. * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
2003-12-15* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.Mark Kettenis2-4/+3
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs, TDEP->sizeof_gregset and TDEP->sizeof_fpregset. * config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h. (XM_CLIBS): Remove. (NATDEPFILES): Remove core-regset.o and corelow.o. * config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment. * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro. * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro. * config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
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-13* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.Mark Kettenis1-1/+1
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-11-062003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete macro. * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro. * config/i386/tm-cygwin.h (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro. * config/powerpc/tm-linux.h (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro. (at_subroutine_call_instruction_target): Delete declaration. * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro. * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro. * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
2003-10-30* config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.Mark Kettenis2-2/+2
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
2003-10-29* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.Mark Kettenis2-2/+2
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
2003-10-19* amd64fbsd-nat.c (fetch_inferior_registers,Mark Kettenis1-1/+1
store_inferior_registers): Remove functions. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.
2003-10-18Add NetBSD/amd64 native configuration:Mark Kettenis2-0/+9
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. * amd64nbsd-tdep.c: New file. * amd64nbsd-nat.c: New file. * amd64bsd-nat.c: New file. * config/i386/nbsd64.mh: New file. * config/i386/nbsd64.mt: New file. * configure.host: Add x86_64-*-netbsd*. * configure.tgt: Add x86_64-*-netbsd*. * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): New targets. * NEWS (New native configurations): Mention NetBSD/amd64.
2003-10-11* i386fbsd-tdep.c: New file.Mark Kettenis2-2/+2
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from i386bsd-tdep.c. (_initialize_i386fbsd_tdep): New function. (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs, TDEP->sizeof_gregset and TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and FreeBSD ELF OS/ABI's here. * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. (i386fbsd-tdep.o): New target. * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
2003-10-062003-10-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney14-748/+0
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. * config/z8k/z8k.mt: Ditto.
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor1-7/+0
registers since gdb will not operate correctly without this. Restore include file ordering munged in previous change. * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor1-1/+1
defined by the system headers. * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+0
* 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-08-29* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.Mark Kettenis1-1/+1
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". Change "register array" to "register cache" in comments. (x86_64_linux_gregset64_reg_offset): New variable. (GETREGS_SUPPLIES): Remove macro. (supply_gregset): Call amd64_supply_native_gregset instead of x86_64_linux_supply_gregset. (fill_gregset): Rename `regno' to `regnum'. Call amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. (store_regs): Rename `regno' to `regnum'. (store_fpregs): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (store_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (_initialize_x86_64_linux_nat): New function. * config/i386/x86-64linux.mh.
2003-08-29* amd64-nat.h: New file.Mark Kettenis1-1/+1
* amd64-nat.c: New file. * amd64fbsd-nat.c: Include "amd64-nat.h". (REG_ADDR, GETREGS_SUPPLIES): Remove macros. (amd64fbsd32_r_reg_offset): New variable. (supply_gregset): Simply call amd64_supply_native_gregset. (fill_gregset): Rename `regno' to `regnum'. Simply call amd64_collect_native_gregset. (fill_fpregset): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_supply_native_gregset instead of supply_gregset. Call x86_64_supply_fxsave instead of supply_fpregset. (store_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_collect_native_gregset instead of fill_gregset. Call x86_64_collect_fxsave instead of fill_fpregset. (_initialize_am64fbsd_nat): Initialize amd64_native_gregset32_reg_offset and amd64_native_gregset64_reg_offset. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.