* [PATCH/RFC] ARM Add netbsd-elf hosting support
@ 2002-05-15 7:35 Richard Earnshaw
2002-05-15 7:53 ` Jason R Thorpe
0 siblings, 1 reply; 2+ messages in thread
From: Richard Earnshaw @ 2002-05-15 7:35 UTC (permalink / raw)
To: gdb-patches; +Cc: Richard.Earnshaw, thorpej
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
Patch below adds support for building GDB native on an arm-netbsdelf
platform.
If there are no objections I'll commit this in a few days.
R.
<date> Richard Earnshaw <rearnsha@arm.com>
* configure.host (arm*-*-netbsdelf*): New host.
* configure.tgt (arm*-*-netbsdelf*): New target.
* config/arm/nbsdelf.mh: New file.
* config/arm/nbsdelf.mt: New file.
* config/arm/nm-nbsdelf.h: New file.
[-- Attachment #2: gdb-nbsdelf.patch --]
[-- Type: text/x-patch , Size: 3345 bytes --]
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.36
diff -p -r1.36 configure.host
*** configure.host 8 May 2002 15:29:35 -0000 1.36
--- configure.host 15 May 2002 14:19:35 -0000
*************** alpha*-*-freebsd*) gdb_host=fbsd ;;
*** 38,43 ****
--- 38,44 ----
alpha*-*-netbsd*) gdb_host=nbsd ;;
arm*-*-linux*) gdb_host=linux ;;
+ arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
arm*-*-netbsd*) gdb_host=nbsd ;;
arm*-*-*) gdb_host=arm ;;
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.62
diff -p -r1.62 configure.tgt
*** configure.tgt 12 May 2002 15:07:41 -0000 1.62
--- configure.tgt 15 May 2002 14:19:35 -0000
*************** arm*-wince-pe) gdb_target=wince ;;
*** 49,54 ****
--- 49,56 ----
arm*-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
+ arm*-*-netbsdelf*) gdb_target=nbsdelf
+ gdb_multi_arch=yes ;;
arm*-*-netbsd*) gdb_target=nbsd
gdb_multi_arch=yes ;;
arm*-*-* | thumb*-*-* | strongarm*-*-*)
Index: config/arm/nbsdelf.mh
===================================================================
RCS file: config/arm/nbsdelf.mh
diff -N config/arm/nbsdelf.mh
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- config/arm/nbsdelf.mh 15 May 2002 14:19:40 -0000
***************
*** 0 ****
--- 1,4 ----
+ # Host ARM running NetBSD
+ NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o
+ XM_FILE=xm-nbsd.h
+ NAT_FILE=nm-nbsdelf.h
Index: config/arm/nbsdelf.mt
===================================================================
RCS file: config/arm/nbsdelf.mt
diff -N config/arm/nbsdelf.mt
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- config/arm/nbsdelf.mt 15 May 2002 14:19:40 -0000
***************
*** 0 ****
--- 1,2 ----
+ # Target: ARM running NetBSD
+ TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o solib-legacy.o
Index: config/arm/nm-nbsdelf.h
===================================================================
RCS file: config/arm/nm-nbsdelf.h
diff -N config/arm/nm-nbsdelf.h
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- config/arm/nm-nbsdelf.h 15 May 2002 14:19:40 -0000
***************
*** 0 ****
--- 1,28 ----
+ /* Native-dependent definitions for ARM running NetBSD/ELF, for GDB.
+ Copyright 2002
+ Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+ #ifndef NM_ARM_NBSDELF_H
+ #define NM_ARM_NBSDELF_H
+
+ #define SVR4_SHARED_LIBS
+ #include <nm-nbsd.h>
+
+ #endif /* NM_ARM_NBSDELF_H */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH/RFC] ARM Add netbsd-elf hosting support
2002-05-15 7:35 [PATCH/RFC] ARM Add netbsd-elf hosting support Richard Earnshaw
@ 2002-05-15 7:53 ` Jason R Thorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason R Thorpe @ 2002-05-15 7:53 UTC (permalink / raw)
To: Richard.Earnshaw; +Cc: gdb-patches
On Wed, May 15, 2002 at 03:34:12PM +0100, Richard Earnshaw wrote:
> Patch below adds support for building GDB native on an arm-netbsdelf
> platform.
>
> If there are no objections I'll commit this in a few days.
Looks fine. Thanks!
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-15 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-15 7:35 [PATCH/RFC] ARM Add netbsd-elf hosting support Richard Earnshaw
2002-05-15 7:53 ` Jason R Thorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox