aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-12 20:46:33 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-12 20:46:33 +0000
commitcb587d836a976e82fd7e59cecbf8d9d29b3eb721 (patch)
tree159c44c03fb9b880c48b3ff9d085861670bc77c4 /gdb/config
parent8802d8ed3ac33363bbfb4edb90e958eb7e41ff78 (diff)
downloadgdb-cb587d836a976e82fd7e59cecbf8d9d29b3eb721.zip
gdb-cb587d836a976e82fd7e59cecbf8d9d29b3eb721.tar.gz
gdb-cb587d836a976e82fd7e59cecbf8d9d29b3eb721.tar.bz2
* Makefile.in (arm_linux_tdep_h): New variable.
(arm-linux-nat.o, arm-linux-tdep.o): Update. * arm-linux-nat.c: Include "arm-linux-tdep.h". (typeNone, typeSingle, typeDouble, typeExtended) (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): Delete. (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, and collect_nwfpe_register. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use new regset functions. * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". (arm_apcs_32): New declaration. (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) (typeExtended, supply_nwfpe_register, collect_nwfpe_register) (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) (arm_linux_regset_from_core_section): New. (arm_linux_init_abi): Register arm_linux_regset_from_core_section. * arm-linux-tdep.h: New file. * arm-tdep.h (struct regset): Declare. (struct gdbarch_tdep): Add gregset, fpregset members. * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/arm/linux.mt (TDEPFILES): Add corelow.o.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/arm/linux.mh3
-rw-r--r--gdb/config/arm/linux.mt5
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/config/arm/linux.mh b/gdb/config/arm/linux.mh
index 32181a4..7de2327 100644
--- a/gdb/config/arm/linux.mh
+++ b/gdb/config/arm/linux.mh
@@ -1,8 +1,7 @@
# Host: ARM based machine running GNU/Linux
NAT_FILE= nm-linux.h
-NATDEPFILES= inf-ptrace.o fork-child.o corelow.o \
- core-regset.o arm-linux-nat.o gcore.o \
+NATDEPFILES= inf-ptrace.o fork-child.o arm-linux-nat.o gcore.o \
proc-service.o linux-thread-db.o linux-nat.o linux-fork.o
LOADLIBES= -ldl -rdynamic
diff --git a/gdb/config/arm/linux.mt b/gdb/config/arm/linux.mt
index 6521a0b..49e65a0 100644
--- a/gdb/config/arm/linux.mt
+++ b/gdb/config/arm/linux.mt
@@ -1,3 +1,6 @@
# Target: ARM based machine running GNU/Linux
DEPRECATED_TM_FILE= tm-linux.h
-TDEPFILES= arm-tdep.o arm-linux-tdep.o glibc-tdep.o solib.o solib-svr4.o solib-legacy.o symfile-mem.o
+TDEPFILES= arm-tdep.o arm-linux-tdep.o glibc-tdep.o solib.o \
+ solib-svr4.o solib-legacy.o symfile-mem.o \
+ corelow.o
+