aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-09-01 23:24:19 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-09-01 23:24:19 +0000
commit3cac699e88ee490082ae109bb5116cd51404ddd5 (patch)
tree68ea3327a044f58db0b259fe25b76415391fc0a0 /gdb/config
parent7e3ceb5296ec2772276a902d345e1fca6eede428 (diff)
downloadgdb-3cac699e88ee490082ae109bb5116cd51404ddd5.zip
gdb-3cac699e88ee490082ae109bb5116cd51404ddd5.tar.gz
gdb-3cac699e88ee490082ae109bb5116cd51404ddd5.tar.bz2
* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
$(i386_tdep_h), and nbsd-tdep.h to dependency list. * i386-tdep.h (i386bsd_init_abi): New prototype. * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from function declaration. (_initialize_i386bsd_tdep): Don't register OS ABI handlers for NetBSD-a.out or NetBSD-ELF. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end) (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset) (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to... * i386nbsd-tdep.c: ...here. Include arch-utils.h, i386-tdep.h, and nbsd-tdep.h. (i386nbsd_pc_in_sigtramp): New function. (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to i386nbsd_pc_in_sigtramp. (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi and i386nbsdelf_init_abi OS ABI handlers. * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/nbsdaout.mt3
-rw-r--r--gdb/config/i386/nbsdelf.mt3
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/i386/nbsdaout.mt b/gdb/config/i386/nbsdaout.mt
index aa88957..7ffb502 100644
--- a/gdb/config/i386/nbsdaout.mt
+++ b/gdb/config/i386/nbsdaout.mt
@@ -1,3 +1,4 @@
# Target: Intel 386 running NetBSD
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o
+TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o \
+ nbsd-tdep.o
TM_FILE= tm-nbsdaout.h
diff --git a/gdb/config/i386/nbsdelf.mt b/gdb/config/i386/nbsdelf.mt
index fc80608..a1035cf 100644
--- a/gdb/config/i386/nbsdelf.mt
+++ b/gdb/config/i386/nbsdelf.mt
@@ -1,3 +1,4 @@
# Target: Intel 386 running NetBSD
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o
+TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o \
+ nbsd-tdep.o
TM_FILE= tm-nbsd.h