summaryrefslogtreecommitdiff
path: root/gdb/configure.nat
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2018-09-20 10:10:07 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2018-09-20 10:10:07 +0200
commit8674be792462bc4469b04723484c63ab4c7ad895 (patch)
tree3fb5464ad497cd83f34b5ff31369ba3a0aeff882 /gdb/configure.nat
parent30838132997e6a3cfe3ec11c58b32b22f6f6b102 (diff)
downloadbinutils-gdb-8674be792462bc4469b04723484c63ab4c7ad895.tar.gz
Fold i386-v4-nat.c into i386-sol2-nat.c
I've been carrying around the following patch for some time. I noticed that both i386-sol2-nat.c and i386-v4-nat.c are Solaris-only now and it seems confusing to carry both around. So this patch merges i386-v4-nat.c into i386-sol2-nat.c, simplifying it in a couple of places, like removing checks for macros that are always defined. Tested on 64-bit Solaris 11.5/x86 (amd64-pc-solaris2.11) and 32-bit Solaris 11.3/x86 (i386-pc-solaris2.11) half a year ago. * i386-v4-nat.c (regmap, supply_gregset, fill_gregset) (supply_fpregset, fill_fpregset): Move ... * i386-sol2-nat.c [PR_MODEL_NATIVE != PR_MODEL_LP64]: ... here. Remove HAVE_GREGSET_T, HAVE_FPREGET_T guards. Remove references to ioctl-based procfs. Include <sys/reg.h>. Remove PR_MODEL_NATIVE guards. * configure.nat <sol2, i386> (NATDEPFILES): Remove i386-v4-nat.o. * Makefile.in (ALLDEPFILES): Remove i386-v4-nat.c.
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r--gdb/configure.nat2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat
index feddeaa5e01..10bf65fec3a 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -465,7 +465,7 @@ case ${gdb_host} in
i386)
# Host: Solaris x86_64
NATDEPFILES="${NATDEPFILES} \
- amd64-nat.o i386-v4-nat.o i386-sol2-nat.o"
+ amd64-nat.o i386-sol2-nat.o"
;;
sparc)
# Host: Solaris SPARC & UltraSPARC