Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gdb Small changes to make GDB for arm--ne...



details:   https://anonhg.NetBSD.org/src/rev/ead7315af284
branches:  trunk
changeset: 516208:ead7315af284
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Oct 18 15:52:57 2001 +0000

description:
Small changes to make GDB for arm--netbsdelf compile:
1: Don't include arm-convert.o.  arm-convert.s contains only comments, and our
   build procedure can't cope with .s files.
2: Add "check_format" and "core_sniffer" entries to netbsd_core_fns, the same
   as in i386nbsd_nat.c.

The first of these will need toolchain2netbsd to be re-run.  While these
changes let GDB compile, I haven't tried running it on an ARM ELF system yet.

diffstat:

 gnu/dist/toolchain/gdb/armnbsd-nat.c      |  2 ++
 gnu/dist/toolchain/gdb/config/arm/nbsd.mh |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6b760ebc86b0 -r ead7315af284 gnu/dist/toolchain/gdb/armnbsd-nat.c
--- a/gnu/dist/toolchain/gdb/armnbsd-nat.c      Thu Oct 18 15:41:15 2001 +0000
+++ b/gnu/dist/toolchain/gdb/armnbsd-nat.c      Thu Oct 18 15:52:57 2001 +0000
@@ -103,6 +103,8 @@
 static struct core_fns netbsd_core_fns =
 {
   bfd_target_unknown_flavour,
+  default_check_format,
+  default_core_sniffer,
   fetch_core_registers,
   NULL
 };
diff -r 6b760ebc86b0 -r ead7315af284 gnu/dist/toolchain/gdb/config/arm/nbsd.mh
--- a/gnu/dist/toolchain/gdb/config/arm/nbsd.mh Thu Oct 18 15:41:15 2001 +0000
+++ b/gnu/dist/toolchain/gdb/config/arm/nbsd.mh Thu Oct 18 15:52:57 2001 +0000
@@ -1,5 +1,5 @@
 # Host: ARM running NetBSD
 XDEPFILES= 
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o arm-convert.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h



Home | Main Index | Thread Index | Old Index