aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.host
AgeCommit message (Collapse)AuthorFilesLines
2017-10-11Add native target for FreeBSD/arm.John Baldwin1-0/+1
gdb/ChangeLog: * Makefile.in (ALLDEPFILES): Add arm-fbsd-nat.c. * NEWS: Mention new FreeBSD/arm native configuration. * configure.host: Add arm*-*-freebsd*. * configure.nat: Likewise. * arm-fbsd-nat.c: New file.
2017-09-26Remove support for Solaris < 10 (PR gdb/22185)Rainer Orth1-3/+3
Given that GCC has obsoleted/removed support for Solaris 9 in GCC 4.9/5 in 2013: https://gcc.gnu.org/gcc-4.9/changes.html https://gcc.gnu.org/ml/gcc-patches/2013-05/msg00728.html and the last gdb version that can be compiled with gcc 4.9 is 7.12.1 only when configured with --disable-build-with-cxx, it's time to obsolete/remove support for Solaris < 10. This patch does this, simplifying configure.nat along the way (only a single sol2 configuration with variants for i386 and sparc). Some configure checks for older Solaris versions can go, too, and the check for libthread_db.so.1 removed: * Since Solaris 10, dlopen has moved to libc and libdl.so is just a filter on ld.so.1, so no need to check. * $RDYNAMIC is already handled above (and is a no-op with Solaris ld anyway). Both proc-service.c and sol-thread.c lose support for (Solaris-only) PROC_SERVICE_IS_OLD. The attached revised patch has been tested on sparcv9-sun-solaris2.10, sparcv9-sun-solaris2.11.4, amd64-pc-solaris2.10, amd64-pc-solaris2.11.4, and x86_64-pc-linux-gnu. I've also started an i386-pc-solaris2.9 build to check that it really stops as expected. PR gdb/22185 * configure.host <*-*-solaris2.[01], *-*-solaris2.[2-9]*>: Mark as obsolete. Use gdb_host sol2 for i[34567]86-*-solaris2*, x86_64-*-solaris2*. Remove i386sol2 support. * configure.nat <i386sol2>: Remove. <sol2-64>: Fold into ... <sol2>: ... this. Move common settings to default section. Add sol-thread.o. * configure.tgt <i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*>: Rename to ... <i[34567]86-*-solaris2*, x86_64-*-solaris2*>: ... this. <i[34567]86-*-solaris*>: Remove. <sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*>: Remove. * configure.ac: Remove wctype in libw check. (_MSE_INT_H): Don't define on Solaris 7-9. <solaris*>: Remove libthread_db.so.1 check. * configure: Regenerate. * config.in: Regenerate. * proc-service.c: Remove PROC_SERVICE_IS_OLD handling. (gdb_ps_prochandle_t, gdb_ps_read_buf_t, gdb_ps_write_buf_t) (gdb_ps_size_t): Remove. Use base types in users. * sol-thread.c: Likewise, also for gdb_ps_addr_t. * NEWS (Changes since GDB 8.0): Document Solaris 2.0-9 removal.
2017-09-06Add native target for FreeBSD/aarch64.John Baldwin1-0/+1
gdb/ChangeLog: * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c. * NEWS: Mention new FreeBSD/mips native configuration. * configure.host: Add aarch64*-*-freebsd*. * configure.nat: Likewise. * aarch64-fbsd-nat.c: New file.
2017-04-04Remove support for FreeBSD/alpha.John Baldwin1-2/+2
FreeBSD last shipped a release for Alpha (6.3) in 2008. This also removes support for GNU/kFreeBSD on Alpha. gdb/ChangeLog: * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-fbsd-tdep.o. (ALLDEPFILES): Remove alpha-fbsd-tdep.c * NEWS: Mention that support for FreeBSD/alpha was removed. * alpha-fbsd-tdep.c: Delete file. * config/alpha/fbsd.mh: Delete file. * configure.host: Delete alpha*-*-freebsd* and alpha*-*-kfreebsd*-gnu. * configure.tgt: Delete alpha*-*-freebsd* and alpha*-*-kfreebsd*-gnu.
2017-01-04Add native target for FreeBSD/mips.John Baldwin1-0/+1
This supports the o32 and n64 ABIs. gdb/ChangeLog: * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c. * NEWS: Mention new FreeBSD/mips native configuration. * config/mips/fbsd.mh: New file. * configure.host: Add mips*-*-freebsd*. * mips-fbsd-nat.c: New file.
2015-12-09Fix wrong output of x87 registers due to truncation to double on amd64Ruslan Kabatsayev1-1/+1
When `info float` is used on an AMD64 system, GDB prints floating-point values of x87 registers with raw contents like 0x361a867a8e0527397ce0 or 0xc4f988454a1ddd3cfdab wrongly. This happens due to truncation to double, after which the former becomes 0.0, and the latter becomes negative infinity. This is caused by failed detection of x86-64 host, which results in setting gdb_host_{float,double,long_double}_format to zeros. This commit fixes this misdetection, and adds a test to make sure future commits don't introduce a regression here. gdb/ChangeLog: 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com> PR gdb/18702 * configure.host: Fix detection of x86_64 host when setting floatformats. gdb/testsuite/ChangeLog: 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com> Pedro Alves <pedro@redhat.com> PR gdb/18702 Add checking of floatformats setup on x86_64 hosts. * gdb.arch/i386-float.S (main): Load bigval and smallval. (smallval, bigval): New labels/constants. * gdb.arch/i386-float.exp: Use with_test_prefix and test "info float" after loading bigval and smallval.
2015-03-13Remove HPUXJan Kratochvil1-8/+2
IIUC it is a pre-requisite for IPv6 support, some UNICes do not support getaddrinfo required for IPv6. But coincidentally such UNICes are no longer really supported by GDB. Therefore it was concluded we can remove all such UNICes and then we can implement IPv6 easily with getaddrinfo. In mail Re: getaddrinfo available on all GDB hosts? [Re: [PATCH v2] Add IPv6 support for remote TCP connections] Message-ID: <20140211034157.GG5485@adacore.com> https://sourceware.org/ml/gdb-patches/2014-02/msg00333.html Joel said: So I chose HP-UX first for this patch. gdb/ChangeLog 2014-10-16 Jan Kratochvil <jan.kratochvil@redhat.com> Remove HPUX. * Makefile.in (ALL_64_TARGET_OBS): Remove ia64-hpux-tdep.o. (ALL_TARGET_OBS): Remove hppa-hpux-tdep.o, solib-som.o and solib-pa64.o. (HFILES_NO_SRCDIR): Remove solib-som.h, inf-ttrace.h, solib-pa64.h and ia64-hpux-tdep.h, solib-ia64-hpux.h. (ALLDEPFILES): Remove hppa-hpux-tdep.c, hppa-hpux-nat.c, ia64-hpux-nat.c, ia64-hpux-tdep.c, somread.c and solib-som.c. * config/djgpp/fnchange.lst: Remove hppa-hpux-nat.c and hppa-hpux-tdep.c. * config/ia64/hpux.mh: Remove file. * config/pa/hpux.mh: Remove file. * configure: Rebuilt. * configure.ac (dlgetmodinfo, somread.o): Remove. * configure.host (hppa*-*-hpux*, ia64-*-hpux*): Make them obsolete. (ia64-*-hpux*): Remove its float format exception. * configure.tgt (hppa*-*-hpux*, ia64-*-hpux*): Make them obsolete. * hppa-hpux-nat.c: Remove file. * hppa-hpux-tdep.c: Remove file. * hppa-tdep.c (struct hppa_unwind_info, struct hppa_objfile_private): Move them here from hppa-tdep.h (hppa_objfile_priv_data, hppa_init_objfile_priv_data): Make it static. (hppa_frame_prev_register_helper): Remove HPPA_FLAGS_REGNUM exception. * hppa-tdep.h (struct hppa_unwind_info, struct hppa_objfile_private): Move them to hppa-tdep.c. (hppa_objfile_priv_data, hppa_init_objfile_priv_data): Remove declarations. * ia64-hpux-nat.c: Remove file. * ia64-hpux-tdep.c: Remove file. * ia64-hpux-tdep.h: Remove file. * inf-ttrace.c: Remove file. * inf-ttrace.h: Remove file. * solib-ia64-hpux.c: Remove file. * solib-ia64-hpux.h: Remove file. * solib-pa64.c: Remove file. * solib-pa64.h: Remove file. * solib-som.c: Remove file. * solib-som.h: Remove file. * somread.c: Remove file.
2014-10-24Remove Vax Ultrix and VAX BSD supportPedro Alves1-2/+2
Built and tested on x86_64 Fedora 20, with --enable-targets=all. gdb/ 2014-10-24 Pedro Alves <palves@redhat.com> * Makefile.in (ALLDEPFILES): Remove vax-nat.c. * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. * config/vax/vax.mh: Delete. * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the obsolete configurations section. * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. * vax-nat.c: Delete file. gdb/testsuite/ 2014-10-24 Pedro Alves <palves@redhat.com> * gdb.base/corefile.exp: Remove references to ultrix. * gdb.base/interrupt.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.threads/manythreads.exp: Likewise. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/pthreads.exp:: Likewise. * gdb.threads/schedlock.exp: Likewise.
2014-10-17Delete Tru64 supportPedro Alves1-3/+1
This commit does most of the mechanical removal. IOW, the easy part. procfs.c isn't touched beyond removing a couple obvious bits that are guarded by a couple macros defined in config/alpha/nm-osf3.h. Going beyond that for procfs.c & co would be a harder excision that potentially affects Solaris. Some comments in the generic alpha code ABIs that may still be relevant and I wouldn't know what to do with them. That can always be done on a separate pass, preferably by someone who can test on alpha. A couple other spots have references to OSF/Tru64 and related files being removed, but it felt like removing them would make things worse, not better. We can revisit those when we next need to touch that code. I didn't remove a reference to osf in testsuite/lib/future.exp, as I believe that code is imported from DejaGNU. Built and tested on x86_64 Fedora 20, with --enable-targets=all. Tested that building for --target=alpha-osf3 on x86_64 Fedora 20 fails with: checking for default auto-load directory... $debugdir:$datadir/auto-load checking for default auto-load safe-path... $debugdir:$datadir/auto-load *** Configuration alpha-unknown-osf3 is obsolete. *** Support has been REMOVED. make[1]: *** [configure-gdb] Error 1 make[1]: Leaving directory `build-osf' make: *** [all] Error 2 gdb/ 2014-10-17 Pedro Alves <palves@redhat.com> * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and solib-osf.c. * NEWS: Mention that support for alpha*-*-osf* has been removed. * ada-lang.h [__alpha__ && __osf__] (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. * alpha-nat.c, alpha-osf1-tdep.c: Delete files. * alpha-tdep.c (alpha_gdbarch_init): Remove reference to GDB_OSABI_OSF1. * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete files. * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. * configure: Regenerate. * configure.ac: Remove references to osf. * configure.host: Handle alpha*-*-osf* in the obsolete hosts section. Remove all other references to osf. * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. Remove all other references to osf. * dec-thread.c: Delete file. * defs.h (GDB_OSABI_OSF1): Delete. * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally defined. * osabi.c (gdb_osabi_names): Delete "OSF/1". * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: Delete code. (unconditionally_kill_inferior) [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. * solib-osf.c: Delete file. gdb/testsuite/ 2014-10-17 Pedro Alves <palves@redhat.com> * gdb.base/callfuncs.exp: emove references to osf. * gdb.base/sigall.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. * gdb.mi/non-stop.c: Likewise. * gdb.mi/pthreads.c: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.threads/pthreads.c: Likewise. * gdb.threads/pthreads.exp: Likewise. gdb/doc/ 2014-10-17 Pedro Alves <palves@redhat.com> * gdb.texinfo (Ada Tasks and Core Files): Delete mention of Tru64. (SVR4 Process Information): Delete mention of OSF/1.
2014-10-10Delete IRIX supportPedro Alves1-2/+1
This does most of the mechanical removal. IOW, the easy part. This doesn't touch procfs.c as that'd be a harder excision, potentially affecting Solaris. mips-tdep.c is left alone. E.g., I didn't delete the GDB_OSABI_IRIX enum value, nor references to it in mips-tdep.c. Some comments mentioning IRIX ABIs may still be relevant and I wouldn't know what to do with them. in That can always be done on a separate pass, preferably by someone who can test on MIPS. I didn't remove a reference to IRIX in testsuite/lib/future.exp, as I believe that code is imported from DejaGNU. Built and tested on x86_64 Fedora 20, with --enable-targets=all. Tested that building for --target=mips-sgi-irix6 on x86_64 Fedora 20 fails with: checking for default auto-load directory... $debugdir:$datadir/auto-load checking for default auto-load safe-path... $debugdir:$datadir/auto-load *** Configuration mips-sgi-irix6 is obsolete. *** Support has been REMOVED. make[1]: *** [configure-gdb] Error 1 make[1]: Leaving directory `/home/pedro/gdb/mygit/build-irix' make: *** [all] Error 2 gdb/ 2014-10-10 Pedro Alves <palves@redhat.com> * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. (HFILES_NO_SRCDIR): Remove solib-irix.h. * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* and been removed. * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. * configure.ac: Remove references to IRIX. * configure.host: Add *-*-irix* to the obsolete hosts section. Remove all other references to irix. * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: Delete files. gdb/testsuite/ 2014-10-10 Pedro Alves <palves@redhat.com> * gdb.base/bigcore.exp: Remove references to IRIX. * gdb.base/funcargs.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/mips_pro.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/setvar.exp: Likewise. * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2014-02-28Enable rthreads supports on OpenBSD/sparc64.Mark Kettenis1-1/+1
gdb/ChangeLog: * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. * config/sparc/obsd64.mh: New file. * sparc64obsd-nat.c: New file.
2013-10-30S/390: Rename source files to *-linux-*Ulrich Weigand1-1/+1
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-09-24Remove a.out NetBSD and OpenBSD hostsJan Kratochvil1-8/+12
gdb/ 2013-09-21 Jan Kratochvil <jan.kratochvil@redhat.com> Remove a.out NetBSD and OpenBSD hosts. * NEWS (Removed native configurations): New. * config/arm/nbsdaout.mh: Remove. * config/i386/nbsdaout.mh: Remove. * config/i386/obsdaout.mh: Remove. * config/m68k/nbsdaout.mh: Remove. * config/sparc/nbsdaout.mh: Remove. * config/vax/nbsdaout.mh: Remove. * configure.host (arm*-*-netbsd*, i[34567]86-*-netbsd*) (i[34567]86-*-openbsd[0-2].*, i[34567]86-*-openbsd3.[0-3]) (m68*-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Add them to obsolete error. (arm*-*-netbsd*, i[34567]86-*-netbsd*, i[34567]86-*-openbsd[0-2].*) (i[34567]86-*-openbsd3.[0-3], m68*-*-netbsd*, sparc-*-netbsdaout*) (sparc-*-netbsd*, vax-*-netbsd*): Remove.
2013-08-22 * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.Alan Modra1-2/+2
* configure.tgt: Likewise as targets.
2013-08-072013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>Ulrich Weigand1-1/+1
Ulrich Weigand <uweigand@de.ibm.com> * configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix. * configure.host (powerpc64-*-aix*): Likewise.
2013-03-05 * configure.host: Add x86_64-*-cygwin* as host.Corinna Vinschen1-0/+1
* configure.tgt: Add x86_64-*-cygwin* as target. * config/i386/cygwin64.mh: New file. * gdbserver/configure.srv: Add x86_64-*-cygwin* as target.
2013-02-08Adding aarch64-linux-nat support.Marcus Shawcroft1-0/+3
2013-02-08 Jim MacArthur <jim.macarthur@arm.com> Marcus Shawcroft <marcus.shawcroft@arm.com> Nigel Stephens <nigel.stephens@arm.com> Yufeng Zhang <yufeng.zhang@arm.com> * aarch64-linux-nat.c: New file. * config/aarch64/linux.mh: New file. * configure.host: Add AArch64. * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
2013-02-042013-02-04 Andreas Tobler <andreast@fgznet.ch>Andreas Tobler1-0/+1
* Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. * configure.host: Add powerpc*-*-freebsd* target. * configure.tgt: Add target info for powerpc*-*-freebsd*. * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. * config/powerpc/fbsd.mh: New file.
2012-05-302012-05-30 Jeff Kenton <jkenton@tilera.com>Pedro Alves1-0/+3
* configure.host (gdb_host_cpu): Handle tilegx*. (gdb_host): Handle tilegx-*-linux*. * tilegx-linux-nat.c: New file. * config/tilegx/linux.mh: New file.
2011-05-04gdb:Joseph Myers1-1/+0
* configure.host (xscale*): Don't handle target. * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't handle targets. gdb/gdbserver: * README: Don't mention xscale*-*-linux*. * configure.srv (xscale*-*-linux*): Don't handle target. gdb/testsuite: * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target. * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle targets. * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't handle targets. sim: * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't handle targets. * configure: Regenerate. sim/testsuite: * configure: Regenerate. * sim/arm/allinsn.exp (xscale*-*-*): Don't handle target. * sim/arm/misc.exp (thumb*-*-*, xscale*-*-*): Don't handle targets. * sim/arm/iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of xscale*-*-*. * sim/arm/thumb/allthumb.exp (thumb*-*-*): Don't handle target. * sim/arm/xscale/xscale.exp: Test for arm*-*-* instead of xscale*-*-*.
2011-01-13port GDB to ia64-hpux (native).Joel Brobecker1-0/+6
ChangeLog: * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs for ia64-hpux. * configure: Regenerate. gdb/ChangeLog: * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. * configure.host: Add handling for ia64-hpux hosts. Add associated floatformats. * configure.tgt: Add handling for ia64-hpux targets. * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
2010-01-19Add configure handling of x86_64-*-solaris2.1[0-9]*Joel Brobecker1-1/+2
* configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of i[34567]86-*-solaris2.1[0-9]*. * configure.tgt: Likewise.
2009-01-11 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.Joel Brobecker1-1/+3
* config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files. * configure.host, configure.tgt: Add handling for x86_64/windows. * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c and amd64-windows-tdep.c.
2008-11-27gdb:Tristan Gingold1-0/+2
2008-11-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add entry for new native configuration: Darwin. * configure.host: Add Darwin host. * configure.tgt: Add Darwin target. * defs.h (enum gdb_osabi): Add GDB_OSABI_DARWIN. * osabi.c (gdb_osabi_names): Add name for Darwin abi. * i386-darwin-nat.c: New file. * i386-darwin-tdep.c: New file. * machoread.c: New file. * darwin-nat-info.c: New file. * darwin-nat.c: New file. * darwin-nat.h: New file. * darwin.defs: New file. * config/i386/darwin.mh: New file. gdb/doc: 2008-11-27 Tristan Gingold <gingold@adacore.com> * gdb.texinfo (Darwin): Document Darwin specific features.
2008-01-19 Add NetBSD/hppa target and host support.Nick Hudson1-0/+1
* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... (hppabsd_gregset): Move to ... (hppabsd_regset_from_core_section): Rename hppaobsd_regset_from_core_section and move to ... (hppabsd_find_global_pointer): Update comment. (hppabsd_init_abi): Make global. Do not register hppabsd_regset_from_core_section. (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and move to ... (_initialize_hppabsd_tdep): Move to ... * hppaobsd-tdep.c: ... here. New file. * hppnbsd-tdep.c: New file. * hppnbsd-nat.c: New file. * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. * configure.host (hppa*-*-netbsd*): New entry. * configure.tgt (hppa*-*-netbsd*): New entry. (hppa*-*-openbsd*): Update. * NEWS (New native configuration): Mention NetBSD/hppa. (New targets): Mention NetBSD/hppa.
2007-05-06 * configure.host (alpha*-*-osf[12]*): Remove support.Ulrich Weigand1-2/+2
* NEWS: Mention removed configurations. * config/alpha/alpha-osf1.mh: Delete file. * config/alpha/alpha-osf2.mh: Delete file. * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o and infptrace.o. * config/alpha/nm-osf.h: Delete file. * config/alpha/nm-osf2.h: Delete file. * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. (register_addr, kernel_u_size): Remove. Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
2007-04-27 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.Ulrich Weigand1-5/+3
* configure.tgt (rs6000-*-*): Likewise. * config/rs6000/aix4.mh: Delete file. * config/rs6000/aix4.mt: Delete file. * config/rs6000/rs6000.mh: Delete file. * config/rs6000/rs6000.mt: Delete file. * config/powerpc/nm-aix.h: Delete file. * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
2007-03-29 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)Daniel Jacobowitz1-15/+24
(remote-st.o, uw-thread.o): Delete. (HFILES_NO_SRCDIR, ALLDEPFILES): Update. * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and rs6000-*-lynxos* to an obsoletion stanza. * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, and rs6000-*-lynxos* to an obsoletion stanza. Do not mention i[34567]86-*-netware*. * NEWS: Mention deleted targets. * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, config/i386/i386v4.mh, config/i386/i386v42mp.mh, config/i386/ncr3000.mh, config/i386/ncr3000.mt, config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, config/rs6000/tm-rs6000ly.h: Delete files.
2006-12-15Add OpenBSD/sh native support.Mark Kettenis1-0/+1
* NEWS (New native configurations): Mention OpenBSD/sh. * configure.host: Add sh*-*-openbsd*. * shnbsd-nat.c: Include "inf-ptrace.h". (shnbsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (shnbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_shnbsd_nat): New function. * Makefile.in (shnbsd-nat.o): Update dependencies. * config/sh/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove. (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o.
2006-11-22 * config/powerpc/spu-linux.mh: New file.Ulrich Weigand1-1/+7
* config/spu/spu.mt: New file. * configure.ac: Provide gdb_native configuration variable. * configure: Regenerate. * configure.host: Support powerpc64 to spu 'pseudo-native' mode. * configure.tgt: Add "spu" target_cpu and "spu*-*-*" target. * Makefile.in (spu_tdep_h): New variable. (ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c (spu-linux-nat.o, spu-tdep.o): Add dependencies. * spu-linux-nat.c: New file. * spu-tdep.c: New file. * spu-tdep.h: New file.
2006-11-142006-11-14 Maxim Grigoriev <maxim@tensilica.com>Daniel Jacobowitz1-0/+3
* NEWS: New port to Xtensa. * Makefile.in: Add dependencies for Xtensa files. * configure.tgt (xtensa*, xtensa*-*-elf*): New. * configure.host (xtensa*-*-elf*): New. * config/xtensa/xtensa.mt: New file. * xtensa-config.c: New file. * xtensa-tdep.h: New file. * xtensa-tdep.c: New file. 2006-11-14 Maxim Grigoriev <maxim@tensilica.com> * gdb.texinfo (Contributors): Add contributors of Xtensa port.
2006-02-10 * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.Daniel Jacobowitz1-0/+4
(ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs to posix-hdep.o by default. * configure: Regenerated. * configure.host: Document gdb_host_obs. Add an entry for i[34567]86-*-mingw32*. * mingw-hdep.c, posix-hdep.c: New files. * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
2005-05-22* configure.host: Add arm*-*-openbsd*.Mark Kettenis1-0/+1
* configure.tgt: Add arm*-*-openbsd*.
2005-01-04* configure.host (ia64-*-aix*): Remove.Mark Kettenis1-1/+0
* configure.tgt (ia64-*-aix*): Remove. * config/ia64/aix.mh: Remove file. * config/ia64/aix.mt: Remove file. * config/ia64/tm-aix.h: Remove file. * ia64-aix-nat.c: Remove file. * Makefile.in (ia64-aix-nat.o): Remove dependency.
2004-12-18* hppah-nat.c: Remove file.Mark Kettenis1-1/+0
* infttrace.h: Remove file. * infttrace.c: Remove file. * Makefile.in (ALLDEPFILES): Remove hppah-nat.c (infttrace_h): Remove variable. (hppah-nat.o, infttrace.o): Remove dependencies. * configure.host (hppa*64*-*-hpux11*): Remove. * config/pa/hpux11w.mh: Remove file. * config/pa/nm-hppah.h: Remove file. * config/pa/nm-hppah11.h: Remove file.
2004-12-10* configure.host (hppa*-*-hpux11*): Remove.Mark Kettenis1-1/+0
* config/pa/hpux11.mh: Remove file.
2004-11-20 * configure.host: Set host floatformat for m68k.Andreas Schwab1-0/+5
2004-11-20* hppa-hpux-nat.c: New file.Mark Kettenis1-3/+2
* config/pa/hpux.mh (NATDEPFILES): New file. * Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c. (hppa-hpux-nat.o): New dependency. * configure.host: Remove hppa*-*-hpux10.20. (hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh.
2004-11-142004-11-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+0
* NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and v850-*-* under removed. * configure.host: Delete ns32k-*-netbsd*. * configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*, ns32k-*-netbsd*, and v850*-*-*. * MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as "Deleted" * config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete. * h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete. * mcore-tdep.c, config/mn10300/mn10300.mt: Delete. * mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete. * config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete. * config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete. * ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete. * ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete. * v850-tdep.c: Delete.
2004-11-01 * Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c.Joseph Myers1-0/+1
(amd64-sol2-tdep.o): Add dependencies. * amd64-sol2-tdep.c, config/i386/sol2-64.mh, config/i386/sol2-64.mt: New files. * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offset, amd64_sol2_gregset32_reg_offset, _initialize_amd64_sol2_nat): New. (supply_gregset): Correct order of arguments to amd64_supply_native_gregset. (fill_gregset): Correct order of arguments to amd64_collect_native_gregset. * configure.host (i[34567]86-*-solaris2.1[0-9]*): Add new case. * configure.tgt (i[34567]86-*-solaris2.1[0-9]*): Likewise. * configure.in (*-*-solaris2.[[6789]]): Add *-*-solaris2.1[[0-9]] for definition of NEW_PROC_API. * configure: Regenerate.
2004-10-23* mips64obsd-nat.c, mips64obsd-tdep.c: New files.Mark Kettenis1-0/+1
* configure.host: Add mips64*-*-openbsd*. * configure.tgt: Add mips64*-*-openbsd*. * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o, mips64obsd-tdep.c. (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies. * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
2004-09-01 * configure.host: Use aix.mh for all powerpc-aix hosts.Joel Brobecker1-4/+1
* config/powerpc/aix432.mh: Delete, no longer necessary.
2004-08-122004-08-09 Robert Millan <robertmh@gnu.org>Nathanael Nerode1-14/+26
Committed by Nathanael Nerode. * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu. * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
2004-08-06* vax-nat.c: New file.Mark Kettenis1-3/+2
* vaxbsd-nat.c: Tweak comment. * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and vaxnbsd-tdep.c. (vax-nat.o): New dependency. * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax. (vax-*-ultrix2*): Remove. * config/vax/vax.mh: New file. * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration. (KERNEL_U_ADDR): Define as vax_kernel_u_addr. (vax_register_u_addr): New prototype. (REGISTER_U_ADDR): Define using vax_register_u_addr. * config/vax/vaxult2.mh: Remove file. * config/vax/vaxult.mh: Remove file. * config/vax/vaxbsd.mh: Remove file. * config/vax/vax.mt (TM_FILE): Remove. * config/vax/tm-vaxbsd.h: Remove file.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+28
* 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-06-26Add OpenBSD/hppa support.Mark Kettenis1-0/+1
* NEWS (New native configurations): Mention OpenBSD/hppa. * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh, config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New files. * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.c): New dependencies. * configure.host: Add hppa*-*-openbsd*. * configure.tgt: Add hppa*-*-openbsd*.
2004-05-24Add OpenBSD/m88k support.Mark Kettenis1-0/+3
* NEWS (New native configurations): Mention OpenBSD/m88k. * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h, config/m88k/obsd.mh, config/m88k/obsd.mt: New files. * Makefile.in (m88k_tdep_h): New variable. (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c. (m88kbsd-nat.o, m88k-tdep.o): New dependencies. * configure.host: Add m88*-*-openbsd*. * configure.tgt: Add m88*-*-openbsd*.
2004-05-04* m68knbsd-nat.c: Remove file.Mark Kettenis1-0/+1
* m68knbsd-tdep.c: Remove file. * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove dependencies. * configure.host: Add m68k-*-netbsdelf*. * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd. * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o, solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o. (XM_FILE): Remove. * config/m68k/nbsdelf.mh: New file. * config/m68k/nbsd.mt: New file. * config/m68k/nbsdaout.mt: Remove file. * config/m68k/tm-nbsd.h: Don't include <sys/param.h>, <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h". (BPT_VECTOR, STACK_END_ADDR): Remove defines. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise. (use_struct_convention): Remove prototype. (USE_STRUCT_CONVENTION): Remove define. * config/m68k/xm-nbsd.h: Remove file.
2004-04-30Add OpenBSD/m68k support.Mark Kettenis1-0/+1
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung1-0/+1
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.